From 14a9c940280e83145e97da44611a0b24a2e64023 Mon Sep 17 00:00:00 2001 From: yufei_wang <2267742828@qq.com> Date: Wed, 9 Oct 2024 11:49:41 +0800 Subject: [PATCH] =?UTF-8?q?HL-6203=E5=88=B6=E5=93=81=E5=AD=90=E4=BB=B6?= =?UTF-8?q?=E6=8A=A5=E5=BA=9F=E7=94=B3=E8=AF=B7=E4=B8=AD=E5=8E=9F=E5=9B=A0?= =?UTF-8?q?=E4=BB=A3=E7=A0=81=E6=94=B9=E6=88=90=E5=8F=AF=E9=80=89=E6=8B=A9?= =?UTF-8?q?=E7=9A=84=EF=BC=8C=E5=8F=AF=E4=BB=A5=E9=BB=98=E8=AE=A4=E4=B8=80?= =?UTF-8?q?=E4=B8=AASC99=EF=BC=8C(=E5=9B=A0=E4=B8=BA=E4=B8=80=E4=BA=9B?= =?UTF-8?q?=E6=96=B0=E9=A1=B9=E7=9B=AE=E7=9A=84=E6=8A=A5=E5=BA=9F=E7=9A=84?= =?UTF-8?q?=E5=8E=9F=E5=9B=A0=E4=B8=8D=E8=83=BD=E5=86=99=E5=9C=A8SC99?= =?UTF-8?q?=E9=87=8C)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/BasicForm/src/BasicForm.vue | 6 +- .../productscrapRequestMain/index.vue | 3 + .../productscrapRequestMain.data.ts | 78 ++++++++++--------- 3 files changed, 49 insertions(+), 38 deletions(-) diff --git a/src/components/BasicForm/src/BasicForm.vue b/src/components/BasicForm/src/BasicForm.vue index 3d0c9f2e5..c825bccf4 100644 --- a/src/components/BasicForm/src/BasicForm.vue +++ b/src/components/BasicForm/src/BasicForm.vue @@ -961,6 +961,9 @@ const onChange = (field, cur) => { emit('onChange', field, cur, formRef) } +const setDefaultBlurValue = (field, value) => { + onBlur(field, value) +} /** * 监听失焦事件 * @param field 当前操作字段 @@ -1139,7 +1142,8 @@ defineExpose({ handleAddTable, changeDialogWidth, searchTableRef, - tableFormRef + tableFormRef, + setDefaultBlurValue }) // 提供 open 方法,用于打开弹窗