|
@@ -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) => {})
|