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
+1 -24
View File
@@ -228,6 +228,7 @@ var (
{Name: "result_value", Type: field.TypeString, Nullable: true},
{Name: "inspect_qty", Type: field.TypeInt, Default: 0},
{Name: "pass_qty", Type: field.TypeInt, Default: 0},
{Name: "reject_qty", Type: field.TypeInt, Default: 0},
{Name: "check_desc", Type: field.TypeString, Nullable: true},
{Name: "inspector", Type: field.TypeString, Nullable: true},
{Name: "inspection_no", Type: field.TypeString, Nullable: true},
@@ -590,29 +591,6 @@ var (
},
},
}
// ProducibleSnapshotsColumns holds the columns for the "producible_snapshots" table.
ProducibleSnapshotsColumns = []*schema.Column{
{Name: "id", Type: field.TypeInt, Increment: true},
{Name: "product_code", Type: field.TypeString},
{Name: "product_name", Type: field.TypeString, Nullable: true},
{Name: "producible_qty", Type: field.TypeInt, Default: 0},
{Name: "short_text", Type: field.TypeString, Nullable: true},
{Name: "computed_at", Type: field.TypeInt64, Default: 0},
{Name: "synced_at", Type: field.TypeInt64},
}
// ProducibleSnapshotsTable holds the schema information for the "producible_snapshots" table.
ProducibleSnapshotsTable = &schema.Table{
Name: "producible_snapshots",
Columns: ProducibleSnapshotsColumns,
PrimaryKey: []*schema.Column{ProducibleSnapshotsColumns[0]},
Indexes: []*schema.Index{
{
Name: "produciblesnapshot_product_code",
Unique: false,
Columns: []*schema.Column{ProducibleSnapshotsColumns[1]},
},
},
}
// ReturnOrdersColumns holds the columns for the "return_orders" table.
ReturnOrdersColumns = []*schema.Column{
{Name: "id", Type: field.TypeInt, Increment: true},
@@ -849,7 +827,6 @@ var (
OutboundDetailsTable,
OutboundOrdersTable,
PermissionsTable,
ProducibleSnapshotsTable,
ReturnOrdersTable,
RolesTable,
SemiFinishedsTable,