From c8c7fe44c1814e3f92126b3af2897819f328b99a Mon Sep 17 00:00:00 2001 From: xzg <4727863@qq.com> Date: Thu, 26 Dec 2024 21:53:39 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=B7=B2=E7=9F=A5bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../distribution/distributionStockArticleDetails.js | 2 +- .../warehouse/goodsShelf/basicdataGoodsShelfView.vue | 9 +++++---- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/src/option/distribution/distributionStockArticleDetails.js b/src/option/distribution/distributionStockArticleDetails.js index ed0eea4d..fb3ef680 100644 --- a/src/option/distribution/distributionStockArticleDetails.js +++ b/src/option/distribution/distributionStockArticleDetails.js @@ -186,7 +186,7 @@ export const columnList = [ { prop: 'materialCodeMaintainStatus', label: '物料维护状态', - type: 6, + type: 1, values: '', width: '150', checkarr: [], diff --git a/src/views/basicdata/warehouse/goodsShelf/basicdataGoodsShelfView.vue b/src/views/basicdata/warehouse/goodsShelf/basicdataGoodsShelfView.vue index 520967a8..0705ccf4 100644 --- a/src/views/basicdata/warehouse/goodsShelf/basicdataGoodsShelfView.vue +++ b/src/views/basicdata/warehouse/goodsShelf/basicdataGoodsShelfView.vue @@ -911,12 +911,13 @@ async function checkshelves() { * goodsAreaId 货区ID * goodsShelfId 货架ID */ - let goodsAreaarr = - details.arrlist[details.checkselect]['warehouseGoodsAreaVOList'][details.checkregionselect]; + console.log(details,'details'); + + let goodsAreaarr = details.arrlist[details.checkselect]['warehouseGoodsAreaVOList'][details.checkregionselect]; let goodsShelfarr = goodsAreaarr['warehouseGoodsShelfEntitieList'][details.checksele]; let data = { - goodsAreaId: goodsAreaarr.id, - goodsShelfId: goodsShelfarr.id, + goodsAreaId: goodsAreaarr?.id, + goodsShelfId: goodsShelfarr?.id, }; const res = await getVisualization(data); // 调用异步函数获取可视化数据 console.log(res.data, 'res.data.datares.data.datares.data.datares.data.datares.data.data');