|
@@ -638,7 +638,8 @@
|
|
) {
|
|
) {
|
|
//累计售粮超上限不能完成毛检保存
|
|
//累计售粮超上限不能完成毛检保存
|
|
let count = (this.purchasePriceList[i].saleLimit - response / 1000).toFixed(2)
|
|
let count = (this.purchasePriceList[i].saleLimit - response / 1000).toFixed(2)
|
|
- console.log(this.weighingList.grossWeight / 1000, '毛重转吨')
|
|
|
|
|
|
+ // console.log(this.weighingList.grossWeight / 1000, '毛重转吨')
|
|
|
|
+ this.weighingList.grossWeight/=1000
|
|
if (count - this.weighingList.grossWeight / 1000 < 0) {
|
|
if (count - this.weighingList.grossWeight / 1000 < 0) {
|
|
this.$alert(
|
|
this.$alert(
|
|
'该客户累计销售' +
|
|
'该客户累计销售' +
|
|
@@ -678,6 +679,12 @@
|
|
}
|
|
}
|
|
})
|
|
})
|
|
} else if (this.tpyeNo == 2) {
|
|
} else if (this.tpyeNo == 2) {
|
|
|
|
+ this.weighingList.grossWeight/=1000
|
|
|
|
+ this.weighingList.tare/=1000
|
|
|
|
+ if(this.weighingList.buckleMiscellaneous){
|
|
|
|
+ this.weighingList.buckleMiscellaneous/=1000
|
|
|
|
+ }
|
|
|
|
+ this.weighingList.netWeight/=1000
|
|
this.weighingList.warehouseId = this.warehouseId;
|
|
this.weighingList.warehouseId = this.warehouseId;
|
|
(this.weighingList.skinInspector =
|
|
(this.weighingList.skinInspector =
|
|
sessionStorage.getItem('ws-pf_staffName')),
|
|
sessionStorage.getItem('ws-pf_staffName')),
|