From ca2447f710a008d667210e2f533a3f5d4a767b32 Mon Sep 17 00:00:00 2001 From: YunaiV Date: Mon, 9 Mar 2026 21:47:24 +0800 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20feat(mes):=20=E6=9B=B4=E6=96=B0?= =?UTF-8?q?=E7=9B=98=E7=82=B9=E6=96=B9=E6=A1=88=E5=8F=82=E6=95=B0=E5=8F=8A?= =?UTF-8?q?=E7=8A=B6=E6=80=81=E7=AE=A1=E7=90=86=E9=80=BB=E8=BE=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 移除不必要的字段,优化参数类型枚举,添加分页请求和响应对象,增强代码可读性和维护性。更新状态管理逻辑,确保盘点方案的启用状态与参数一致性。 --- .../stocktaking/plan/StockTakingPlanForm.vue | 1 - src/views/mes/wm/stocktaking/plan/index.vue | 91 ++++++++----------- 2 files changed, 38 insertions(+), 54 deletions(-) diff --git a/src/views/mes/wm/stocktaking/plan/StockTakingPlanForm.vue b/src/views/mes/wm/stocktaking/plan/StockTakingPlanForm.vue index 3d67adad7..99e5b7dc3 100644 --- a/src/views/mes/wm/stocktaking/plan/StockTakingPlanForm.vue +++ b/src/views/mes/wm/stocktaking/plan/StockTakingPlanForm.vue @@ -134,7 +134,6 @@ const formData = ref({ frozenFlag: false, remark: undefined }) - const formRules = reactive({ code: [{ required: true, message: '方案编码不能为空', trigger: 'blur' }], name: [{ required: true, message: '方案名称不能为空', trigger: 'blur' }], diff --git a/src/views/mes/wm/stocktaking/plan/index.vue b/src/views/mes/wm/stocktaking/plan/index.vue index 28d22d41a..649c6f68c 100644 --- a/src/views/mes/wm/stocktaking/plan/index.vue +++ b/src/views/mes/wm/stocktaking/plan/index.vue @@ -41,24 +41,24 @@ - 搜索 - 重置 + 搜索 + 重置 - 新增 + 新增 - 导出 + 导出 @@ -79,76 +79,61 @@ - - + + - - + - - + - - - - + @@ -160,13 +145,13 @@ /> +