From 96a94a59c08f55712ba04eb413e7f61739f11f66 Mon Sep 17 00:00:00 2001 From: zhanghonglin <zhanghonglin@hnkhzn.com> Date: 星期二, 19 八月 2025 17:09:31 +0800 Subject: [PATCH] 定时一周自动清楚重量厚度,不合格背景红色提示、筛选功能 --- 项目代码/WCS/WIDESEAWCS_Client/src/views/taskinfo/weight_hty.vue | 31 +++++++++++++++++++++++++------ 1 files changed, 25 insertions(+), 6 deletions(-) diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Client/src/views/taskinfo/weight_hty.vue" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Client/src/views/taskinfo/weight_hty.vue" index dc38f82..049e124 100644 --- "a/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Client/src/views/taskinfo/weight_hty.vue" +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Client/src/views/taskinfo/weight_hty.vue" @@ -10,6 +10,7 @@ :searchFormFields="searchFormFields" :searchFormOptions="searchFormOptions" :table="table" + :extend="extend" ></view-grid> </template> <script> @@ -29,8 +30,23 @@ const editFormFields = ref({}); const editFormOptions = ref([]); - const searchFormFields = ref({}); - const searchFormOptions = ref([]); + const searchFormFields = ref({ + qualified:"", + }); + const searchFormOptions = ref([ + [ + { + title: "鏄惁鍚堟牸", + field: "qualified", + type: "select", + dataKey: "WeightThicknessEnum", + data: [ + { key: "0", value: "涓嶅悎鏍�" }, + { key: "1", value: "鍚堟牸" } + ] + } + ], + ]); const columns = ref([ { field: "id", @@ -83,7 +99,7 @@ type: "datetime", width: 150, align: "left" - }, + } ]); const detail = ref({ cnName: "#detailCnName", @@ -91,6 +107,9 @@ columns: [], sortName: "" }); + + + return { table, extend, @@ -105,7 +124,7 @@ }); </script> <style scoped> - .cell el-tooltip{ - background: red; - } +.cell el-tooltip { + background: red; +} </style> \ No newline at end of file -- Gitblit v1.9.3