feat: 完成客户第12条需求+多系统改造
1. 新增预警表添加工单号字段,支持按工单号检索预警 2. 添加工单过滤在制品/绩效报表/预警中心查询 3. 补全WMS台账字段口径与权限配置 4. 修复备料单与数量不符处理流程 5. 新增配送进度/库位联动/自动出库功能 6. 修复AGV配送状态更新逻辑 7. 优化退料与库存管理细节
This commit is contained in:
@@ -28,6 +28,8 @@ func (Alert) Fields() []ent.Field {
|
||||
field.String("content").Default("").MaxLen(500).Comment("内容"),
|
||||
field.String("refType").Default("").MaxLen(40).Comment("关联业务类型"),
|
||||
field.String("refId").Default("").MaxLen(64).Comment("关联业务ID"),
|
||||
// 关联工单号(客户第12条「记录查看加一项看工单号查询」):预警中心按工单号检索用,可空。
|
||||
field.String("orderNo").Default("").MaxLen(64).Comment("关联工单号(按工单号查询用)"),
|
||||
field.String("status").Default("UNREAD").MaxLen(10).Comment("UNREAD/READ"),
|
||||
field.String("receiver").Default("").MaxLen(255).Comment("接收人"),
|
||||
field.Time("createdAt").Default(time.Now).Immutable(),
|
||||
|
||||
Reference in New Issue
Block a user