From 88995eee946d7b61513e076e3faf3845ba3827ca Mon Sep 17 00:00:00 2001 From: doublekou <951513186@qq.com> Date: Mon, 23 Oct 2023 17:10:52 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=9D=E5=AE=A1=E5=91=98=E5=88=86=E5=8F=91?= =?UTF-8?q?=E6=95=B0=E9=87=8F=E4=B8=8D=E8=B6=B3=E6=8F=90=E7=A4=BA=E6=8D=A2?= =?UTF-8?q?=E8=A1=8C=E6=98=BE=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../geopoliticalCustomers/geopoliticalCustomersModal.vue | 3 ++- src/views/qualityInspectionDistribution/inspectionModal.vue | 5 ++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/src/views/geopoliticalCustomers/geopoliticalCustomersModal.vue b/src/views/geopoliticalCustomers/geopoliticalCustomersModal.vue index 1a5f220..7686107 100644 --- a/src/views/geopoliticalCustomers/geopoliticalCustomersModal.vue +++ b/src/views/geopoliticalCustomers/geopoliticalCustomersModal.vue @@ -515,7 +515,8 @@ const activeKey = ref('') //tabs change事件 const tabsChange = (val: string) => { handleMapInit() - formRef.value?.resetFields() + // formRef.value?.resetFields() + formRef.value?.clearValidate() if (val === '1') { formModel.customType = 0 } else { diff --git a/src/views/qualityInspectionDistribution/inspectionModal.vue b/src/views/qualityInspectionDistribution/inspectionModal.vue index 5431054..520242f 100644 --- a/src/views/qualityInspectionDistribution/inspectionModal.vue +++ b/src/views/qualityInspectionDistribution/inspectionModal.vue @@ -200,6 +200,7 @@ const handleClose = () => { submitLoading.value = false } const formRef = ref() + const toExamine = (type: number) => { console.log(formModel.reviewUserId, 'formModel.reviewUserId') // if (type === 0) { @@ -212,7 +213,9 @@ const toExamine = (type: number) => { userInfo!.salesmanType, formModel.reviewUserId ).then(res => { - message.info(res.message) + message.info({ + content: h('span', { style: 'white-space: pre-wrap;' }, res.message) + }) if (res.code == 200) { closeModal() emits('submit-success')