Commit 2611d0c0 authored by jingnan's avatar jingnan 👀

第三联背面计算时清除数据为联动修改bug处理

parent bc4abd3a
......@@ -257,20 +257,20 @@ export default {
},
lossValue: {
handler(v) {
if (v) {
this.form.lossValue = v
if (this.form.subMaterialLossValue) {
this.form.totalLossValue = Number(v) + Number(this.form.subMaterialLossValue)
}
}
// if (v) {
this.form.lossValue = v
// if (this.form.subMaterialLossValue) {
this.form.totalLossValue = Number(v) + Number(this.form.subMaterialLossValue)
// }
// }
},
deep: true
},
'form.subMaterialLossValue': {
handler(v) {
if (v && this.lossValue) {
this.form.totalLossValue = Number(v) + Number(this.lossValue)
}
// if (v && this.lossValue) {
this.form.totalLossValue = Number(v) + Number(this.lossValue)
// }
},
deep: true
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment