gjy 1 anno fa
parent
commit
374e25b0c5
1 ha cambiato i file con 2 aggiunte e 1 eliminazioni
  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)