| | |
| | | util.ResponseFormatList(c, code.Success, result, int(total)) |
| | | } |
| | | |
| | | // GetOutOrInOperationList |
| | | // @Tags 报表 |
| | | // @Summary 获取出入库操作明细 |
| | | // @Produce application/json |
| | | // @Param object body request.GetLocationForms true "查询参数" |
| | | // @Success 200 {object} util.ResponseList{data=[]response.LocationForms} "成功" |
| | | // @Router /api-wms/v1/forms/getOutOrInOperationList [post] |
| | | func (slf ReportFormsController) GetOutOrInOperationList(c *gin.Context) { |
| | | |
| | | } |
| | | |
| | | // GetLocationForms |
| | | // @Tags 报表 |
| | | // @Summary 获取位置报表 |
| | |
| | | "description": "源位置", |
| | | "type": "string" |
| | | }, |
| | | "fromLocationId": { |
| | | "type": "integer" |
| | | }, |
| | | "number": { |
| | | "description": "单号", |
| | | "type": "string" |
| | | }, |
| | | "productId": { |
| | | "type": "string" |
| | | }, |
| | | "productName": { |
| | |
| | | "description": "目标位置", |
| | | "type": "string" |
| | | }, |
| | | "toLocationId": { |
| | | "type": "integer" |
| | | }, |
| | | "unit": { |
| | | "description": "单位", |
| | | "type": "string" |
| | | }, |
| | | "weight": { |
| | | "description": "重量", |
| | | "type": "number" |
| | | } |
| | | } |
| | | }, |
| | |
| | | "description": "源位置", |
| | | "type": "string" |
| | | }, |
| | | "fromLocationId": { |
| | | "type": "integer" |
| | | }, |
| | | "number": { |
| | | "description": "单号", |
| | | "type": "string" |
| | | }, |
| | | "productId": { |
| | | "type": "string" |
| | | }, |
| | | "productName": { |
| | |
| | | "description": "目标位置", |
| | | "type": "string" |
| | | }, |
| | | "toLocationId": { |
| | | "type": "integer" |
| | | }, |
| | | "unit": { |
| | | "description": "单位", |
| | | "type": "string" |
| | | }, |
| | | "weight": { |
| | | "description": "重量", |
| | | "type": "number" |
| | | } |
| | | } |
| | | }, |
| | |
| | | fromLocation: |
| | | description: 源位置 |
| | | type: string |
| | | fromLocationId: |
| | | type: integer |
| | | number: |
| | | description: 单号 |
| | | type: string |
| | | productId: |
| | | type: string |
| | | productName: |
| | | description: 产品名称 |
| | |
| | | toLocation: |
| | | description: 目标位置 |
| | | type: string |
| | | toLocationId: |
| | | type: integer |
| | | unit: |
| | | description: 单位 |
| | | type: string |
| | | weight: |
| | | description: 重量 |
| | | type: number |
| | | type: object |
| | | response.LocationForms: |
| | | properties: |