🐛 修复付款申请比例联动后申请付款金额校验红字残留

This commit is contained in:
刘泉佳
2026-11-10 00:16:13 +08:00
parent d2f756bc21
commit 5f26ba24c6
@@ -1103,6 +1103,8 @@ export default {
); );
this.$nextTick(() => { this.$nextTick(() => {
this.amountSyncing = false; this.amountSyncing = false;
// 程序化赋值不触发校验,需手动重校验以清除/刷新残留错误
this.$refs.formRef?.validateField?.('appliedAmount').catch(() => {});
}); });
}, },
'form.appliedAmount'(value) { 'form.appliedAmount'(value) {
@@ -1132,6 +1134,7 @@ export default {
); );
this.$nextTick(() => { this.$nextTick(() => {
this.amountSyncing = false; this.amountSyncing = false;
this.$refs.formRef?.validateField?.('appliedAmount').catch(() => {});
}); });
}, },
}, },