From 645c8a52f6d7b6a01c11fd22e735ac55feb5cc0d Mon Sep 17 00:00:00 2001 From: siontion Date: Sun, 21 Jan 2024 09:07:14 +0800 Subject: [PATCH] =?UTF-8?q?=E5=87=BA=E5=BA=93=E7=89=A9=E6=96=99=E4=BF=9D?= =?UTF-8?q?=E5=AD=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 出库物料保存 --- .../src/views/heli/storage/StorageOut.vue | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) diff --git a/mes-ui/mes-ui-admin-vue3/src/views/heli/storage/StorageOut.vue b/mes-ui/mes-ui-admin-vue3/src/views/heli/storage/StorageOut.vue index c0b9a51b..076a628c 100644 --- a/mes-ui/mes-ui-admin-vue3/src/views/heli/storage/StorageOut.vue +++ b/mes-ui/mes-ui-admin-vue3/src/views/heli/storage/StorageOut.vue @@ -574,7 +574,9 @@ const handleMatCode = async (scope, matid) => { scope.row.rgId = matVo.rgId scope.row.pnId = matVo.pnId scope.row.matRest = matVo.matRest + scope.row.storageOkQty = matVo.storageOkQty scope.row.lotNo = matVo.lotNo + scope.row.description = matVo.description const queryParamsRPn = reactive({ pageNo: 1, @@ -585,7 +587,19 @@ const handleMatCode = async (scope, matid) => { const dataPn = await PnApi.getPnPage(queryParamsRPn) scope.row.pnlist = dataPn.list } else { - scope.row = matLastData.value.find((item) => item.matId === matid) + scope.row.matId = '' + scope.row.matName = '' + scope.row.matCode = '' + scope.row.matSpec = '' + scope.row.matType = '' + scope.row.matUnit = '' + scope.row.rgId = '' + scope.row.pnId = '' + scope.row.matRest = '' + scope.row.storageOkQty = '' + scope.row.lotNo = '' + scope.row.description = '' + scope.row.pnlist = [] } } @@ -724,4 +738,5 @@ onMounted(async () => { a { color: #409eff; text-decoration: none; -} +} +