From ad6320e6b99b601ed91ca3f3eaba9678e9e8d826 Mon Sep 17 00:00:00 2001 From: zhangli <2235006734@qq.com> Date: Wed, 25 Oct 2023 09:27:07 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BE=9B=E5=BA=94=E5=95=86=E7=AD=96=E7=95=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/wms/strategy/supplieDeliveryStrategy/AddForm.vue | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/views/wms/strategy/supplieDeliveryStrategy/AddForm.vue b/src/views/wms/strategy/supplieDeliveryStrategy/AddForm.vue index 48b2042e6..9fc81c220 100644 --- a/src/views/wms/strategy/supplieDeliveryStrategy/AddForm.vue +++ b/src/views/wms/strategy/supplieDeliveryStrategy/AddForm.vue @@ -276,6 +276,7 @@ const getFormSupplierList = async () => { // 选择供应商类型 const changeSupplierType = (e) => { querySupplierParams.value.type = e + formData.value.condition[1].Value = [] getFormSupplierList() } @@ -324,6 +325,9 @@ const open = async (type: string, strategyCode: string, id?: number) => { formData.value.configuration = JSON.parse(data.configuration) } + querySupplierParams.value.type = formData.value?.condition[0]?.Value || '' + getFormSupplierList() + } finally { formLoading.value = false }