From 372022ac675ea3f8c9d60da917efbe994b329528 Mon Sep 17 00:00:00 2001 From: Amjacks <1932302177@qq.com> Date: Fri, 11 Apr 2025 14:09:35 +0800 Subject: [PATCH] =?UTF-8?q?feat=20=E6=89=B9=E6=AC=A1=E5=85=A5=E5=BA=93?= =?UTF-8?q?=E5=8A=A0=E8=BD=BD=E5=BA=93=E4=BD=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/stockIn/StockInByCharge/index.vue | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/src/views/stockIn/StockInByCharge/index.vue b/src/views/stockIn/StockInByCharge/index.vue index ea8248c..f444dc0 100644 --- a/src/views/stockIn/StockInByCharge/index.vue +++ b/src/views/stockIn/StockInByCharge/index.vue @@ -30,8 +30,8 @@ @@ -668,6 +668,10 @@ 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' @@ -752,7 +756,7 @@ async function sendToERP() { } function handle(row: any, event: any, column: any) { - if (areAllNotEmpty(row.ERPFACTORY)) { + /*if (areAllNotEmpty(row.ERPFACTORY)) { getERPLocation(row.ERPFACTORY) } else { ElMessageBox.alert('该明细下组织为空!', '警示框', { @@ -765,7 +769,7 @@ function handle(row: any, event: any, column: any) { ElMessageBox.alert('该仓库下货位为空!', '警示框', { confirmButtonText: 'OK' }) - } + }*/ state.queryParams.queryId = 'GetPackingRow' state.queryParams.version = 'xh002' state.queryParams.params.SITENAME = 'SDK'