refactor: 清理MES端本地product_type冗余代码,对齐WMS主数据架构

1.  移除MES端本地product_type实体、schema及相关CRUD代码,改为通过WMS内部API代理获取物料主数据
2.  更新物料管理粒度逻辑,新增"其他"类型(3)支持,同步更新入库校验规则
3.  修复前端物料选择、库存筛选等页面的类型判断逻辑,统一使用manage_mode区分管理类型
4.  清理静态资源文件冗余的样式代码,调整前端页面展示逻辑
5.  更新帮助文档,修正物料类型的说明描述
This commit is contained in:
SunYF
2026-09-22 07:41:40 +08:00
parent 12ca493c61
commit 932700ca65
84 changed files with 698 additions and 3955 deletions
-2
View File
@@ -20,7 +20,6 @@ import (
"bj_power_mes/ent/plcsendlog"
"bj_power_mes/ent/processflow"
"bj_power_mes/ent/processstep"
"bj_power_mes/ent/producttype"
"bj_power_mes/ent/role"
"bj_power_mes/ent/semiflow"
"bj_power_mes/ent/station"
@@ -121,7 +120,6 @@ func checkColumn(t, c string) error {
plcsendlog.Table: plcsendlog.ValidColumn,
processflow.Table: processflow.ValidColumn,
processstep.Table: processstep.ValidColumn,
producttype.Table: producttype.ValidColumn,
role.Table: role.ValidColumn,
semiflow.Table: semiflow.ValidColumn,
station.Table: station.ValidColumn,