lilei 2 năm trước cách đây
mục cha
commit
48347d40e0

+ 4 - 4
src/views/financialManagement/financialCollection/selectGlAllocatModal.vue

@@ -128,7 +128,7 @@ export default {
       showDetailModal: false,
       bizSn: null,
       queryParam: {
-        buyerSn: undefined, //  客户名称
+        targetSn: undefined, //  客户名称
         receiverSn: undefined, // 收货客户
         allocateNo: '' //  调拨单号
       },
@@ -179,7 +179,7 @@ export default {
   },
   methods: {
     custChange (val) {
-      this.queryParam.buyerSn = val.key
+      this.queryParam.targetSn = val.key
     },
     shcustChange (val) {
       this.queryParam.receiverSn = val.key
@@ -215,7 +215,7 @@ export default {
     // 重置
     resetSearchForm (flag) {
       this.queryParam = {
-        buyerSn: undefined, //  客户名称
+        targetSn: undefined, //  客户名称
         receiverSn: undefined, // 收货客户
         allocateNo: '' //  调拨单号
       }
@@ -245,7 +245,7 @@ export default {
         if (this.dealerSn) {
           this.resetSearchForm(1)
           // 回显客户
-          this.queryParam.buyerSn = this.dealerSn
+          this.queryParam.targetSn = this.dealerSn
           this.$nextTick(() => {
             this.$refs.dealerSubareaScopeList.getDetail(this.dealerSn)
             this.$refs.table.refresh(true)