From ff25737400e4d7b54a24951aac7a58e43a955373 Mon Sep 17 00:00:00 2001 From: hwj Date: Thu, 2 Apr 2026 18:00:57 +0800 Subject: [PATCH] =?UTF-8?q?style=EF=BC=9A=E4=BB=BB=E5=8A=A1=E5=8D=95?= =?UTF-8?q?=E6=8E=92=E4=BA=A7-=E6=96=B0=E5=A2=9E=E8=AE=A1=E5=88=92?= =?UTF-8?q?=E5=88=B7=E6=96=B0=E5=88=97=E8=A1=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/mes/tasksummary/components/TaskDetailList.vue | 7 ++++++- src/views/mes/tasksummary/index.vue | 2 +- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/src/views/mes/tasksummary/components/TaskDetailList.vue b/src/views/mes/tasksummary/components/TaskDetailList.vue index c242e469..90ac967a 100644 --- a/src/views/mes/tasksummary/components/TaskDetailList.vue +++ b/src/views/mes/tasksummary/components/TaskDetailList.vue @@ -49,7 +49,7 @@ - + @@ -64,6 +64,7 @@ const { push } = useRouter() const props = defineProps<{ taskId?: number // task ID(主表的关联字段) }>() +const emit = defineEmits(['success']) const loading = ref(false) // 列表的加载中 const list = ref([]) // 列表的数据 const queryParams = reactive({ @@ -111,6 +112,10 @@ const addPlanForm = (taskId: number, productId: number, number?: number, taskDet } formRef.value.open('create', undefined, taskId, productId, number,taskDetailIds) } +const handlePlanSuccess = () => { + getList() + emit('success') +} const route = useRoute() /** 跳转生产计划页面**/ const openPlan = (taskId: number, productId: number) => { diff --git a/src/views/mes/tasksummary/index.vue b/src/views/mes/tasksummary/index.vue index 9d93f274..0c1440a0 100644 --- a/src/views/mes/tasksummary/index.vue +++ b/src/views/mes/tasksummary/index.vue @@ -98,7 +98,7 @@ - +