From 3913f39ba957d8738487be4d252af8d9e1d2aa4f Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期二, 03 十一月 2026 11:07:03 +0800
Subject: [PATCH] feat(mes,wls): 新增生产准备检查弹窗与收发存汇总页
---
src/views/mes/pro/mps/index.vue | 31 +++++++++++++++++++++++++++++++
1 files changed, 31 insertions(+), 0 deletions(-)
diff --git a/src/views/mes/pro/mps/index.vue b/src/views/mes/pro/mps/index.vue
index 8ad1b4b..2af3618 100644
--- a/src/views/mes/pro/mps/index.vue
+++ b/src/views/mes/pro/mps/index.vue
@@ -26,6 +26,7 @@
import { MpsStatusEnum, useGridColumns, useGridFormSchema } from './data';
import Form from './modules/form.vue';
import ItemList from './modules/item-list.vue';
+import PreparationCheck from './modules/preparation-check.vue';
/** MPS 鐢熶骇涓昏鍒掑垪琛� */
defineOptions({ name: 'MesProMps' });
@@ -48,6 +49,16 @@
function handleShowItems(row: MesProMpsApi.Mps) {
currentMpsId.value = row.id;
itemListOpen.value = true;
+}
+
+/** 鐢熶骇鍑嗗妫�鏌ュ脊绐� */
+const preparationOpen = ref(false);
+const preparationMpsId = ref<number>();
+
+/** 鎵撳紑鐢熶骇鍑嗗妫�鏌� */
+function handlePreparationCheck(row: MesProMpsApi.Mps) {
+ preparationMpsId.value = row.id;
+ preparationOpen.value = true;
}
/** 鎻愪氦瀹℃牳 */
@@ -351,6 +362,13 @@
},
},
{
+ label: '鐢熶骇鍑嗗妫�鏌�',
+ type: 'link',
+ icon: ACTION_ICON.VIEW,
+ auth: ['mes:pro-mps:query'],
+ onClick: handlePreparationCheck.bind(null, row),
+ },
+ {
label: '鐢熸垚閲囪喘鍗�',
type: 'link',
icon: ACTION_ICON.ADD,
@@ -407,5 +425,18 @@
>
<ItemList v-if="itemListOpen && currentMpsId" :mps-id="currentMpsId" />
</Modal>
+
+ <Modal
+ v-model:open="preparationOpen"
+ title="鐢熶骇鍑嗗妫�鏌ワ紙鐗╂枡 / 璁惧锛�"
+ :footer="null"
+ width="1100px"
+ destroy-on-close
+ >
+ <PreparationCheck
+ v-if="preparationOpen && preparationMpsId"
+ :mps-id="preparationMpsId"
+ />
+ </Modal>
</Page>
</template>
--
Gitblit v1.9.3