From 5653fa98c0e6d63eb721bb37ba217e1ed7c359f6 Mon Sep 17 00:00:00 2001 From: hwj Date: Tue, 21 Apr 2026 14:30:24 +0800 Subject: [PATCH] =?UTF-8?q?style=EF=BC=9A=E7=94=9F=E4=BA=A7=E8=AE=A1?= =?UTF-8?q?=E5=88=92-=E6=A3=80=E9=AA=8C=E6=8C=89=E9=92=AE=E4=BF=9D?= =?UTF-8?q?=E5=AD=98=E5=90=8E=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/plan/index.vue | 12 +++++++++--- .../mes/zjproduct/components/ZjProductPreList.vue | 1 + 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/src/views/mes/plan/index.vue b/src/views/mes/plan/index.vue index fc95076b..80b569e7 100644 --- a/src/views/mes/plan/index.vue +++ b/src/views/mes/plan/index.vue @@ -88,7 +88,7 @@ --> - @@ -100,7 +100,7 @@ - @@ -258,7 +258,7 @@ - + @@ -297,6 +297,7 @@ const total = ref(0) // 列表的总页数 const tableRef = ref() const inspectableMap = reactive>({}) const baogongRecordRefreshKey = ref(0) +const zjProductPreListRefreshKey = ref(0) const queryParams = reactive({ pageNo: 1, pageSize: 10, @@ -437,6 +438,11 @@ const handleInspectExpand = (row: PlanVO) => { tableRef.value?.toggleRowExpansion?.(row, true) } +const handleZjTaskSuccess = async () => { + zjProductPreListRefreshKey.value += 1 + await getList() +} + const zjTaskFormRef = ref() const openZjTaskForm = (row: PlanVO) => { zjTaskFormRef.value.open('create', undefined, { ticketType: 1, ticket: row.id, ticketName: row.code, productId: row.productId }) diff --git a/src/views/mes/zjproduct/components/ZjProductPreList.vue b/src/views/mes/zjproduct/components/ZjProductPreList.vue index 003ca33c..a3411664 100644 --- a/src/views/mes/zjproduct/components/ZjProductPreList.vue +++ b/src/views/mes/zjproduct/components/ZjProductPreList.vue @@ -123,4 +123,5 @@ watch( { immediate: true } ) +defineExpose({ getList })