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'