zhangqian
2024-06-14 2ec42065712b96ac32ea706869949bf88f04770f
response/report_forms_response.go
@@ -2,7 +2,6 @@
import (
   "github.com/shopspring/decimal"
   "time"
   "wms/constvar"
   "wms/models"
)
@@ -25,18 +24,18 @@
}
type InventoryHistory struct {
   Number            string                     `json:"number"`            //单号
   Date              time.Time                  `json:"date"`              //日期
   ProductName       string                     `json:"productName"`       //产品名称
   FromLocation      string                     `json:"fromLocation"`      //源位置
   ToLocation        string                     `json:"toLocation"`        //目标位置
   Amount            decimal.Decimal            `json:"amount"`            //数量
   AmountMoreUnits   []models.UnitItems         `json:"amountMoreUnits"`   //数量多单位
   Unit              string                     `json:"unit"`              //单位
   ContactedName     string                     `json:"contactedName"`     //完成者
   Status            string                     `json:"status"`            //状态
   BaseOperationType constvar.BaseOperationType `json:"baseOperationType"` //基础作业类型
   Weight            decimal.Decimal            `json:"weight"`            //重量
   Number            string                     `json:"number"`                   //单号
   Date              string                     `json:"date"`                     //日期
   ProductName       string                     `json:"productName"`              //产品名称
   FromLocation      string                     `json:"fromLocation"`             //源位置
   ToLocation        string                     `json:"toLocation"`               //目标位置
   Amount            decimal.Decimal            `json:"amount"`                   //数量
   AmountMoreUnits   []models.UnitItems         `json:"amountMoreUnits" gorm:"-"` //数量多单位
   Unit              string                     `json:"unit"`                     //单位
   ContactedName     string                     `json:"contactedName"`            //完成者
   Status            string                     `json:"status"`                   //状态
   BaseOperationType constvar.BaseOperationType `json:"baseOperationType"`        //基础作业类型
   Weight            decimal.Decimal            `json:"weight"`                   //重量
   ProductId         string                     `json:"productId"`
   FromLocationId    int                        `json:"fromLocationId"`
   ToLocationId      int                        `json:"toLocationId"`