gjy 1 年之前
父節點
當前提交
374e25b0c5
共有 1 個文件被更改,包括 2 次插入1 次删除
  1. 2 1
      src/views/warehousenew/warehousingOrder.vue

+ 2 - 1
src/views/warehousenew/warehousingOrder.vue

@@ -1022,6 +1022,7 @@ export default {
       
     },
     binNumberchange(e,item,index){
+      this.rollweight=0
       for (let i = 0; i < this.binNumberList.length; i++) {
         if(this.binNumberList[i].binNumber==e){
           item.positionId=this.binNumberList[i].id
@@ -1034,7 +1035,7 @@ export default {
           item.goodsweight=this.binNumberList[i].goodsweight
         }
       }
-      this.rollweight=0
+      
       for (let i = 0; i < this.rolloutData.cargoPositionDetailsList.length; i++) {
         if(this.rolloutData.cargoPositionDetailsList[i].weight){
           this.rollweight+=Number(this.rolloutData.cargoPositionDetailsList[i].weight)