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'] = formType.value != 'create'
}
if (it.field == 'convertPeople') {
it.options = props.userOptions.map((it) => ({ ...it, name: it.nickname }))
}
})
return [
...newSchema,

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

Loading…
Cancel
Save