From 1459ce3460c5ec6461e104cfd0351f300cf6b56f Mon Sep 17 00:00:00 2001 From: hwj Date: Fri, 22 May 2026 11:34:26 +0800 Subject: [PATCH] =?UTF-8?q?style=EF=BC=9A=E6=A8=A1=E6=9D=BF=E7=AE=A1?= =?UTF-8?q?=E7=90=86-=E7=BC=96=E8=BE=91-=E6=A8=A1=E6=9D=BF=E7=B1=BB?= =?UTF-8?q?=E5=9E=8B/=E6=A8=A1=E6=9D=BF=E5=88=86=E7=B1=BB=E5=9B=9E?= =?UTF-8?q?=E6=98=BE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/mes/printTemplate/PrintTemplateForm.vue | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/views/mes/printTemplate/PrintTemplateForm.vue b/src/views/mes/printTemplate/PrintTemplateForm.vue index e692aebc..c32eeff6 100644 --- a/src/views/mes/printTemplate/PrintTemplateForm.vue +++ b/src/views/mes/printTemplate/PrintTemplateForm.vue @@ -98,7 +98,11 @@ const open = async (type: string, id?: number, bizType?: string) => { if (id) { formLoading.value = true try { - formData.value = await PrintTemplateApi.getPrintTemplate(id) + const res = await PrintTemplateApi.getPrintTemplate(id) + formData.value = { + ...res, + templateBizType: String(res.templateBizType), + } } finally { formLoading.value = false }