chenrui 4 lat temu
rodzic
commit
24c2727a2f

+ 5 - 5
src/views/salesManagement/urgentItemsOffset/list.vue

@@ -12,14 +12,14 @@
           <a-col :md="6" :sm="24">
             <a-form-item label="客户名称">
               <a-select
-                id="urgentItemsOffsetList-buyerName"
+                id="urgentItemsOffsetList-buyerSn"
                 placeholder="请选择"
                 allowClear
-                v-model="queryParam.buyerName"
+                v-model="queryParam.buyerSn"
                 :showSearch="true"
                 option-filter-prop="children"
                 :filter-option="filterOption">
-                <a-select-option v-for="item in custAllList" :key="item.customerSn" :value="item.customerName">{{ item.customerName }}</a-select-option>
+                <a-select-option v-for="item in custAllList" :key="item.customerSn" :value="item.customerSn">{{ item.customerName }}</a-select-option>
               </a-select>
             </a-form-item>
           </a-col>
@@ -89,7 +89,7 @@ export default {
       queryParam: { //  查询条件
         beginDate: '',
         endDate: '',
-        buyerName: undefined, //  客户名称
+        buyerSn: undefined, //  客户名称
         salesBillNo: '', //  销售单号
         urgentBillNo: '', //  急件单号
         status: undefined //  状态
@@ -141,7 +141,7 @@ export default {
       this.$refs.rangeDate.resetDate()
       this.queryParam.beginDate = ''
       this.queryParam.endDate = ''
-      this.queryParam.buyerName = undefined
+      this.queryParam.buyerSn = undefined
       this.queryParam.salesBillNo = ''
       this.queryParam.urgentBillNo = ''
       this.queryParam.status = undefined