jiangshuai
2023-11-03 015c07410b59bafd606bd4f567a61355c4f15958
request/reorder_rule_request.go
New file
@@ -0,0 +1,27 @@
package request
import (
   "github.com/shopspring/decimal"
   "wms/constvar"
)
type GetReorderRuleList struct {
   PageInfo
   KeyWord    string `json:"keyWord"`
   LocationId int    `json:"locationId"`
   ProductId  string `json:"productId"`
   Type       string `json:"type"` //类型:bh=补货
}
type ProductAmount struct {
   ProductId         string                     `json:"productId"`
   ToLocationId      int                        `json:"toLocationId"`
   FromLocationId    int                        `json:"fromLocationId"`
   Amount            decimal.Decimal            `json:"amount"`
   BaseOperationType constvar.BaseOperationType `json:"baseOperationType"`
}
type GetAmountAndPrediction struct {
   ProductId  string `json:"productId"`
   LocationId int    `json:"locationId"`
}