pull/2/head
qsh 4 months ago
parent 2be616917e
commit 8d9c426773
  1. 3
      src/views/Clue/Pool/Comp/DialogClue.vue
  2. 26
      src/views/Clue/Pool/Comp/DialogSuccess.vue

@ -167,6 +167,9 @@ const formSchema = computed(() => {
it.componentProps['disabled-date'] = dateAfterToday it.componentProps['disabled-date'] = dateAfterToday
it.componentProps['disabled'] = formType.value != 'create' it.componentProps['disabled'] = formType.value != 'create'
} }
if (it.field == 'convertPeople') {
it.options = props.userOptions.map((it) => ({ ...it, name: it.nickname }))
}
}) })
return [ return [
...newSchema, ...newSchema,

@ -102,27 +102,9 @@
</el-radio-group> </el-radio-group>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="8" :offset="0"> <el-col :span="8" :offset="0" v-if="appStore.getAppInfo?.instanceType == 1">
<el-form-item <el-form-item label="接待人" prop="receiver">
v-if="appStore.getAppInfo?.instanceType == 1" <el-select v-model="form.receiver" placeholder="选择接待人" clearable filterable>
label="接待人"
prop="jiedairen"
>
<el-select v-model="form.jiedairen" placeholder="选择接待人" clearable filterable>
<el-option
v-for="item in userOptions"
:key="item.id"
:label="item.nickname"
:value="item.id"
/>
</el-select>
</el-form-item>
<el-form-item
v-else-if="appStore.getAppInfo?.instanceType == 2"
label="线索转化人"
prop="zhuanhuaren"
>
<el-select v-model="form.zhuanhuaren" placeholder="选择接待人" clearable filterable>
<el-option <el-option
v-for="item in userOptions" v-for="item in userOptions"
:key="item.id" :key="item.id"
@ -423,7 +405,7 @@ function resetForm(id) {
payAmount: 0, payAmount: 0,
remark: undefined, remark: undefined,
isCompanyReceipts: appStore.getAppInfo?.instanceType == 2, isCompanyReceipts: appStore.getAppInfo?.instanceType == 2,
jiedairen: undefined, receiver: undefined,
extraPay: [], extraPay: [],
signProducts: [] signProducts: []
} }

Loading…
Cancel
Save