|
@@ -855,7 +855,7 @@
|
|
addstorageputList(this.weighingList)
|
|
addstorageputList(this.weighingList)
|
|
.toPromise()
|
|
.toPromise()
|
|
.then((response) => {
|
|
.then((response) => {
|
|
-
|
|
|
|
|
|
+ this.weighingList.tare = this.weighingList.tare * 1000
|
|
this.weighingList.warehouseInOutId = response
|
|
this.weighingList.warehouseInOutId = response
|
|
tareEdit(this.weighingList)
|
|
tareEdit(this.weighingList)
|
|
.toPromise()
|
|
.toPromise()
|
|
@@ -876,7 +876,6 @@
|
|
this.weighingList = response
|
|
this.weighingList = response
|
|
this.warehouseCount = Number(this.warehouseCount)+ 1
|
|
this.warehouseCount = Number(this.warehouseCount)+ 1
|
|
this.warehouseCount1 = Number(this.warehouseCount1)+ 1
|
|
this.warehouseCount1 = Number(this.warehouseCount1)+ 1
|
|
- this.weighingList.tare = this.weighingList.tare * 1000
|
|
|
|
this.inspect = JSON.parse(
|
|
this.inspect = JSON.parse(
|
|
JSON.stringify(this.weighingLis)
|
|
JSON.stringify(this.weighingLis)
|
|
)
|
|
)
|
|
@@ -920,6 +919,7 @@
|
|
addstorageputList(this.weighingList)
|
|
addstorageputList(this.weighingList)
|
|
.toPromise()
|
|
.toPromise()
|
|
.then((response) => {
|
|
.then((response) => {
|
|
|
|
+ this.weighingList.tare = this.weighingList.tare * 1000
|
|
this.weighingList.warehouseInOutId = response
|
|
this.weighingList.warehouseInOutId = response
|
|
tareAdd(this.weighingList)
|
|
tareAdd(this.weighingList)
|
|
.toPromise()
|
|
.toPromise()
|
|
@@ -932,7 +932,6 @@
|
|
this.weighingList = response
|
|
this.weighingList = response
|
|
this.warehouseCount = Number(this.warehouseCount)+ 1
|
|
this.warehouseCount = Number(this.warehouseCount)+ 1
|
|
this.warehouseCount1 = Number(this.warehouseCount1)+ 1
|
|
this.warehouseCount1 = Number(this.warehouseCount1)+ 1
|
|
- this.weighingList.tare = this.weighingList.tare * 1000
|
|
|
|
this.inspect = JSON.parse(
|
|
this.inspect = JSON.parse(
|
|
JSON.stringify(this.weighingList)
|
|
JSON.stringify(this.weighingList)
|
|
)
|
|
)
|
|
@@ -1021,6 +1020,13 @@
|
|
addstorageputList(this.weighingList)
|
|
addstorageputList(this.weighingList)
|
|
.toPromise()
|
|
.toPromise()
|
|
.then((response) => {
|
|
.then((response) => {
|
|
|
|
+ this.weighingList.grossWeight =
|
|
|
|
+ this.weighingList.grossWeight * 1000
|
|
|
|
+ this.weighingList.tare = this.weighingList.tare * 1000
|
|
|
|
+ this.weighingList.netWeight =
|
|
|
|
+ this.weighingList.netWeight * 1000
|
|
|
|
+ this.weighingList.buckleMiscellaneous =
|
|
|
|
+ this.weighingList.buckleMiscellaneous * 1000
|
|
this.weighingList.warehouseInOutId = response
|
|
this.weighingList.warehouseInOutId = response
|
|
grossWeight(this.weighingList)
|
|
grossWeight(this.weighingList)
|
|
.toPromise()
|
|
.toPromise()
|
|
@@ -1037,13 +1043,7 @@
|
|
message: '提交成功',
|
|
message: '提交成功',
|
|
type: 'success',
|
|
type: 'success',
|
|
})
|
|
})
|
|
- this.weighingList.grossWeight =
|
|
|
|
- this.weighingList.grossWeight * 1000
|
|
|
|
- this.weighingList.tare = this.weighingList.tare * 1000
|
|
|
|
- this.weighingList.netWeight =
|
|
|
|
- this.weighingList.netWeight * 1000
|
|
|
|
- this.weighingList.buckleMiscellaneous =
|
|
|
|
- this.weighingList.buckleMiscellaneous * 1000
|
|
|
|
|
|
+
|
|
// debugger
|
|
// debugger
|
|
this.inspect = JSON.parse(JSON.stringify(this.weighingList))
|
|
this.inspect = JSON.parse(JSON.stringify(this.weighingList))
|
|
|
|
|