zhangqian
2024-06-12 ee8c1c18382dce5394677b1066385d7ef276c2f1
response/report_forms_response.go
@@ -4,6 +4,7 @@
   "github.com/shopspring/decimal"
   "time"
   "wms/constvar"
   "wms/models"
)
type InventoryForms struct {
@@ -13,9 +14,13 @@
   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"`            //单位
}