From 01288c67f23a5e44723f0b496e10d0485b1a7d6c Mon Sep 17 00:00:00 2001 From: zhang_li <2235006734@qqq.com> Date: Wed, 20 Nov 2024 16:20:52 +0800 Subject: [PATCH] =?UTF-8?q?YT-901=E5=AE=A2=E6=88=B7=E7=89=A9=E6=96=99?= =?UTF-8?q?=EF=BC=8C=E6=96=B0=E5=A2=9E=EF=BC=8C=E7=89=A9=E6=96=99=E4=BB=A3?= =?UTF-8?q?=E7=A0=81=E8=BE=93=E5=85=A5=E5=B8=A6=E4=B8=8D=E5=87=BA=E5=AE=A2?= =?UTF-8?q?=E6=88=B7=E8=AE=A1=E9=87=8F=E5=8D=95=E4=BD=8D=EF=BC=8C=E5=BA=94?= =?UTF-8?q?=E8=BE=93=E5=85=A5=E8=83=BD=E5=B8=A6=E5=87=BA=E5=AE=A2=E6=88=B7?= =?UTF-8?q?=E8=AE=A1=E9=87=8F=E5=8D=95=E4=BD=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../customeritem/customeritem.data.ts | 22 ++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/src/views/wms/basicDataManage/customerManage/customeritem/customeritem.data.ts b/src/views/wms/basicDataManage/customerManage/customeritem/customeritem.data.ts index 01ead97f0..d72f9dbc7 100644 --- a/src/views/wms/basicDataManage/customerManage/customeritem/customeritem.data.ts +++ b/src/views/wms/basicDataManage/customerManage/customeritem/customeritem.data.ts @@ -37,8 +37,19 @@ export const Customeritem = useCrudSchemas(reactive([ key: 'available', value: 'TRUE', isMainValue: false + }], + // verificationPage: CustomerApi.getCustomerPage, // tableForm下方输入框校验失去焦点之后是否正确的方法 + // 失去焦点校验参数 + verificationParams: [{ + key: 'code', + action: '==', + value: '', + isMainValue: false, + isSearch: 'true', + isFormModel: true, }] - } + }, + }, isSearch: true }, @@ -63,6 +74,15 @@ export const Customeritem = useCrudSchemas(reactive([ key: 'available', value: 'TRUE', isMainValue: false + }], + // 失去焦点校验参数 + verificationParams: [{ + key: 'code', + action: '==', + value: '', + isMainValue: false, + isSearch: 'true', + isFormModel: true, }] } },