1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
package request
 
import "wms/constvar"
 
type GetInventoryForms struct {
    PageInfo
    CategoryIds []int `json:"categoryIds"` //产品类型id
    //WarehouseCode string `json:"warehouseCode"` //仓库缩写
    WarehouseId int    `json:"warehouseId"` //仓库ID
    KeyWord     string `json:"keyWord"`     //搜索条件
}
 
type GetInventoryHistory struct {
    PageInfo
    ProduceId         string                     `json:"produceId"`         //产品id
    ProductName       string                     `json:"productName"`       //产品名称
    Unit              string                     `json:"unit"`              //单位
    KeyWord           string                     `json:"keyWord"`           //搜索条件
    BaseOperationType constvar.BaseOperationType `json:"baseOperationType"` //基础作业类型
    WarehouseId       string                     `json:"warehouseId"`       // 仓库ID
    WarehouseCode     string                     `json:"warehouseCode"`
}
 
type GetLocationForms struct {
    PageInfo
    KeyWord       string `json:"keyWord"`
    WareHouseCode string `json:"wareHouseCode"`
    ProductId     string `json:"productId"`
    LocationId    int    `json:"locationId"`
    LocationIds   []int  `json:"locationIds"`
}
 
type GetMonthStats struct {
    PageInfo
    Keyword     string `json:"keyword"`
    Date        string `json:"date"`
    WarehouseID int    `json:"warehouseID"`
    Preload     bool
}
 
type DoMonthStats struct {
    Token string `json:"token"`
}
 
type DoWarehouseMonthStats struct {
    Token string `json:"token"`
}