From 48d66ddbbeb98265aec15c57997364e0235e4418 Mon Sep 17 00:00:00 2001 From: Amjacks <1932302177@qq.com> Date: Fri, 11 Apr 2025 14:40:09 +0800 Subject: [PATCH] =?UTF-8?q?feat=20=E6=89=B9=E6=AC=A1=E5=85=A5=E5=BA=93?= =?UTF-8?q?=E6=98=BE=E7=A4=BA=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/stockIn/StockInByCharge/index.vue | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/views/stockIn/StockInByCharge/index.vue b/src/views/stockIn/StockInByCharge/index.vue index f444dc0..b4213d8 100644 --- a/src/views/stockIn/StockInByCharge/index.vue +++ b/src/views/stockIn/StockInByCharge/index.vue @@ -652,6 +652,10 @@ function handleQuery() { } getStoreDetail(state.queryParams).then((res: any)=> { if (res.resultObj) { + // 加载库位 + if (res.resultObj.storeDetail && res.resultObj.storeDetail.length > 0) { + getERPLocation(res.resultObj.storeDetail[0].ERPFACTORY) + } state.MATERIALPACKINGLIST = res.resultObj.storeCharge state.MATERIALRECEIVEACT = res.resultObj.storeDetail if (state.MATERIALPACKINGLISTS != '') { @@ -668,10 +672,6 @@ function handleQuery() { } state.MATERIALPACKINGLISTS } - // 加载库位 - if (res.resultObj.storeCharge && res.resultObj.storeCharge.length > 0) { - getERPLocation(res.resultObj.storeCharge[0].ERPFACTORY) - } } else { ElMessageBox.alert(res.message, '提醒框', { confirmButtonText: 'OK'