Browse Source

处理库存清空问题

wangcz 7 years ago
parent
commit
28645277bc
1 changed files with 7 additions and 1 deletions
  1. 7 1
      components/mobile/center/outOfStorage/otherStorage.vue

+ 7 - 1
components/mobile/center/outOfStorage/otherStorage.vue

@@ -74,6 +74,7 @@
           spec: '',
           qty: '',
           price: '',
+          erpReserve: '',
           showSimilarCodeList: false,
         },
         similarCode:[]
@@ -94,7 +95,8 @@
               pcmpcode: '',
               spec: '',
               qty: '',
-              price: ''
+              price: '',
+              erpReserve: ''
             }
           }
           val.showSimilarCodeList = false
@@ -131,6 +133,7 @@
           spec: '',
           qty: '',
           price: '',
+          erpReserve: '',
           showSimilarCodeList: false,
         })
       },
@@ -152,6 +155,7 @@
                 this.allObj[type].pcmpcode = ''
                 this.allObj[type].spec = ''
                 this.allObj[type].productId = ''
+                this.allObj[type].erpReserve = ''
                 this.onRemind('产品库中没有找到相应产品信息')
               }
               this.allObj[type].showSimilarCodeList = response.data.length > 0
@@ -162,6 +166,7 @@
               this.allObj[type].pcmpcode = ''
               this.allObj[type].spec = ''
               this.allObj[type].productId = ''
+              this.allObj[type].erpReserve = ''
               this.onRemind('产品库中没有找到相应产品信息')
             })
         } else {
@@ -191,6 +196,7 @@
             spec: '',
             qty: '',
             price: '',
+            erpReserve: '',
             showSimilarCodeList: false,
           }
           this.allObj.push(_item)