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:
@@ -46,8 +46,6 @@ type Tx struct {
|
||||
ProcessFlow *ProcessFlowClient
|
||||
// ProcessStep is the client for interacting with the ProcessStep builders.
|
||||
ProcessStep *ProcessStepClient
|
||||
// ProductType is the client for interacting with the ProductType builders.
|
||||
ProductType *ProductTypeClient
|
||||
// Role is the client for interacting with the Role builders.
|
||||
Role *RoleClient
|
||||
// SemiFlow is the client for interacting with the SemiFlow builders.
|
||||
@@ -224,7 +222,6 @@ func (tx *Tx) init() {
|
||||
tx.PlcSendLog = NewPlcSendLogClient(tx.config)
|
||||
tx.ProcessFlow = NewProcessFlowClient(tx.config)
|
||||
tx.ProcessStep = NewProcessStepClient(tx.config)
|
||||
tx.ProductType = NewProductTypeClient(tx.config)
|
||||
tx.Role = NewRoleClient(tx.config)
|
||||
tx.SemiFlow = NewSemiFlowClient(tx.config)
|
||||
tx.Station = NewStationClient(tx.config)
|
||||
|
||||
Reference in New Issue
Block a user