|
|
@@ -34,8 +34,8 @@
|
|
|
<el-option value="不在固定范围" label="不在固定范围"></el-option>
|
|
|
<el-option value="为空" label="为空"></el-option>
|
|
|
</el-select>
|
|
|
- <el-select class="w-350px" v-if="item.name == 'contactPerson'" v-model="item.search" placeholder="请选择"
|
|
|
- clearable :disabled="item.type == '为空'">
|
|
|
+ <el-select class="w-350px" v-if="item.name == 'contactPerson'" v-model="item.search" placeholder="请选择" filterable
|
|
|
+ clearable :disabled="item.type == '为空'" @change="handleContactPersonChange(index, $event)">
|
|
|
<el-option v-for="item in options" :key="item.contactPerson" :value="item.contactPerson"
|
|
|
:label="item.contactPerson"></el-option>
|
|
|
</el-select>
|
|
|
@@ -289,7 +289,11 @@ const initCompany = () => {
|
|
|
}
|
|
|
})
|
|
|
}
|
|
|
-
|
|
|
+ // 对接人改变时 赋值
|
|
|
+ const handleContactPersonChange = (index: number, val: string) => {
|
|
|
+ contactPerson.value = val
|
|
|
+ searchList.value[index].search = val
|
|
|
+ }
|
|
|
//保险公司协议
|
|
|
|
|
|
const initData = () => {
|
|
|
@@ -533,6 +537,13 @@ const handleBack = () => {
|
|
|
}
|
|
|
}
|
|
|
const handleSettlement = () => {
|
|
|
+ if (contactPerson.value == '') {
|
|
|
+ ElMessage({
|
|
|
+ message: '请选择对接人!',
|
|
|
+ type: 'warning'
|
|
|
+ })
|
|
|
+ return
|
|
|
+ }
|
|
|
// 查应收金额
|
|
|
api.financeApi.getPlatformSettlementReceivableAmount({
|
|
|
invoiceType: "5",
|