| | |
| | | "github.com/shopspring/decimal" |
| | | "time" |
| | | "wms/constvar" |
| | | "wms/models" |
| | | ) |
| | | |
| | | type InventoryForms struct { |
| | |
| | | Cost decimal.Decimal `json:"cost"` //成本 |
| | | Value decimal.Decimal `json:"value"` //总价值 |
| | | Amount decimal.Decimal `json:"amount"` //在库数量 |
| | | AmountMoreUnits []models.UnitItems `json:"amountMoreUnits"` //在库数量多单位 |
| | | AvailableNumber decimal.Decimal `json:"availableNumber"` //可用库存 |
| | | AvailableNumberMoreUnits []models.UnitItems `json:"availableNumberMoreUnits"` //可用库存多单位 |
| | | In decimal.Decimal `json:"in"` //入库 |
| | | InMoreUnits []models.UnitItems `json:"inMoreUnits"` //入库多单位 |
| | | Out decimal.Decimal `json:"out"` //出库 |
| | | OutMoreUnits []models.UnitItems `json:"outMoreUnits"` //出库多单位 |
| | | Unit string `json:"unit"` //单位 |
| | | } |
| | | |