feat(production): 新增排产支撑功能并移除手动报工页面

- 在main.go中更新排产物料需求注释说明,明确WMS与MES系统间交互方式
- 从前端help.js中移除手动报工(helpScan)相关帮助文档
- 更新工艺流程、绩效报表等页面帮助文档中的报工流程说明
- 在主布局中添加排产支撑菜单项并移除手动报工菜单项
- 新增ProducibleSupport.vue组件实现排产支撑页面功能
- 移除Scan.vue手动报工页面组件
- 更新相关帮助文档内容以匹配新的业务流程
This commit is contained in:
SunYF
2026-09-21 14:06:05 +08:00
parent 132c3ed6bd
commit 0e769f3813
105 changed files with 2313 additions and 5314 deletions
-12
View File
@@ -176,18 +176,6 @@ func (f PermissionFunc) Mutate(ctx context.Context, m ent.Mutation) (ent.Value,
return nil, fmt.Errorf("unexpected mutation type %T. expect *ent.PermissionMutation", m)
}
// The ProducibleSnapshotFunc type is an adapter to allow the use of ordinary
// function as ProducibleSnapshot mutator.
type ProducibleSnapshotFunc func(context.Context, *ent.ProducibleSnapshotMutation) (ent.Value, error)
// Mutate calls f(ctx, m).
func (f ProducibleSnapshotFunc) Mutate(ctx context.Context, m ent.Mutation) (ent.Value, error) {
if mv, ok := m.(*ent.ProducibleSnapshotMutation); ok {
return f(ctx, mv)
}
return nil, fmt.Errorf("unexpected mutation type %T. expect *ent.ProducibleSnapshotMutation", m)
}
// The ReturnOrderFunc type is an adapter to allow the use of ordinary
// function as ReturnOrder mutator.
type ReturnOrderFunc func(context.Context, *ent.ReturnOrderMutation) (ent.Value, error)