Browse Source

贸易入库检斤修改

zhongtianhaoyuan 3 years ago
parent
commit
a5db64900d
1 changed files with 4 additions and 4 deletions
  1. 4 4
      src/views/houseSelfCollect/newWeighingManagement.vue

+ 4 - 4
src/views/houseSelfCollect/newWeighingManagement.vue

@@ -1306,8 +1306,8 @@
                                 warehousing.deductionWeight /= 1000
                                 warehousing.statusFlag = 1
                                 warehousing.inOutFlag =
-                                  warehousing.id = warehousing.warehouseInOutId
-                                   warehousing.warehouseInOutDetail.id = warehousing.warehouseInOutId
+                                warehousing.id = warehousing.warehouseInOutId
+                                 warehousing.warehouseInOutDetail.id = warehousing.inOutDetailId
                                 addstorageputList(warehousing).toPromise().then((response) => {
                                   if (response == 'OK') {
                                     this.getList()
@@ -1346,7 +1346,7 @@
                       warehousing.inOutFlag = 2
                       delete warehousing.status
                       warehousing.id = warehousing.warehouseInOutId
-                      warehousing.warehouseInOutDetail.id = warehousing.warehouseInOutId
+                      warehousing.warehouseInOutDetail.id = warehousing.inOutDetailId
                       addstorageputList(warehousing).toPromise().then((response) => {
                         if (response == 'OK') {
                           this.getList()
@@ -1414,7 +1414,7 @@
                       warehousing.inOutType = that.weighingList.inOutType
                       warehousing.deductionAmount = that.weighingList.deductionAmount
                       warehousing.id = warehousing.warehouseInOutId
-                       warehousing.warehouseInOutDetail.id = warehousing.warehouseInOutId
+                        warehousing.warehouseInOutDetail.id = warehousing.inOutDetailId
                       // delete that.inOutDate.status
                       that.inOutDate = Object.assign(that.inOutDate, warehousing)
                       addstorageputList(that.inOutDate).toPromise().then((response) => {})