From 3ff9f841a020ac46f7d224f1a8d759661d57545c Mon Sep 17 00:00:00 2001 From: dzc <2388224167@qq.com> Date: Sat, 2 Aug 2025 16:30:17 +0800 Subject: [PATCH] 11 --- .../components/dept-person-total-table.vue | 2 ++ src/views/hard/canteen-dept-total/index.vue | 15 ++++++++----- .../hard/canteen-product-total/index.vue | 22 ++++++++++++++----- 3 files changed, 28 insertions(+), 11 deletions(-) diff --git a/src/views/hard/canteen-dept-total/components/dept-person-total-table.vue b/src/views/hard/canteen-dept-total/components/dept-person-total-table.vue index 6a2cf14..83cb122 100644 --- a/src/views/hard/canteen-dept-total/components/dept-person-total-table.vue +++ b/src/views/hard/canteen-dept-total/components/dept-person-total-table.vue @@ -154,6 +154,8 @@ const openDialog = (row: any, query: any) => { } if (query && query.hourType) { state.queryForm.hourType = query.hourType + } else if (row.hourType) { + state.queryForm.hourType = row.hourType } console.log("state.queryForm:", state.queryForm); diff --git a/src/views/hard/canteen-dept-total/index.vue b/src/views/hard/canteen-dept-total/index.vue index d5c28c3..c020f68 100644 --- a/src/views/hard/canteen-dept-total/index.vue +++ b/src/views/hard/canteen-dept-total/index.vue @@ -10,8 +10,8 @@ - - + @@ -25,7 +25,7 @@ + @expand-change="tableExpandChange">