|
@@ -489,7 +489,7 @@
|
|
|
} else if (this.types == 4) {
|
|
|
this.weighingList.flag = 1
|
|
|
}
|
|
|
- grossWeight(this.weighingList)
|
|
|
+ tareEdit(this.weighingList)
|
|
|
.toPromise()
|
|
|
.then((response) => {
|
|
|
this.types = ''
|
|
@@ -544,7 +544,7 @@
|
|
|
} else if (this.types == 4) {
|
|
|
this.weighingList.flag = 1
|
|
|
}
|
|
|
- grossWeight(this.weighingList)
|
|
|
+ tareEdit(this.weighingList)
|
|
|
.toPromise()
|
|
|
.then((response) => {
|
|
|
this.types = ''
|
|
@@ -910,8 +910,6 @@
|
|
|
this.$notify.warning(response)
|
|
|
})
|
|
|
} else {
|
|
|
- console.log(22222)
|
|
|
-
|
|
|
this.weighingList.relationId = this.relationId
|
|
|
this.weighingList.warehouseId = this.warehouseId
|
|
|
this.weighingList.baseId = this.warehouseId
|
|
@@ -1013,7 +1011,6 @@
|
|
|
.catch((response) => {})
|
|
|
}
|
|
|
} else if (this.tpyeNo == 2) {
|
|
|
- this.weighingList.serviceManagementType=2
|
|
|
this.weighingList.secretaryWeigher =
|
|
|
localStorage.getItem('ws-pf_staffName')
|
|
|
this.weighingList.warehouseId = this.warehouseId
|
|
@@ -1358,7 +1355,6 @@
|
|
|
if (!data) return
|
|
|
for (var i = 0; i < this.outContractNo.length; i++) {
|
|
|
if (this.outContractNo[i].contractNo == this.weighingList.contractNo) {
|
|
|
- this.weighingList.goodsName = this.outContractNo[i].goodsName
|
|
|
this.weighingList.goodsName = this.outContractNo[i].goodsName
|
|
|
if (this.weighingList.goodsName == '玉米(潮粮)') {
|
|
|
this.weighingList.type = '潮粮'
|
|
@@ -1394,7 +1390,7 @@
|
|
|
'YKCK' +
|
|
|
this.getTime() +
|
|
|
this.warehouseNo +
|
|
|
- num.substring(num.length - 4,num.length)
|
|
|
+ this.warehouseCount.substring(this.warehouseCount.length - 4)
|
|
|
this.weighingList.buyer = this.outContractNo[i].receiveWarehouse
|
|
|
this.weighingList.seller = this.outContractNo[i].sendWarehouse
|
|
|
this.weighingList.goodsName = data.goodsName
|