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 ccf0430c..f24063f6 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 @@ -642,6 +642,7 @@ const getMatList = async (name) =>{ } const handlePn = async (scope) =>{ + scope.row.matList = matList.value var repeatItem = formData.value.matItemDOList.filter( mat => mat.matId==scope.row.matId && mat.pnId == scope.row.pnId) if(repeatItem.length>1){ message.alertWarning('物料编码['+repeatItem[0].matCode+']出库库位存在多行数据,请修改,避免重复出库') @@ -762,7 +763,7 @@ onMounted(async () => { whList.value = await WarehouseApi.getWarehouseSimpList() //获取状态为启用的物料信息 - await getMatList(name) + await getMatList('') // 获取当前最新库存信息 matLastData.value = await StorageMatApi.getStorageMatList(0)