fix: 付款申请拦截已调整结算单并过滤候选列表

This commit is contained in:
刘泉佳
2026-10-29 02:15:57 +08:00
parent 6119c44394
commit ea6ec13ea4
2 changed files with 4 additions and 1 deletions
@@ -2702,7 +2702,8 @@ export default {
this.referenceParams('formal')
);
const data = this.unwrapData(response) || {};
const records = data.records || [];
// 已调整的结算单为调整重推后的归档原单,金额已作废,不可再发起付款
const records = (data.records || []).filter(row => row.adjustStatus !== 'adjusted');
this.formalRows = await this.fillReferencePayableAmounts(records, 'settlement_payment');
this.formalPage.total = Number(data.total || 0);
} finally {