feat: 新增工序签字功能,移除移料指令模块
新增操作工/检验员工序签字功能,支持工艺步骤配置签字要求;删除移料指令相关代码,将移料页签重命名为产线点位(上料/下料);新增成品入库功能及相关权限;优化备料单状态、质量状态逻辑,新增批次序号字段;修复AGV取消后备料单回退状态问题。
This commit is contained in:
@@ -205,20 +205,28 @@ func init() {
|
||||
inspectionrecordDescPassQty := inspectionrecordFields[13].Descriptor()
|
||||
// inspectionrecord.DefaultPassQty holds the default value on creation for the pass_qty field.
|
||||
inspectionrecord.DefaultPassQty = inspectionrecordDescPassQty.Default.(int)
|
||||
// inspectionrecordDescBatchSeq is the schema descriptor for batch_seq field.
|
||||
inspectionrecordDescBatchSeq := inspectionrecordFields[14].Descriptor()
|
||||
// inspectionrecord.DefaultBatchSeq holds the default value on creation for the batch_seq field.
|
||||
inspectionrecord.DefaultBatchSeq = inspectionrecordDescBatchSeq.Default.(int)
|
||||
// inspectionrecordDescBatchTotal is the schema descriptor for batch_total field.
|
||||
inspectionrecordDescBatchTotal := inspectionrecordFields[15].Descriptor()
|
||||
// inspectionrecord.DefaultBatchTotal holds the default value on creation for the batch_total field.
|
||||
inspectionrecord.DefaultBatchTotal = inspectionrecordDescBatchTotal.Default.(int)
|
||||
// inspectionrecordDescRejectQty is the schema descriptor for reject_qty field.
|
||||
inspectionrecordDescRejectQty := inspectionrecordFields[14].Descriptor()
|
||||
inspectionrecordDescRejectQty := inspectionrecordFields[16].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[19].Descriptor()
|
||||
inspectionrecordDescDisposalType := inspectionrecordFields[21].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[23].Descriptor()
|
||||
inspectionrecordDescCreatedAt := inspectionrecordFields[25].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[24].Descriptor()
|
||||
inspectionrecordDescUpdatedAt := inspectionrecordFields[26].Descriptor()
|
||||
// inspectionrecord.DefaultUpdatedAt holds the default value on creation for the updated_at field.
|
||||
inspectionrecord.DefaultUpdatedAt = inspectionrecordDescUpdatedAt.Default.(func() int64)
|
||||
inventoryFields := schema.Inventory{}.Fields()
|
||||
|
||||
Reference in New Issue
Block a user