uu
This commit is contained in:
parent
fc58bb15d8
commit
d2593f4c0f
@ -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
|
||||
},
|
||||
|
||||
Loading…
Reference in New Issue
Block a user