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
@@ -63,6 +63,8 @@ const (
FieldBoxSnList = "box_sn_list"
// FieldContractNo holds the string denoting the contract_no field in the database.
FieldContractNo = "contract_no"
// FieldBorrowFrom holds the string denoting the borrowfrom field in the database.
FieldBorrowFrom = "borrow_from"
// FieldInspectionNo holds the string denoting the inspection_no field in the database.
FieldInspectionNo = "inspection_no"
// FieldProductWorkNo holds the string denoting the product_work_no field in the database.
@@ -102,6 +104,7 @@ var Columns = []string{
FieldBoxNo,
FieldBoxSnList,
FieldContractNo,
FieldBorrowFrom,
FieldInspectionNo,
FieldProductWorkNo,
FieldCreatedAt,
+10
View File
@@ -1938,6 +1938,16 @@ func ContractNoContainsFold(v string) predicate.OutboundOrder {
return predicate.OutboundOrder(sql.FieldContainsFold(FieldContractNo, v))
}
// BorrowFromIsNil applies the IsNil predicate on the "borrowFrom" field.
func BorrowFromIsNil() predicate.OutboundOrder {
return predicate.OutboundOrder(sql.FieldIsNull(FieldBorrowFrom))
}
// BorrowFromNotNil applies the NotNil predicate on the "borrowFrom" field.
func BorrowFromNotNil() predicate.OutboundOrder {
return predicate.OutboundOrder(sql.FieldNotNull(FieldBorrowFrom))
}
// InspectionNoEQ applies the EQ predicate on the "inspection_no" field.
func InspectionNoEQ(v string) predicate.OutboundOrder {
return predicate.OutboundOrder(sql.FieldEQ(FieldInspectionNo, v))