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 })