| | |
| | | required: |
| | | - code |
| | | type: object |
| | | request.GetInventoryForms: |
| | | properties: |
| | | categoryIds: |
| | | description: 产品类型id |
| | | items: |
| | | type: integer |
| | | type: array |
| | | page: |
| | | description: 页码 |
| | | type: integer |
| | | pageSize: |
| | | description: 每页大小 |
| | | type: integer |
| | | warehouseCode: |
| | | description: 仓库缩写 |
| | | type: string |
| | | type: object |
| | | request.GetInventoryHistory: |
| | | properties: |
| | | page: |
| | | description: 页码 |
| | | type: integer |
| | | pageSize: |
| | | description: 每页大小 |
| | | type: integer |
| | | produceId: |
| | | description: 产品id |
| | | type: string |
| | | productName: |
| | | description: 产品名称 |
| | | type: string |
| | | unit: |
| | | description: 单位 |
| | | type: string |
| | | type: object |
| | | request.GetProductList: |
| | | properties: |
| | | categoryId: |
| | |
| | | pageSize: |
| | | description: 每页大小 |
| | | type: integer |
| | | sourceNumber: |
| | | type: string |
| | | type: object |
| | | request.PageInfo: |
| | | properties: |
| | |
| | | pageSize: |
| | | description: 每页大小 |
| | | type: integer |
| | | sourceNumber: |
| | | type: string |
| | | type: object |
| | | request.QueryOperationHistory: |
| | | properties: |
| | |
| | | type: integer |
| | | productCategoryId: |
| | | description: 产品种类id |
| | | type: integer |
| | | productId: |
| | | description: 产品id |
| | | type: string |
| | | type: object |
| | | request.UpdateLocationProductAmount: |
| | | properties: |
| | | Amount: |
| | | description: 库存数量 |
| | | type: number |
| | | adjustAmount: |
| | | description: LocationProductAmountId int `json:"locationProductAmountId"` |
| | | //库存盘点id |
| | | type: number |
| | | differenceAmount: |
| | | description: 计数数量 |
| | | type: number |
| | | operationId: |
| | | description: 出入库id |
| | | type: integer |
| | | productId: |
| | | description: 产品id |
| | |
| | | warehouseId: |
| | | description: 仓库id |
| | | type: integer |
| | | type: object |
| | | response.InventoryForms: |
| | | properties: |
| | | amount: |
| | | description: 在库数量 |
| | | type: number |
| | | availableNumber: |
| | | description: 可用库存 |
| | | type: number |
| | | cost: |
| | | description: 成本 |
| | | type: number |
| | | in: |
| | | description: 入库 |
| | | type: number |
| | | out: |
| | | description: 出库 |
| | | type: number |
| | | produceId: |
| | | description: 产品id |
| | | type: string |
| | | productName: |
| | | description: 产品名称 |
| | | type: string |
| | | productType: |
| | | description: 产品类型 |
| | | type: string |
| | | unit: |
| | | description: 单位 |
| | | type: string |
| | | value: |
| | | description: 总价值 |
| | | type: number |
| | | type: object |
| | | response.InventoryHistory: |
| | | properties: |
| | | amount: |
| | | description: 数量 |
| | | type: number |
| | | baseOperationType: |
| | | allOf: |
| | | - $ref: '#/definitions/constvar.BaseOperationType' |
| | | description: 基础作业类型 |
| | | contactedName: |
| | | description: 完成者 |
| | | type: string |
| | | date: |
| | | description: 日期 |
| | | type: string |
| | | fromLocation: |
| | | description: 源位置 |
| | | type: string |
| | | number: |
| | | description: 单号 |
| | | type: string |
| | | toLocation: |
| | | description: 目标位置 |
| | | type: string |
| | | unit: |
| | | description: 单位 |
| | | type: string |
| | | type: object |
| | | response.LocationForms: |
| | | properties: |
| | | amount: |
| | | description: 数量 |
| | | type: number |
| | | locationName: |
| | | description: 位置名称 |
| | | type: string |
| | | produceId: |
| | | description: 产品id |
| | | type: string |
| | | productName: |
| | | description: 产品名称 |
| | | type: string |
| | | productTypeName: |
| | | description: 产品类别 |
| | | type: string |
| | | unit: |
| | | description: 单位 |
| | | type: string |
| | | value: |
| | | description: 总价值 |
| | | type: number |
| | | type: object |
| | | util.Response: |
| | | properties: |
| | |
| | | summary: 编辑公司 |
| | | tags: |
| | | - 公司 |
| | | /api-wms/v1/forms/getHistory: |
| | | post: |
| | | parameters: |
| | | - description: 查询参数 |
| | | in: body |
| | | name: object |
| | | required: true |
| | | schema: |
| | | $ref: '#/definitions/request.GetInventoryHistory' |
| | | produces: |
| | | - application/json |
| | | responses: |
| | | "200": |
| | | description: 成功 |
| | | schema: |
| | | allOf: |
| | | - $ref: '#/definitions/util.ResponseList' |
| | | - properties: |
| | | data: |
| | | items: |
| | | $ref: '#/definitions/response.InventoryHistory' |
| | | type: array |
| | | type: object |
| | | summary: 获取历史信息 |
| | | tags: |
| | | - 报表 |
| | | /api-wms/v1/forms/getInventoryForms: |
| | | post: |
| | | parameters: |
| | | - description: 查询参数 |
| | | in: body |
| | | name: object |
| | | required: true |
| | | schema: |
| | | $ref: '#/definitions/request.GetInventoryForms' |
| | | produces: |
| | | - application/json |
| | | responses: |
| | | "200": |
| | | description: 成功 |
| | | schema: |
| | | allOf: |
| | | - $ref: '#/definitions/util.ResponseList' |
| | | - properties: |
| | | data: |
| | | items: |
| | | $ref: '#/definitions/response.InventoryForms' |
| | | type: array |
| | | type: object |
| | | summary: 获取库存报表 |
| | | tags: |
| | | - 报表 |
| | | /api-wms/v1/forms/getLocationForms: |
| | | post: |
| | | parameters: |
| | | - description: 查询参数 |
| | | in: body |
| | | name: object |
| | | required: true |
| | | schema: |
| | | $ref: '#/definitions/request.PageInfo' |
| | | produces: |
| | | - application/json |
| | | responses: |
| | | "200": |
| | | description: 成功 |
| | | schema: |
| | | allOf: |
| | | - $ref: '#/definitions/util.ResponseList' |
| | | - properties: |
| | | data: |
| | | items: |
| | | $ref: '#/definitions/response.LocationForms' |
| | | type: array |
| | | type: object |
| | | summary: 获取位置报表 |
| | | tags: |
| | | - 报表 |
| | | /api-wms/v1/location/addLocation: |
| | | post: |
| | | parameters: |
| | |
| | | summary: 库存盘点列表 |
| | | tags: |
| | | - 库存盘点 |
| | | /api-wms/v1/locationProductAmount/update: |
| | | post: |
| | | parameters: |
| | | - description: 入库/出库信息 |
| | | in: body |
| | | name: object |
| | | required: true |
| | | schema: |
| | | $ref: '#/definitions/request.UpdateLocationProductAmount' |
| | | produces: |
| | | - application/json |
| | | responses: |
| | | "200": |
| | | description: 成功 |
| | | schema: |
| | | $ref: '#/definitions/util.Response' |
| | | summary: 修改库存盘点信息 |
| | | tags: |
| | | - 库存盘点 |
| | | /api-wms/v1/operation/finish/{id}: |
| | | put: |
| | | parameters: |