|
@@ -9163,6 +9163,9 @@ export default {
|
|
rows.splice(index, 1)
|
|
rows.splice(index, 1)
|
|
},
|
|
},
|
|
wDeleteRow(index, rows) {
|
|
wDeleteRow(index, rows) {
|
|
|
|
+ if(this.warehouseDrList&&this.warehouseDrList.length>0){
|
|
|
|
+ return this.$message.error('收款信息中存在数据,请删除仓储费明细后,继续操作')
|
|
|
|
+ }
|
|
rows.splice(index, 1)
|
|
rows.splice(index, 1)
|
|
this.sumMum = 0
|
|
this.sumMum = 0
|
|
this.detailList.map((e) => {
|
|
this.detailList.map((e) => {
|
|
@@ -9384,7 +9387,7 @@ export default {
|
|
if (row.fQty) {
|
|
if (row.fQty) {
|
|
fQty = row.fQty
|
|
fQty = row.fQty
|
|
}
|
|
}
|
|
- this.$set(row, 'fAmount', Number(fUnitprice) * Number(fQty)).toFixed(2)
|
|
|
|
|
|
+ this.$set(row, 'fAmount', (Number(fUnitprice) * Number(fQty)).toFixed(2))
|
|
},
|
|
},
|
|
// 变更计价单位
|
|
// 变更计价单位
|
|
changeFeeUnit(row) {
|
|
changeFeeUnit(row) {
|
|
@@ -9407,8 +9410,7 @@ export default {
|
|
if (row.fUnitprice) {
|
|
if (row.fUnitprice) {
|
|
this.$set(
|
|
this.$set(
|
|
row,
|
|
row,
|
|
- 'fAmount',
|
|
|
|
- parseFloat(Number(row.fUnitprice) * Number(row.fQty)).toFixed(2)
|
|
|
|
|
|
+ 'fAmount',(Number(row.fUnitprice) * Number(row.fQty)).toFixed(2)
|
|
)
|
|
)
|
|
}
|
|
}
|
|
},
|
|
},
|
|
@@ -9944,7 +9946,7 @@ export default {
|
|
this.allDrAmount = Number(this.allDrAmount) + Number(item.fAmount)
|
|
this.allDrAmount = Number(this.allDrAmount) + Number(item.fAmount)
|
|
this.allTaxAmount = this.allTaxAmount.toSuperFixed(2)
|
|
this.allTaxAmount = this.allTaxAmount.toSuperFixed(2)
|
|
this.allExclTax = this.allExclTax.toSuperFixed(2)
|
|
this.allExclTax = this.allExclTax.toSuperFixed(2)
|
|
- this.allDrAmount = this.allDrAmount.toSuperFixed(2)
|
|
|
|
|
|
+ this.allDrAmount = this.allDrAmount.toSuperFixed(3)
|
|
})
|
|
})
|
|
this.nowTime = new Date().toLocaleDateString()
|
|
this.nowTime = new Date().toLocaleDateString()
|
|
for (let corp in this.fMblnoOptions) {
|
|
for (let corp in this.fMblnoOptions) {
|