🐛 修复付款申请比例联动后申请付款金额校验红字残留
This commit is contained in:
@@ -1103,6 +1103,8 @@ export default {
|
||||
);
|
||||
this.$nextTick(() => {
|
||||
this.amountSyncing = false;
|
||||
// 程序化赋值不触发校验,需手动重校验以清除/刷新残留错误
|
||||
this.$refs.formRef?.validateField?.('appliedAmount').catch(() => {});
|
||||
});
|
||||
},
|
||||
'form.appliedAmount'(value) {
|
||||
@@ -1132,6 +1134,7 @@ export default {
|
||||
);
|
||||
this.$nextTick(() => {
|
||||
this.amountSyncing = false;
|
||||
this.$refs.formRef?.validateField?.('appliedAmount').catch(() => {});
|
||||
});
|
||||
},
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user