|
@@ -2707,13 +2707,13 @@ export default {
|
|
|
if (this.dialogWhgenlegList[zhgen].fFeeUnitid === 1) {
|
|
|
qty = this.fQty
|
|
|
} else if (this.dialogWhgenlegList[zhgen].fFeeUnitid === 2) {
|
|
|
- qty = this.fGrossweight
|
|
|
+ qty = (this.fGrossweight/1000).toFixed(2)
|
|
|
} else if (this.dialogWhgenlegList[zhgen].fFeeUnitid === 3) {
|
|
|
- qty = this.fNetweight
|
|
|
+ qty = (this.fNetweight/1000).toFixed(2)
|
|
|
} else if (this.dialogWhgenlegList[zhgen].fFeeUnitid === 4) {
|
|
|
qty = this.fVolumn
|
|
|
}
|
|
|
- qty=(qty/1000).toFixed(2);
|
|
|
+ // qty=(qty/1000).toFixed(2);
|
|
|
let fAmount = parseFloat(Number(this.dialogWhgenlegList[zhgen].fPrice) * Number(qty)).toFixed(2)
|
|
|
if (this.costStatus === 'Cr') {
|
|
|
this.warehouseCrList.push({
|
|
@@ -3519,15 +3519,17 @@ export default {
|
|
|
}
|
|
|
}
|
|
|
if (row.fFeeunitid == "1") {
|
|
|
- this.$set(row, 'fQty', (fQty/1000).toFixed(2))
|
|
|
+ this.$set(row, 'fQty', this.fQty.toFixed(2))
|
|
|
} else if (row.fFeeunitid == "2") {
|
|
|
this.$set(row, 'fQty', (fGrossweight/1000).toFixed(2))
|
|
|
}else if (row.fFeeunitid == "3") {
|
|
|
this.$set(row, 'fQty', (fNetweight/1000).toFixed(2))
|
|
|
- }else if (row.fFeeunitid == "4") {
|
|
|
- this.$set(row, 'fQty', (volumn/1000).toFixed(2))
|
|
|
- }else if (row.fFeeunitid == "5") {
|
|
|
- this.$set(row, 'fQty', (fixed/1000).toFixed(2))
|
|
|
+ // }else if (row.fFeeunitid == "4") {
|
|
|
+ // this.$set(row, 'fQty', (volumn/1000).toFixed(2))
|
|
|
+ // }else if (row.fFeeunitid == "5") {
|
|
|
+ // this.$set(row, 'fQty', (fixed/1000).toFixed(2))
|
|
|
+ }else {
|
|
|
+ this.$set(row, "fQty", 0);
|
|
|
}
|
|
|
if (row.fUnitprice) {
|
|
|
this.$set(row, 'fAmount', parseFloat(Number(row.fUnitprice) * Number(row.fQty)).toFixed(2))
|