From b3f585ad6527cd3ef2278b9280198a89dd86e125 Mon Sep 17 00:00:00 2001 From: wuxw <928255095@qq.com> Date: Wed, 10 Sep 2025 11:27:19 +0800 Subject: [PATCH] =?UTF-8?q?v1.9=20=E4=BC=98=E5=8C=96=E7=94=B3=E8=AF=B7?= =?UTF-8?q?=E5=BC=80=E7=A5=A8=E9=80=89=E6=8B=A9=E6=98=8E=E7=BB=86=20bug=20?= =?UTF-8?q?=E5=A4=84=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/fee/ownerApplyInvoiceList.vue | 40 ++++++++++++++++++------- 1 file changed, 29 insertions(+), 11 deletions(-) diff --git a/src/views/fee/ownerApplyInvoiceList.vue b/src/views/fee/ownerApplyInvoiceList.vue index c6190b124..77b5a1f93 100644 --- a/src/views/fee/ownerApplyInvoiceList.vue +++ b/src/views/fee/ownerApplyInvoiceList.vue @@ -75,7 +75,14 @@ - + + + @@ -108,7 +115,14 @@ - + + + @@ -231,21 +245,25 @@ export default { this.loadAcctDetails() } }, - handleFeeSelectAll(selection) { - this.formData.detailIds = selection.length - ? this.feeDetails.map(item => item.detailId) - : [] + handleFeeCheckboxChange(detailId, checked) { + if (checked) { + this.formData.detailIds.push(detailId) + } else { + this.formData.detailIds = this.formData.detailIds.filter(id => id !== detailId) + } }, - handleAcctSelectAll(selection) { - this.formData.arIds = selection.length - ? this.acctDetails.map(item => item.arId) - : [] + handleAcctCheckboxChange(arId, checked) { + if (checked) { + this.formData.arIds.push(arId) + } else { + this.formData.arIds = this.formData.arIds.filter(id => id !== arId) + } }, async handleSubmit() { try { // 验证表单 if (!this.formData.ownerId) { - this.$message.warning(this.$t('ownerApplyInvoice.chooseContent')) + this.$message.warning(this.$t('ownerApplyInvoice.chooseOwner')) return }