运费计算修改
This commit is contained in:
parent
3f246e681d
commit
249879c3e9
@ -178,8 +178,8 @@
|
||||
if(JSON.stringify(newVal) == JSON.stringify(oldVal || {})) {
|
||||
return false
|
||||
}
|
||||
// 所有关联入参都有值再 执行自动计算,数据未变化不做计算
|
||||
if(vals.length == vals.filter(v => !!v).length) {
|
||||
// 所有关联入参都有值或者为0再 执行自动计算,数据未变化不做计算
|
||||
if(vals.length == vals.filter(v => (v==0 || !!v)).length) {
|
||||
console.log("====watch cost calcWaybillFee===")
|
||||
this.calcWaybillFee(newVal);
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user