|
@@ -460,7 +460,6 @@
|
|
})
|
|
})
|
|
},
|
|
},
|
|
closePrint() {
|
|
closePrint() {
|
|
- debugger
|
|
|
|
this.isShowPrint = false
|
|
this.isShowPrint = false
|
|
},
|
|
},
|
|
printSmall() {
|
|
printSmall() {
|
|
@@ -936,10 +935,11 @@
|
|
this.weighingList.baseId = this.warehouseId
|
|
this.weighingList.baseId = this.warehouseId
|
|
this.weighingList.skinInspector =
|
|
this.weighingList.skinInspector =
|
|
localStorage.getItem('ws-pf_staffName')
|
|
localStorage.getItem('ws-pf_staffName')
|
|
- if (this.weighingList.id) {
|
|
|
|
- this.weighingList.id = this.weighingList.warehouseInOutId
|
|
|
|
- this.weighingList.warehouseInOutDetail.id = this.weighingList.warehouseInOutId
|
|
|
|
- addstorageputList(this.weighingList)
|
|
|
|
|
|
+ if (this.weighingList.id) {
|
|
|
|
+ var weighingList1 = JSON.parse(JSON.stringify(this.weighingList))
|
|
|
|
+ weighingList1.id = this.weighingList.warehouseInOutId
|
|
|
|
+ weighingList1.warehouseInOutDetail.id = this.weighingList.inOutDetailId
|
|
|
|
+ addstorageputList(weighingList1)
|
|
.toPromise()
|
|
.toPromise()
|
|
.then((response) => {
|
|
.then((response) => {
|
|
this.weighingList.tare = this.weighingList.tare * 1000
|
|
this.weighingList.tare = this.weighingList.tare * 1000
|
|
@@ -1001,9 +1001,10 @@
|
|
this.weighingList.relationId = this.relationId
|
|
this.weighingList.relationId = this.relationId
|
|
this.weighingList.warehouseId = this.warehouseId
|
|
this.weighingList.warehouseId = this.warehouseId
|
|
this.weighingList.baseId = this.warehouseId
|
|
this.weighingList.baseId = this.warehouseId
|
|
- this.weighingList.id = this.weighingList.warehouseInOutId
|
|
|
|
- this.weighingList.warehouseInOutDetail.id = this.weighingList.warehouseInOutId
|
|
|
|
- addstorageputList(this.weighingList)
|
|
|
|
|
|
+ var weighingList1 = JSON.parse(JSON.stringify(this.weighingList))
|
|
|
|
+ weighingList1.id = this.weighingList.warehouseInOutId
|
|
|
|
+ weighingList1.warehouseInOutDetail.id = this.weighingList.inOutDetailId
|
|
|
|
+ addstorageputList(weighingList1)
|
|
.toPromise()
|
|
.toPromise()
|
|
.then((response) => {
|
|
.then((response) => {
|
|
this.weighingList.tare = this.weighingList.tare * 1000
|
|
this.weighingList.tare = this.weighingList.tare * 1000
|
|
@@ -1104,9 +1105,10 @@
|
|
localStorage.getItem('ws-pf_staffName')
|
|
localStorage.getItem('ws-pf_staffName')
|
|
this.weighingList.warehouseId = this.warehouseId
|
|
this.weighingList.warehouseId = this.warehouseId
|
|
this.weighingList.baseId = this.warehouseId
|
|
this.weighingList.baseId = this.warehouseId
|
|
- this.weighingList.id = this.weighingList.warehouseInOutId
|
|
|
|
- this.weighingList.warehouseInOutDetail.id = this.weighingList.warehouseInOutId
|
|
|
|
- addstorageputList(this.weighingList)
|
|
|
|
|
|
+ var weighingList1 = JSON.parse(JSON.stringify(this.weighingList))
|
|
|
|
+ weighingList1.id = this.weighingList.warehouseInOutId
|
|
|
|
+ weighingList1.warehouseInOutDetail.id = this.weighingList.inOutDetailId
|
|
|
|
+ addstorageputList(weighingList1)
|
|
.toPromise()
|
|
.toPromise()
|
|
.then((response) => {
|
|
.then((response) => {
|
|
this.weighingList.grossWeight =
|
|
this.weighingList.grossWeight =
|