gjy 3 jaren geleden
bovenliggende
commit
dc83191394
1 gewijzigde bestanden met toevoegingen van 19 en 8 verwijderingen
  1. 19 8
      src/views/houseSelfCollect/newWeighingManagement.vue

+ 19 - 8
src/views/houseSelfCollect/newWeighingManagement.vue

@@ -1400,14 +1400,25 @@
                       id: this.weighingList.warehouseInOutId
                     }).toPromise().then((response) => {
                       that.inOutDate = response
-                      that.inOutDate.statusFlag = 3
-                      that.inOutDate.grossWeight=warehousing.grossWeight /1000
-                      that.inOutDate.tare=warehousing.tare /1000
-                      that.inOutDate.netWeight=warehousing.netWeight /1000
-                      that.inOutDate.pureWeight=warehousing.pureWeight /1000
-                      that.inOutDate.deductionAmount= Number(warehousing.deductionAmount) * 1000
-                      that.inOutDate.deductionWeight=warehousing.deductionWeight /1000
-                      that.inOutDate.inOutFlag = 2
+                      that.$set(that.inOutDate,'statusFlag',3)
+                      that.$set(that.inOutDate,'grossWeight',warehousing.grossWeight /1000)
+                      that.$set(that.inOutDate,'tare',warehousing.grossWeight /1000)
+                      that.$set(that.inOutDate,'netWeight',warehousing.netWeight /1000)
+
+                      // that.$set(that.inOutDate,'pureWeight',warehousing.pureWeight /1000)
+                      that.$set(that.inOutDate,'deductionAmount',Number(warehousing.deductionAmount) * 1000)
+                      that.$set(that.inOutDate,'deductionWeight',warehousing.deductionWeight /1000)
+                      that.$set(that.inOutDate,'inOutFlag',2)
+                      // that.inOutDate = response
+                      // that.$set(that.inOutDate)
+                      // .statusFlag = 3
+                      // that.inOutDate.grossWeight=warehousing.grossWeight /1000
+                      // that.inOutDate.tare=warehousing.tare /1000
+                      // that.inOutDate.netWeight=warehousing.netWeight /1000
+                      // that.inOutDate.pureWeight=warehousing.pureWeight /1000
+                      // that.inOutDate.deductionAmount= Number(warehousing.deductionAmount) * 1000
+                      // that.inOutDate.deductionWeight=warehousing.deductionWeight /1000
+                      // that.inOutDate.inOutFlag = 2
                       console.log(that.inOutDate)
                       // warehousing.inOutTypeKey = that.weighingList.inOutTypeKey
                       // warehousing.inOutType = that.weighingList.inOutType