yinbentan
2024-06-28 9b60ddba27ef778419da5089e3b30ebe173afd7d
request/operation.go
@@ -36,6 +36,8 @@
   Accountant        string              `json:"accountant" gorm:"type:varchar(255);comment:会计名称"`
   CustodianId       string              `json:"custodianId" gorm:"type:varchar(255);comment:保管员id"`
   Custodian         string              `json:"custodian" gorm:"type:varchar(255);comment:保管员名称"`
   BaseOperationType constvar.BaseOperationType `json:"baseOperationType" gorm:"type:tinyint;not null;comment:基础作业类型"` //基础作业类型 5库存盘点
   WarehouseId       int                        `json:"warehouseId" gorm:"type:int;not null;comment:仓库id"`             //仓库id
}
type OperationDetails struct {
@@ -60,6 +62,7 @@
type OperationList struct {
   PageInfo
   OperationTypeId int                      `json:"operationTypeId" form:"operationTypeId"`
   BaseOperationType constvar.BaseOperationType `json:"baseOperationType"` // 1 入库 2 出库 3 内部调拨 4 报废 5 库存盘点
   Number          string                   `json:"number"`
   Status          constvar.OperationStatus `json:"status"`
}