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
@@ -49,6 +49,8 @@ const (
FieldOutboundNo = "outbound_no"
// FieldRejectReason holds the string denoting the rejectreason field in the database.
FieldRejectReason = "reject_reason"
// FieldBorrowFrom holds the string denoting the borrowfrom field in the database.
FieldBorrowFrom = "borrow_from"
// FieldOperator holds the string denoting the operator field in the database.
FieldOperator = "operator"
// FieldCreatedAt holds the string denoting the createdat field in the database.
@@ -80,6 +82,7 @@ var Columns = []string{
FieldCrossDay,
FieldOutboundNo,
FieldRejectReason,
FieldBorrowFrom,
FieldOperator,
FieldCreatedAt,
FieldUpdatedAt,
+10
View File
@@ -1094,6 +1094,16 @@ func RejectReasonContainsFold(v string) predicate.MaterialRequest {
return predicate.MaterialRequest(sql.FieldContainsFold(FieldRejectReason, v))
}
// BorrowFromIsNil applies the IsNil predicate on the "borrowFrom" field.
func BorrowFromIsNil() predicate.MaterialRequest {
return predicate.MaterialRequest(sql.FieldIsNull(FieldBorrowFrom))
}
// BorrowFromNotNil applies the NotNil predicate on the "borrowFrom" field.
func BorrowFromNotNil() predicate.MaterialRequest {
return predicate.MaterialRequest(sql.FieldNotNull(FieldBorrowFrom))
}
// OperatorEQ applies the EQ predicate on the "operator" field.
func OperatorEQ(v string) predicate.MaterialRequest {
return predicate.MaterialRequest(sql.FieldEQ(FieldOperator, v))