feat: 大屏多订单改为同屏并列展示,物料申请新增跨工位借料来源并移除工单完成日期

This commit is contained in:
SunYF
2026-11-02 19:17:05 +08:00
parent 0c03d32682
commit fd2f0e2767
77 changed files with 1773 additions and 664 deletions
-18
View File
@@ -172,20 +172,6 @@ func (_c *WorkOrderCreate) SetNillableCreatedBy(v *string) *WorkOrderCreate {
return _c
}
// SetDueDate sets the "dueDate" field.
func (_c *WorkOrderCreate) SetDueDate(v time.Time) *WorkOrderCreate {
_c.mutation.SetDueDate(v)
return _c
}
// SetNillableDueDate sets the "dueDate" field if the given value is not nil.
func (_c *WorkOrderCreate) SetNillableDueDate(v *time.Time) *WorkOrderCreate {
if v != nil {
_c.SetDueDate(*v)
}
return _c
}
// SetFlowCombination sets the "flowCombination" field.
func (_c *WorkOrderCreate) SetFlowCombination(v []map[string]int) *WorkOrderCreate {
_c.mutation.SetFlowCombination(v)
@@ -586,10 +572,6 @@ func (_c *WorkOrderCreate) createSpec() (*WorkOrder, *sqlgraph.CreateSpec) {
_spec.SetField(workorder.FieldCreatedBy, field.TypeString, value)
_node.CreatedBy = value
}
if value, ok := _c.mutation.DueDate(); ok {
_spec.SetField(workorder.FieldDueDate, field.TypeTime, value)
_node.DueDate = &value
}
if value, ok := _c.mutation.FlowCombination(); ok {
_spec.SetField(workorder.FieldFlowCombination, field.TypeJSON, value)
_node.FlowCombination = value