From d0c3fec5ce7fbdba648d7453e91c6304efb8f148 Mon Sep 17 00:00:00 2001 From: zhang_li <2235006734@qqq.com> Date: Wed, 27 Nov 2024 16:00:32 +0800 Subject: [PATCH] =?UTF-8?q?YT-1325=E5=8F=91=E6=96=99=E7=AD=96=E7=95=A5?= =?UTF-8?q?=EF=BC=9A=E4=BF=9D=E5=AD=98=E4=B8=8D=E5=A5=BD=E4=BD=BF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../strategySetting/strategy/downShelfStrategy/AddForm.vue | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/views/wms/basicDataManage/strategySetting/strategy/downShelfStrategy/AddForm.vue b/src/views/wms/basicDataManage/strategySetting/strategy/downShelfStrategy/AddForm.vue index feaef082c..81056e690 100644 --- a/src/views/wms/basicDataManage/strategySetting/strategy/downShelfStrategy/AddForm.vue +++ b/src/views/wms/basicDataManage/strategySetting/strategy/downShelfStrategy/AddForm.vue @@ -654,7 +654,9 @@ const searchTransactionType = ()=>{ ) } // 失去焦点校验 -const blurVerify= async (type)=>{ +const typeBlur = ref('') +const blurVerify = async (type) => { + typeBlur.value = type let transactionType = formData.value.condition.find(item => item['ParamCode'] == type) console.log(transactionType) if (transactionType && transactionType.Value) { @@ -864,6 +866,8 @@ defineExpose({ open }) // 提供 open 方法,用于打开弹窗 const emit = defineEmits(['success']) // 定义 success 事件,用于操作成功后的回调 const submitForm = async () => { await blurWarehouse() + await blurVerify(typeBlur.value) + console.log('规则条件',formData.value.condition) // 校验表单