From fb21b9b9b7ed84e92399f12b65298297a5df1e33 Mon Sep 17 00:00:00 2001 From: yufei0306 <13417315+yufei0306@user.noreply.gitee.com> Date: Fri, 24 May 2024 17:29:46 +0800 Subject: [PATCH] bug --- .../strategy/supplieDeliveryStrategy/AddForm.vue | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/views/wms/basicDataManage/strategySetting/strategy/supplieDeliveryStrategy/AddForm.vue b/src/views/wms/basicDataManage/strategySetting/strategy/supplieDeliveryStrategy/AddForm.vue index cdd2ee65a..53b7e8806 100644 --- a/src/views/wms/basicDataManage/strategySetting/strategy/supplieDeliveryStrategy/AddForm.vue +++ b/src/views/wms/basicDataManage/strategySetting/strategy/supplieDeliveryStrategy/AddForm.vue @@ -416,18 +416,18 @@ const filterMethodFromLocation = (query: string) => { return item?.code.includes(query) }) } else { - options.locationList = options.originLocationList + options.locationList = [...options.originLocationList] } } // 获取库位列表 const getFormLocationList = async () => { if(!options.locationList || options.locationList.length==0){ - options.locationList = await getLocationList({ type: 'TRANSPORT' }) - options.originLocationList = [...options.locationList] + options.originLocationList = await getLocationList({ type: 'TRANSPORT' }) + options.locationList = [...options.originLocationList] }else{ options.locationList = [] let timer = setTimeout(()=>{ - options.locationList = options.originLocationList + options.locationList = [...options.originLocationList] if(timer){ clearTimeout(timer) }