From ea6ec13ea40aa48108389e8522af897b7754ccc8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=88=98=E6=B3=89=E4=BD=B3?= <1107186916@qq.com> Date: Thu, 29 Oct 2026 02:15:57 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BB=98=E6=AC=BE=E7=94=B3=E8=AF=B7?= =?UTF-8?q?=E6=8B=A6=E6=88=AA=E5=B7=B2=E8=B0=83=E6=95=B4=E7=BB=93=E7=AE=97?= =?UTF-8?q?=E5=8D=95=E5=B9=B6=E8=BF=87=E6=BB=A4=E5=80=99=E9=80=89=E5=88=97?= =?UTF-8?q?=E8=A1=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/payment/payment-application-form.vue | 3 ++- src/views/settlement/formal-settlement.vue | 2 ++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/src/views/payment/payment-application-form.vue b/src/views/payment/payment-application-form.vue index 3e91449..21e0711 100644 --- a/src/views/payment/payment-application-form.vue +++ b/src/views/payment/payment-application-form.vue @@ -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 { diff --git a/src/views/settlement/formal-settlement.vue b/src/views/settlement/formal-settlement.vue index 3c7926c..eb7bc38 100644 --- a/src/views/settlement/formal-settlement.vue +++ b/src/views/settlement/formal-settlement.vue @@ -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('付款申请必须选择同一个合同的付款结算单');