uu
This commit is contained in:
parent
fc58bb15d8
commit
d2593f4c0f
@ -195,6 +195,7 @@
|
|||||||
methods: {
|
methods: {
|
||||||
handleDelFee(index) {
|
handleDelFee(index) {
|
||||||
this.modelInfo.feeItems.splice(index, 1)
|
this.modelInfo.feeItems.splice(index, 1)
|
||||||
|
this.calteFreight()
|
||||||
},
|
},
|
||||||
handleAddFee(val) {
|
handleAddFee(val) {
|
||||||
this.costModal.show = {}
|
this.costModal.show = {}
|
||||||
@ -211,10 +212,6 @@
|
|||||||
|
|
||||||
},
|
},
|
||||||
handleRlFeeChange(item, val){
|
handleRlFeeChange(item, val){
|
||||||
// 手动添加,需要更新应收
|
|
||||||
if(item.blAutoGen == 0) {
|
|
||||||
item.fee = val
|
|
||||||
}
|
|
||||||
setTimeout(()=> {
|
setTimeout(()=> {
|
||||||
this.calteFreight()
|
this.calteFreight()
|
||||||
}, 500)
|
}, 500)
|
||||||
@ -245,7 +242,7 @@
|
|||||||
calteFreight(){
|
calteFreight(){
|
||||||
let total = 0
|
let total = 0
|
||||||
this.modelInfo.feeItems.map(t=> {
|
this.modelInfo.feeItems.map(t=> {
|
||||||
total += (+t.realFee)
|
total += (+(t.realFee || 0))
|
||||||
})
|
})
|
||||||
this.modelInfo.freight = total
|
this.modelInfo.freight = total
|
||||||
},
|
},
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user