feat(production): 新增排产支撑功能并移除手动报工页面
- 在main.go中更新排产物料需求注释说明,明确WMS与MES系统间交互方式 - 从前端help.js中移除手动报工(helpScan)相关帮助文档 - 更新工艺流程、绩效报表等页面帮助文档中的报工流程说明 - 在主布局中添加排产支撑菜单项并移除手动报工菜单项 - 新增ProducibleSupport.vue组件实现排产支撑页面功能 - 移除Scan.vue手动报工页面组件 - 更新相关帮助文档内容以匹配新的业务流程
This commit is contained in:
@@ -17,7 +17,6 @@ import (
|
||||
"bj_power_wms/ent/outbounddetail"
|
||||
"bj_power_wms/ent/outboundorder"
|
||||
"bj_power_wms/ent/permission"
|
||||
"bj_power_wms/ent/produciblesnapshot"
|
||||
"bj_power_wms/ent/returnorder"
|
||||
"bj_power_wms/ent/role"
|
||||
"bj_power_wms/ent/semifinished"
|
||||
@@ -202,16 +201,20 @@ func init() {
|
||||
inspectionrecordDescPassQty := inspectionrecordFields[12].Descriptor()
|
||||
// inspectionrecord.DefaultPassQty holds the default value on creation for the pass_qty field.
|
||||
inspectionrecord.DefaultPassQty = inspectionrecordDescPassQty.Default.(int)
|
||||
// inspectionrecordDescRejectQty is the schema descriptor for reject_qty field.
|
||||
inspectionrecordDescRejectQty := inspectionrecordFields[13].Descriptor()
|
||||
// inspectionrecord.DefaultRejectQty holds the default value on creation for the reject_qty field.
|
||||
inspectionrecord.DefaultRejectQty = inspectionrecordDescRejectQty.Default.(int)
|
||||
// inspectionrecordDescDisposalType is the schema descriptor for disposal_type field.
|
||||
inspectionrecordDescDisposalType := inspectionrecordFields[17].Descriptor()
|
||||
inspectionrecordDescDisposalType := inspectionrecordFields[18].Descriptor()
|
||||
// inspectionrecord.DefaultDisposalType holds the default value on creation for the disposal_type field.
|
||||
inspectionrecord.DefaultDisposalType = inspectionrecordDescDisposalType.Default.(string)
|
||||
// inspectionrecordDescCreatedAt is the schema descriptor for created_at field.
|
||||
inspectionrecordDescCreatedAt := inspectionrecordFields[21].Descriptor()
|
||||
inspectionrecordDescCreatedAt := inspectionrecordFields[22].Descriptor()
|
||||
// inspectionrecord.DefaultCreatedAt holds the default value on creation for the created_at field.
|
||||
inspectionrecord.DefaultCreatedAt = inspectionrecordDescCreatedAt.Default.(func() int64)
|
||||
// inspectionrecordDescUpdatedAt is the schema descriptor for updated_at field.
|
||||
inspectionrecordDescUpdatedAt := inspectionrecordFields[22].Descriptor()
|
||||
inspectionrecordDescUpdatedAt := inspectionrecordFields[23].Descriptor()
|
||||
// inspectionrecord.DefaultUpdatedAt holds the default value on creation for the updated_at field.
|
||||
inspectionrecord.DefaultUpdatedAt = inspectionrecordDescUpdatedAt.Default.(func() int64)
|
||||
inventoryFields := schema.Inventory{}.Fields()
|
||||
@@ -442,20 +445,6 @@ func init() {
|
||||
permissionDescUpdatedAt := permissionFields[9].Descriptor()
|
||||
// permission.DefaultUpdatedAt holds the default value on creation for the updated_at field.
|
||||
permission.DefaultUpdatedAt = permissionDescUpdatedAt.Default.(func() int64)
|
||||
produciblesnapshotFields := schema.ProducibleSnapshot{}.Fields()
|
||||
_ = produciblesnapshotFields
|
||||
// produciblesnapshotDescProducibleQty is the schema descriptor for producible_qty field.
|
||||
produciblesnapshotDescProducibleQty := produciblesnapshotFields[2].Descriptor()
|
||||
// produciblesnapshot.DefaultProducibleQty holds the default value on creation for the producible_qty field.
|
||||
produciblesnapshot.DefaultProducibleQty = produciblesnapshotDescProducibleQty.Default.(int)
|
||||
// produciblesnapshotDescComputedAt is the schema descriptor for computed_at field.
|
||||
produciblesnapshotDescComputedAt := produciblesnapshotFields[4].Descriptor()
|
||||
// produciblesnapshot.DefaultComputedAt holds the default value on creation for the computed_at field.
|
||||
produciblesnapshot.DefaultComputedAt = produciblesnapshotDescComputedAt.Default.(int64)
|
||||
// produciblesnapshotDescSyncedAt is the schema descriptor for synced_at field.
|
||||
produciblesnapshotDescSyncedAt := produciblesnapshotFields[5].Descriptor()
|
||||
// produciblesnapshot.DefaultSyncedAt holds the default value on creation for the synced_at field.
|
||||
produciblesnapshot.DefaultSyncedAt = produciblesnapshotDescSyncedAt.Default.(func() int64)
|
||||
returnorderFields := schema.ReturnOrder{}.Fields()
|
||||
_ = returnorderFields
|
||||
// returnorderDescSourceType is the schema descriptor for source_type field.
|
||||
|
||||
Reference in New Issue
Block a user