feat: 新增产品工艺管理与工序审核功能
- 新增产品工艺(product_process)及明细(product_process_item)数据模型 - 新增工序审核开关(need_audit)与审核角色(audit_role)字段 - 新增待审核签字页面与路由 - 优化 WMS/MES 接口交互,增加业务错误处理与友好提示 - 补充库存过滤逻辑,避免返回已出库 SN 数据 - 调整默认查询时间范围为近一个月,优化用户体验
This commit is contained in:
@@ -46,6 +46,10 @@ type Tx struct {
|
||||
ProcessFlow *ProcessFlowClient
|
||||
// ProcessStep is the client for interacting with the ProcessStep builders.
|
||||
ProcessStep *ProcessStepClient
|
||||
// ProductProcess is the client for interacting with the ProductProcess builders.
|
||||
ProductProcess *ProductProcessClient
|
||||
// ProductProcessItem is the client for interacting with the ProductProcessItem builders.
|
||||
ProductProcessItem *ProductProcessItemClient
|
||||
// Role is the client for interacting with the Role builders.
|
||||
Role *RoleClient
|
||||
// SemiFlow is the client for interacting with the SemiFlow builders.
|
||||
@@ -224,6 +228,8 @@ func (tx *Tx) init() {
|
||||
tx.PlcSendLog = NewPlcSendLogClient(tx.config)
|
||||
tx.ProcessFlow = NewProcessFlowClient(tx.config)
|
||||
tx.ProcessStep = NewProcessStepClient(tx.config)
|
||||
tx.ProductProcess = NewProductProcessClient(tx.config)
|
||||
tx.ProductProcessItem = NewProductProcessItemClient(tx.config)
|
||||
tx.Role = NewRoleClient(tx.config)
|
||||
tx.SemiFlow = NewSemiFlowClient(tx.config)
|
||||
tx.Station = NewStationClient(tx.config)
|
||||
|
||||
Reference in New Issue
Block a user