|
@@ -1404,7 +1404,8 @@
|
|
var warehousing = {}
|
|
var warehousing = {}
|
|
//贸易入库保存需要再走入库接口
|
|
//贸易入库保存需要再走入库接口
|
|
if (this.inWarehouseType == 1) {
|
|
if (this.inWarehouseType == 1) {
|
|
- warehousing = this.weighingList
|
|
|
|
|
|
+ warehousing = JSON.parse(JSON.stringify(this.weighingList))
|
|
|
|
+ // warehousing = this.weighingList
|
|
warehousing.secretaryWeigher = localStorage.getItem('ws-pf_staffName')
|
|
warehousing.secretaryWeigher = localStorage.getItem('ws-pf_staffName')
|
|
warehousing.compId = localStorage.getItem('ws-pf_compId')
|
|
warehousing.compId = localStorage.getItem('ws-pf_compId')
|
|
warehousing.inOutFlag = 2
|
|
warehousing.inOutFlag = 2
|
|
@@ -1487,7 +1488,7 @@
|
|
warehousing.deductionWeight /= 1000
|
|
warehousing.deductionWeight /= 1000
|
|
warehousing.statusFlag = 1
|
|
warehousing.statusFlag = 1
|
|
warehousing.inOutFlag =
|
|
warehousing.inOutFlag =
|
|
- warehousing.id = warehousing.warehouseInOutId
|
|
|
|
|
|
+ warehousing.id = warehousing.warehouseInOutId
|
|
warehousing.warehouseInOutDetail.id = warehousing.inOutDetailId
|
|
warehousing.warehouseInOutDetail.id = warehousing.inOutDetailId
|
|
addstorageputList(warehousing).toPromise().then((response) => {
|
|
addstorageputList(warehousing).toPromise().then((response) => {
|
|
if (response == 'OK') {
|
|
if (response == 'OK') {
|