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
@@ -486,6 +486,8 @@ export default {
const rows = this.selection;
if (rows.some(row => row.approvalStatus !== 'approved' || row.settlementType !== 'payable'))
return this.$message.warning('仅审批通过的付款结算单允许发起付款申请');
if (rows.some(row => row.adjustStatus === 'adjusted'))
return this.$message.warning('已调整的结算单不可再发起付款,请使用调整后的新单');
const contractIds = new Set(rows.map(row => String(row.contractId || '')));
if (contractIds.size !== 1 || contractIds.has(''))
return this.$message.warning('付款申请必须选择同一个合同的付款结算单');