| | |
| | | - BaseOperationTypeInternal |
| | | - BaseOperationTypeDisuse |
| | | - BaseOperationTypeAdjust |
| | | constvar.BoolType: |
| | | enum: |
| | | - 1 |
| | | - 2 |
| | | type: integer |
| | | x-enum-comments: |
| | | BoolTypeFalse: "false" |
| | | BoolTypeTrue: "true" |
| | | x-enum-varnames: |
| | | - BoolTypeTrue |
| | | - BoolTypeFalse |
| | | constvar.CostingMethod: |
| | | enum: |
| | | - 1 |
| | |
| | | - 1 |
| | | - 2 |
| | | - 3 |
| | | - 4 |
| | | type: integer |
| | | x-enum-comments: |
| | | StockoutType: 出库类型 |
| | | StorageType: 入库类型 |
| | | TakeStock: 盘点类型 |
| | | TransferType: 调拨类型 |
| | | x-enum-varnames: |
| | | - TransferType |
| | | - StorageType |
| | | - StockoutType |
| | | - TransferType |
| | | - TakeStock |
| | | constvar.OperationSource: |
| | | enum: |
| | | - 1 |
| | |
| | | type: integer |
| | | updateTime: |
| | | type: string |
| | | warehouse: |
| | | $ref: '#/definitions/models.Warehouse' |
| | | warehouseId: |
| | | type: integer |
| | | waybillNumber: |
| | |
| | | description: 成本单价 |
| | | type: number |
| | | createTime: |
| | | type: string |
| | | dealerType: |
| | | description: 出入库类型 |
| | | type: string |
| | | fromLocation: |
| | | allOf: |
| | |
| | | name: |
| | | description: 仓库名称 |
| | | type: string |
| | | openMonthStats: |
| | | allOf: |
| | | - $ref: '#/definitions/constvar.BoolType' |
| | | description: 是否开启月度统计 |
| | | outboundTransportation: |
| | | description: 出库运输 |
| | | type: integer |
| | |
| | | $ref: '#/definitions/request.OperationDetails' |
| | | type: array |
| | | id: |
| | | type: integer |
| | | inventoryDealerType: |
| | | type: integer |
| | | locationId: |
| | | description: 源位置id |
| | |
| | | token: |
| | | type: string |
| | | type: object |
| | | request.DoWarehouseMonthStats: |
| | | properties: |
| | | token: |
| | | type: string |
| | | type: object |
| | | request.EditMiniDict: |
| | | properties: |
| | | id: |
| | |
| | | type: integer |
| | | pageSize: |
| | | description: 每页大小 |
| | | type: integer |
| | | preload: |
| | | type: boolean |
| | | warehouseID: |
| | | type: integer |
| | | type: object |
| | | request.GetProductList: |
| | |
| | | type: array |
| | | id: |
| | | type: integer |
| | | inventoryDealerType: |
| | | type: integer |
| | | locationId: |
| | | description: 源位置id |
| | | type: integer |
| | |
| | | description: 状态 |
| | | toLocationId: |
| | | description: 目标位置id |
| | | type: integer |
| | | warehouseId: |
| | | description: 仓库id |
| | | type: integer |
| | | waybillNumber: |
| | | description: 运单号 |
| | |
| | | summary: 手动跑月度统计库存报表 |
| | | tags: |
| | | - 报表 |
| | | /api-wms/v1/forms/doWarehouseMonthStats: |
| | | post: |
| | | parameters: |
| | | - description: 查询参数 |
| | | in: body |
| | | name: object |
| | | required: true |
| | | schema: |
| | | $ref: '#/definitions/request.DoWarehouseMonthStats' |
| | | - description: token |
| | | in: header |
| | | name: Authorization |
| | | required: true |
| | | type: string |
| | | produces: |
| | | - application/json |
| | | responses: |
| | | "200": |
| | | description: 成功 |
| | | schema: |
| | | allOf: |
| | | - $ref: '#/definitions/util.ResponseList' |
| | | - properties: |
| | | data: |
| | | items: |
| | | $ref: '#/definitions/models.MonthStats' |
| | | type: array |
| | | type: object |
| | | summary: 手动跑月度统计库存报表 |
| | | tags: |
| | | - 报表 |
| | | /api-wms/v1/forms/downloadHistory: |
| | | post: |
| | | parameters: |
| | |
| | | type: array |
| | | type: object |
| | | summary: 月度统计库存报表 |
| | | tags: |
| | | - 报表 |
| | | /api-wms/v1/forms/warehouseMonthStats: |
| | | post: |
| | | parameters: |
| | | - description: 查询参数 |
| | | in: body |
| | | name: object |
| | | required: true |
| | | schema: |
| | | $ref: '#/definitions/request.GetMonthStats' |
| | | - description: token |
| | | in: header |
| | | name: Authorization |
| | | required: true |
| | | type: string |
| | | produces: |
| | | - application/json |
| | | responses: |
| | | "200": |
| | | description: 成功 |
| | | schema: |
| | | allOf: |
| | | - $ref: '#/definitions/util.ResponseList' |
| | | - properties: |
| | | data: |
| | | items: |
| | | $ref: '#/definitions/models.MonthStats' |
| | | type: array |
| | | type: object |
| | | summary: 仓库月度统计库存报表 |
| | | tags: |
| | | - 报表 |
| | | /api-wms/v1/location/addLocation: |
| | |
| | | "200": |
| | | description: 成功 |
| | | schema: |
| | | $ref: '#/definitions/util.Response' |
| | | allOf: |
| | | - $ref: '#/definitions/util.ResponseList' |
| | | - properties: |
| | | data: |
| | | items: |
| | | $ref: '#/definitions/models.Operation' |
| | | type: array |
| | | type: object |
| | | summary: 入库/出库列表 |
| | | tags: |
| | | - 入库/出库 |
| | |
| | | type: integer |
| | | - description: 仓库id |
| | | in: query |
| | | name: warehouseId |
| | | type: integer |
| | | name: warehouseIds |
| | | type: string |
| | | produces: |
| | | - application/json |
| | | responses: |