shish 2 лет назад
Родитель
Сommit
f98f7acc95
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      ghs/src/views/order/add.vue

+ 2 - 2
ghs/src/views/order/add.vue

@@ -1,7 +1,7 @@
 <template>
 <template>
   <div v-if="form.customId == 0" style="text-align:center;margin-top:30px;">
   <div v-if="form.customId == 0" style="text-align:center;margin-top:30px;">
     <span style="font-size:20px;">搜索客户:</span>
     <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">
 				: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-option v-for="item in customInfoList" :key="item.id" :label="`${item.name}`" :value="item"></el-option>
   				</el-select>
   				</el-select>
@@ -418,7 +418,7 @@ export default {
         this.$refs.customref.focus()
         this.$refs.customref.focus()
       })
       })
     },
     },
-    searchSelectCustom(e){
+    selectCustomFn(e){
       if(e.id && e.name){
       if(e.id && e.name){
         let that = this
         let that = this
         setTimeout(function(){
         setTimeout(function(){