| | |
| | | } |
| | | |
| | | type OperationInfo struct { |
| | | Number string `json:"number"` //产品编码 |
| | | Name string `json:"name"` //产品名称 |
| | | Specifications string `json:"specifications"` //规格 |
| | | ModelNumber string `json:"modelNumber"` //型号 |
| | | Amount decimal.Decimal `json:"amount"` //采购数 |
| | | SendAmount int64 `json:"sendAmount"` //收货数 |
| | | OverAmount int64 `json:"overAmount"` //入库数 |
| | | Unit string `json:"unit"` //单位 |
| | | PurchasePrice decimal.Decimal `json:"purchasePrice"` //单价 |
| | | Total decimal.Decimal `json:"total"` //总价 |
| | | OperationNumber string `json:"operationNumber"` //入库单号 |
| | | WarehouseName string `json:"warehouseName"` //仓库名 |
| | | OverTime string `json:"overTime"` //入库时间 |
| | | Status int64 `json:"status"` |
| | | Principal string `json:"principal"` //负责人 |
| | | ProductInfos []ProductInfo `json:"productInfos"` |
| | | InWarehouseInfos []InWarehouseInfo `json:"inWarehouseInfos"` |
| | | } |
| | | |
| | | type ProductInfo struct { |
| | | Number string `json:"number"` //产品编码 |
| | | Name string `json:"name"` //产品名称 |
| | | Specifications string `json:"specifications"` //规格 |
| | | ModelNumber string `json:"modelNumber"` //型号 |
| | | Amount decimal.Decimal `json:"amount"` //采购数 |
| | | SendAmount int64 `json:"sendAmount"` //收货数 |
| | | OverAmount int64 `json:"overAmount"` //入库数 |
| | | Unit string `json:"unit"` //单位 |
| | | PurchasePrice decimal.Decimal `json:"purchasePrice"` //单价 |
| | | Total decimal.Decimal `json:"total"` //总价 |
| | | } |
| | | |
| | | type InWarehouseInfo struct { |
| | | Number string `json:"number"` //产品编码 |
| | | Name string `json:"name"` //产品名称 |
| | | OperationNumber string `json:"operationNumber"` //入库单号 |
| | | WarehouseName string `json:"warehouseName"` //仓库名 |
| | | OverTime string `json:"overTime"` //入库时间 |
| | | Status int64 `json:"status"` |
| | | Principal string `json:"principal"` //负责人 |
| | | OverAmount int64 `json:"overAmount"` //入库数 |
| | | } |