This commit is contained in:
aihe 2024-06-11 13:15:01 +08:00
parent fc58bb15d8
commit d2593f4c0f

View File

@ -195,6 +195,7 @@
methods: {
handleDelFee(index) {
this.modelInfo.feeItems.splice(index, 1)
this.calteFreight()
},
handleAddFee(val) {
this.costModal.show = {}
@ -211,10 +212,6 @@
},
handleRlFeeChange(item, val){
// 手动添加,需要更新应收
if(item.blAutoGen == 0) {
item.fee = val
}
setTimeout(()=> {
this.calteFreight()
}, 500)
@ -245,7 +242,7 @@
calteFreight(){
let total = 0
this.modelInfo.feeItems.map(t=> {
total += (+t.realFee)
total += (+(t.realFee || 0))
})
this.modelInfo.freight = total
},