|
|
@@ -1,7 +1,7 @@
|
|
|
<template>
|
|
|
<div v-if="form.customId == 0" style="text-align:center;margin-top:30px;">
|
|
|
<span style="font-size:20px;">搜索客户:</span>
|
|
|
- <el-select @change="searchSelectCustom" v-model="selectCustomName" filterable remote reserve-keyword placeholder="搜索客户,光标插入 Ctrl + C" clearable ref="customref"
|
|
|
+ <el-select @change="selectCustomFn" v-model="selectCustomName" filterable remote reserve-keyword placeholder="搜索客户,光标插入 Ctrl + C" clearable ref="customref"
|
|
|
:remote-method="searchCustomInfo" :loading="loading" style="width:400px;margin-left:20px;" size="big">
|
|
|
<el-option v-for="item in customInfoList" :key="item.id" :label="`${item.name}`" :value="item"></el-option>
|
|
|
</el-select>
|
|
|
@@ -418,7 +418,7 @@ export default {
|
|
|
this.$refs.customref.focus()
|
|
|
})
|
|
|
},
|
|
|
- searchSelectCustom(e){
|
|
|
+ selectCustomFn(e){
|
|
|
if(e.id && e.name){
|
|
|
let that = this
|
|
|
setTimeout(function(){
|