feat: 新增检测单关联、基础数据优化与入库单升级

1. 新增出库单检测单号字段并添加索引支持溯源
2. 优化基础数据页面物料类型展示与选择逻辑
3. 升级入库单导入功能,支持自动生成单号并返回导入结果
4. 优化接驳台查询排序方式
5. 修复字符串拼接空格问题
This commit is contained in:
SunYF
2026-09-21 15:28:14 +08:00
parent 0e769f3813
commit 12ca493c61
70 changed files with 25782 additions and 119 deletions
+70
View File
@@ -0,0 +1,70 @@
// Code generated by ent, DO NOT EDIT.
package predicate
import (
"entgo.io/ent/dialect/sql"
)
// AgvTask is the predicate function for agvtask builders.
type AgvTask func(*sql.Selector)
// Attachment is the predicate function for attachment builders.
type Attachment func(*sql.Selector)
// EventLog is the predicate function for eventlog builders.
type EventLog func(*sql.Selector)
// InboundDetail is the predicate function for inbounddetail builders.
type InboundDetail func(*sql.Selector)
// InboundOrder is the predicate function for inboundorder builders.
type InboundOrder func(*sql.Selector)
// InspectionRecord is the predicate function for inspectionrecord builders.
type InspectionRecord func(*sql.Selector)
// Inventory is the predicate function for inventory builders.
type Inventory func(*sql.Selector)
// InventoryLock is the predicate function for inventorylock builders.
type InventoryLock func(*sql.Selector)
// Material is the predicate function for material builders.
type Material func(*sql.Selector)
// MaterialDemand is the predicate function for materialdemand builders.
type MaterialDemand func(*sql.Selector)
// OrderMaterialLedger is the predicate function for ordermaterialledger builders.
type OrderMaterialLedger func(*sql.Selector)
// OutboundDetail is the predicate function for outbounddetail builders.
type OutboundDetail func(*sql.Selector)
// OutboundOrder is the predicate function for outboundorder builders.
type OutboundOrder func(*sql.Selector)
// Permission is the predicate function for permission builders.
type Permission func(*sql.Selector)
// ReturnOrder is the predicate function for returnorder builders.
type ReturnOrder func(*sql.Selector)
// Role is the predicate function for role builders.
type Role func(*sql.Selector)
// SemiFinished is the predicate function for semifinished builders.
type SemiFinished func(*sql.Selector)
// StocktakeItem is the predicate function for stocktakeitem builders.
type StocktakeItem func(*sql.Selector)
// StocktakeOrder is the predicate function for stocktakeorder builders.
type StocktakeOrder func(*sql.Selector)
// User is the predicate function for user builders.
type User func(*sql.Selector)
// Zone is the predicate function for zone builders.
type Zone func(*sql.Selector)