From a7628477cb54459bc5518b498a4e91f02b0cb244 Mon Sep 17 00:00:00 2001 From: wuteng <419274783@qq.com> Date: Tue, 27 Jan 2026 18:35:50 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8F=91=E7=A5=A8=E4=BD=9C=E5=BA=9F=E7=94=B3?= =?UTF-8?q?=E8=AF=B7=EF=BC=8C=E7=BC=93=E5=AD=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../emisWaybillAjustApply/InvoiceCancellationForm.vue | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/src/views/emis/emisWaybillAjustApply/InvoiceCancellationForm.vue b/src/views/emis/emisWaybillAjustApply/InvoiceCancellationForm.vue index 5656b138..877ff2d0 100644 --- a/src/views/emis/emisWaybillAjustApply/InvoiceCancellationForm.vue +++ b/src/views/emis/emisWaybillAjustApply/InvoiceCancellationForm.vue @@ -70,7 +70,7 @@ export default { }, data() { return { - isFormDisabled: null, + // isFormDisabled: null, form: {}, invoiceList: [], fileList: [], @@ -106,9 +106,14 @@ export default { created() { this.initData(); }, + computed: { + isFormDisabled() { + return this.openType === "view"; + } + }, methods: { async initData() { - this.isFormDisabled = (this.openType === "view"); // 查看详情时,表单禁用 + // this.isFormDisabled = (this.openType === "view"); // 查看详情时,表单禁用 if (this.id) { let res = await getEmisInvoiceCancellation(this.id); let data= res.data || {};