lilei 3 jaren geleden
bovenliggende
commit
43d96c77f4

+ 2 - 0
src/views/allocationManagement/transferOut/list.vue

@@ -269,6 +269,8 @@ export default {
       this.queryParam.checkStatus = undefined
       this.queryParam.printState = undefined
       this.queryParam.allocateNo = ''
+      this.queryParam.receiverSn = undefined
+      this.$refs.receiverSn.resetForm()
       this.$refs.table.refresh(true)
     },
     //  基本信息  保存

+ 3 - 3
src/views/allocationManagement/transfersPrint/list.vue

@@ -207,8 +207,7 @@ export default {
   },
   methods: {
     custChange (val) {
-      this.form.receiverSn = val.key || ''
-      this.form.receiverName = val.name || ''
+      this.queryParam.receiverSn = val.key || ''
     },
     changeTab (v) {
       this.currentTab = v
@@ -229,7 +228,8 @@ export default {
       this.queryParam.state = undefined
       this.queryParam.allocateNo = ''
       this.queryParam.receiverName = ''
-      this.queryParam.receiverSn = ''
+      this.queryParam.receiverSn = undefined
+      this.$refs.receiverSn.resetForm()
       this.queryParam.printState = this.currentTab == 2 ? 'NO_PRINT' : undefined
       this.$refs.table.refresh(true)
     },