فهرست منبع

修改毛重皮重清空问题

ccjgmwz 3 سال پیش
والد
کامیت
fe858d681a
2فایلهای تغییر یافته به همراه4 افزوده شده و 2 حذف شده
  1. 2 2
      src/views/houseSelfCollect/acquisitionManagement.vue
  2. 2 0
      src/views/houseSelfCollect/weightCheck.vue

+ 2 - 2
src/views/houseSelfCollect/acquisitionManagement.vue

@@ -165,7 +165,7 @@ export default {
       console.log(`当前页: ${val}`)
       console.log(`当前页: ${val}`)
       this.getList()
       this.getList()
     },
     },
-    warehouseChange(e) {
+    warehouseChange(e) {debugger
       for (let i = 0; i < this.warehouseList.length; i++) {
       for (let i = 0; i < this.warehouseList.length; i++) {
         if (this.warehouseList[i].id == this.selectVal) {
         if (this.warehouseList[i].id == this.selectVal) {
           sessionStorage.setItem(
           sessionStorage.setItem(
@@ -223,7 +223,7 @@ export default {
         compId: this.compId
         compId: this.compId
       })
       })
         .toPromise()
         .toPromise()
-        .then(response => {
+        .then(response => {debugger
           this.warehouseList = response
           this.warehouseList = response
           // if(this.userJurisdiction){
           // if(this.userJurisdiction){
           //   this.warehouseList.unshift({warehouseName:response[0].flag})
           //   this.warehouseList.unshift({warehouseName:response[0].flag})

+ 2 - 0
src/views/houseSelfCollect/weightCheck.vue

@@ -369,6 +369,8 @@
         }
         }
       },
       },
       tabClick(val) {
       tabClick(val) {
+        this.carWeightInfo.carNumber = ''
+        this.weighingList = []
         this.index = val
         this.index = val
         if (this.information == '皮重') {
         if (this.information == '皮重') {
           this.information = '毛重'
           this.information = '毛重'