From 4d097227a5f20c917c7159d00d4f4a445b12a10a Mon Sep 17 00:00:00 2001 From: hwj Date: Tue, 14 Apr 2026 14:59:19 +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=8A=A5=E5=B7=A5=E5=90=8E=E5=88=B7=E6=96=B0?= =?UTF-8?q?=E6=8A=A5=E5=B7=A5=E8=AE=B0=E5=BD=95=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 | 19 +++++++++++++------ 1 file changed, 13 insertions(+), 6 deletions(-) diff --git a/src/views/mes/plan/index.vue b/src/views/mes/plan/index.vue index 5d8909a5..d2df198a 100644 --- a/src/views/mes/plan/index.vue +++ b/src/views/mes/plan/index.vue @@ -97,9 +97,9 @@ - + - + @@ -188,17 +188,19 @@ {{ t('ProductionPlan.Plan.actionStartLabel') }} + @click="openBaogongForm(scope.row.code, scope.row.id)" + v-if="scope.row.status === 2 || scope.row.status === 8"> {{ t('ProductionPlan.Plan.actionBaogongLabel') }} + v-hasPermi="['mes:plan:update']" v-if="scope.row.status === 2 || scope.row.status === 8"> {{ t('ProductionPlan.Plan.actionPauseLabel') }} + v-hasPermi="['mes:plan:update']" + v-if="scope.row.status === 2 || scope.row.status === 3 || scope.row.status === 8"> {{ t('ProductionPlan.Plan.actionFinishLabel') }} - + @@ -269,6 +271,7 @@ const list = ref([]) // 列表的数据 const total = ref(0) // 列表的总页数 const tableRef = ref() const inspectableMap = reactive>({}) +const baogongRecordRefreshKey = ref(0) const queryParams = reactive({ pageNo: 1, pageSize: 10, @@ -396,6 +399,10 @@ const baogongFormRef = ref() const openBaogongForm = (planCode: string, planId: number) => { baogongFormRef.value.open(planCode, planId) } +const handleBaogongSuccess = async () => { + baogongRecordRefreshKey.value += 1 + await getList() +} const handleInspectExpand = (row: PlanVO) => { tableRef.value?.toggleRowExpansion?.(row, true)