zhangqian
2024-07-04 c950586b718ae6fc198bedf424609a4ac94cb5d1
request/location_product_amount.go
@@ -2,7 +2,13 @@
import (
   "github.com/shopspring/decimal"
   "wms/models"
)
type GetList struct {
   PageInfo
   Keyword string `json:"keyword"`
}
type AddLocationProductAmount struct {
   AdjustAmount     decimal.Decimal `json:"adjustAmount" `    //差值
@@ -14,12 +20,13 @@
type UpdateLocationProductAmount struct {
   //LocationProductAmountId int             `json:"locationProductAmountId"` //库存盘点id
   AdjustAmount     decimal.Decimal `json:"adjustAmount" `    //差值
   DifferenceAmount decimal.Decimal `json:"differenceAmount"` //计数数量
   Amount           decimal.Decimal `json:"amount"`           //库存数量
   ProductId        string          `json:"productId"`        //产品id
   OperationId      int             `json:"operationId"`      //出入库id
   LocationId       int             `json:"locationId"`       //位置id
   AdjustAmount      decimal.Decimal `json:"adjustAmount" `     //差值
   DifferenceAmount  decimal.Decimal `json:"differenceAmount"`  //计数数量
   Amount            decimal.Decimal `json:"amount"`            //库存数量
   ProductId         string          `json:"productId"`         //产品id
   OperationId       int             `json:"operationId"`       //出入库id
   LocationId        int             `json:"locationId"`        //位置id
   ProductCategoryId int             `json:"productCategoryId"` //产品种类id
}
type GetRuleList struct {
@@ -32,3 +39,14 @@
   ProductId               string `json:"productId"`               //产品id
   LocationProductAmountId int    `json:"locationProductAmountId"` //库存盘点id
}
type GetLocationProductList struct {
   PageInfo
   Keyword     string `json:"keyword"`
   WarehouseId int    `json:"warehouseId"`
   LocationId  int    `json:"locationId"`
}
type GetLocationProductListResponse struct {
   models.Material
}