feat: 完成区域管理、装箱功能优化与接口标准化
- 新增区域状态字段与增删改查接口,支持区域启用/停用 - 重构实体字段JSON标签为camelCase格式统一接口规范 - 优化入库、盘点、装箱流程的交互与提示文案 - 新增装箱管理功能,支持合同号关联与装箱编辑 - 调整前端菜单与帮助文档适配业务场景变更
This commit is contained in:
@@ -17,19 +17,19 @@ type InboundOrder struct {
|
||||
// ID of the ent.
|
||||
ID int `json:"id,omitempty"`
|
||||
// 入库单号
|
||||
InboundNo string `json:"inbound_no,omitempty"`
|
||||
InboundNo string `json:"inboundNo,omitempty"`
|
||||
// 入库类型
|
||||
InboundType string `json:"inbound_type,omitempty"`
|
||||
InboundType string `json:"inboundType,omitempty"`
|
||||
// 物料编码
|
||||
MaterialCode string `json:"material_code,omitempty"`
|
||||
MaterialCode string `json:"materialCode,omitempty"`
|
||||
// 物料名称(冗余)
|
||||
MaterialName string `json:"material_name,omitempty"`
|
||||
MaterialName string `json:"materialName,omitempty"`
|
||||
// ManageMode holds the value of the "manage_mode" field.
|
||||
ManageMode int `json:"manage_mode,omitempty"`
|
||||
ManageMode int `json:"manageMode,omitempty"`
|
||||
// 批次号(结构件)
|
||||
BatchNo string `json:"batch_no,omitempty"`
|
||||
BatchNo string `json:"batchNo,omitempty"`
|
||||
// 入库区域
|
||||
ZoneCode string `json:"zone_code,omitempty"`
|
||||
ZoneCode string `json:"zoneCode,omitempty"`
|
||||
// 数量
|
||||
Quantity int `json:"quantity,omitempty"`
|
||||
// 操作人
|
||||
@@ -37,7 +37,7 @@ type InboundOrder struct {
|
||||
// 备注
|
||||
Remark string `json:"remark,omitempty"`
|
||||
// CreatedAt holds the value of the "created_at" field.
|
||||
CreatedAt int64 `json:"created_at,omitempty"`
|
||||
CreatedAt int64 `json:"createdAt,omitempty"`
|
||||
selectValues sql.SelectValues
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user