From a11a73e5428b3a4a2cac08269bb08450aa7791fd Mon Sep 17 00:00:00 2001 From: siontion Date: Fri, 19 Jan 2024 08:45:27 +0800 Subject: [PATCH] =?UTF-8?q?=E5=87=BA=E5=85=A5=E5=BA=93=E7=BC=96=E8=BE=91?= =?UTF-8?q?=E9=A1=B5=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 出入库编辑页面 --- .../src/views/heli/storage/StorageForm.vue | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/mes-ui/mes-ui-admin-vue3/src/views/heli/storage/StorageForm.vue b/mes-ui/mes-ui-admin-vue3/src/views/heli/storage/StorageForm.vue index e076f890..3fb048d6 100644 --- a/mes-ui/mes-ui-admin-vue3/src/views/heli/storage/StorageForm.vue +++ b/mes-ui/mes-ui-admin-vue3/src/views/heli/storage/StorageForm.vue @@ -596,7 +596,9 @@ onMounted(async () => { //获得库区列表 const queryParamsRg = reactive({ pageNo: 1, - pageSize: 99 + pageSize: 99, + status:1, + whId : formData.value.whId }) const dataRg = await RgApi.getRgPage(queryParamsRg) @@ -630,6 +632,7 @@ onMounted(async () => { const matVos = await MaterialApi.getMaterialPage(queryParamsMat2) formData.value.productBomItemDOList.forEach(item => { + item.cid = matCount item.matId = matVos.list.find((record) => record.id === item.matId)?.id //item.matCode = matVos.list.find( (record) => record.id === item.matId)?.id item.matName = matVos.list.find((record) => record.id === item.matId)?.name @@ -637,6 +640,7 @@ onMounted(async () => { item.matType = matVos.list.find((record) => record.id === item.matId)?.materialType item.matUnit = matVos.list.find((record) => record.id === item.matId)?.unit item.pnlist = pnList.value.filter((pn) => pn.rgId === item.rgId) + matCount= matCount+1 }) //物料编码信息初始化