| | |
| | | - 1 |
| | | - 2 |
| | | - 3 |
| | | - 4 |
| | | - 5 |
| | | type: integer |
| | | x-enum-comments: |
| | | BaseOperationTypeAdjust: 库存盘点 |
| | | BaseOperationTypeDisuse: 报废 |
| | | BaseOperationTypeIncoming: 收货 |
| | | BaseOperationTypeInternal: 内部调拨 |
| | | BaseOperationTypeOutgoing: 交货 |
| | |
| | | - BaseOperationTypeIncoming |
| | | - BaseOperationTypeOutgoing |
| | | - BaseOperationTypeInternal |
| | | - BaseOperationTypeDisuse |
| | | - BaseOperationTypeAdjust |
| | | constvar.CostingMethod: |
| | | enum: |
| | | - 1 |
| | |
| | | - 6 |
| | | - 7 |
| | | - 8 |
| | | - 9 |
| | | type: integer |
| | | x-enum-comments: |
| | | LocationTypeCustomer: 客户位置 |
| | | LocationTypeDisuse: 报废位置 |
| | | LocationTypeInternal: 内部位置 |
| | | LocationTypeInventoryLoss: 库存损失 |
| | | LocationTypeProduction: 生产 |
| | |
| | | - LocationTypeProduction |
| | | - LocationTypeTransit |
| | | - LocationTypeDisuse |
| | | - LocationTypeAdjust |
| | | constvar.MaterialMode: |
| | | enum: |
| | | - 原材料 |
| | |
| | | type: string |
| | | parentId: |
| | | description: 上级id |
| | | type: string |
| | | type: integer |
| | | recentlyCount: |
| | | description: 最近盘点 |
| | | type: string |
| | |
| | | type: object |
| | | models.Operation: |
| | | properties: |
| | | baseOperationType: |
| | | allOf: |
| | | - $ref: '#/definitions/constvar.BaseOperationType' |
| | | description: 基础作业类型 |
| | | comment: |
| | | type: string |
| | | companyID: |
| | |
| | | toLocationId: |
| | | type: integer |
| | | type: object |
| | | request.AddLocationProduct: |
| | | properties: |
| | | areaId: |
| | | description: 区域id |
| | | type: integer |
| | | locationId: |
| | | description: 位置id |
| | | type: integer |
| | | productCategoryId: |
| | | description: 产品种类id |
| | | type: integer |
| | | productId: |
| | | description: 产品id |
| | | type: string |
| | | type: object |
| | | request.AddLocationProductAmount: |
| | | properties: |
| | | adjustAmount: |
| | | description: 差值 |
| | | type: number |
| | | decimal: |
| | | description: 库存数量 |
| | | type: number |
| | | difference_amount: |
| | | description: 计数数量 |
| | | type: number |
| | | locationId: |
| | | type: integer |
| | | productId: |
| | | type: string |
| | | type: object |
| | | request.AddOperation: |
| | | properties: |
| | | comment: |
| | |
| | | sourceNumber: |
| | | type: string |
| | | type: object |
| | | request.PageInfo: |
| | | properties: |
| | | page: |
| | | description: 页码 |
| | | type: integer |
| | | pageSize: |
| | | description: 每页大小 |
| | | type: integer |
| | | type: object |
| | | request.QueryDisuseList: |
| | | properties: |
| | | number: |
| | |
| | | request.UpdateDisuse: |
| | | properties: |
| | | amount: |
| | | description: ProductName string `json:"productName"` |
| | | type: number |
| | | baseOperationType: |
| | | $ref: '#/definitions/constvar.BaseOperationType' |
| | | fromLocationId: |
| | | type: integer |
| | | id: |
| | | type: integer |
| | | number: |
| | | description: Unit string `json:"unit"` |
| | | type: string |
| | | operationDate: |
| | | type: string |
| | |
| | | toLocationId: |
| | | type: integer |
| | | type: object |
| | | request.UpdateLocationProduct: |
| | | properties: |
| | | areaId: |
| | | description: 区域id |
| | | type: integer |
| | | id: |
| | | type: integer |
| | | locationId: |
| | | description: 位置id |
| | | type: integer |
| | | productCategoryId: |
| | | description: 产品种类id |
| | | type: integer |
| | | productId: |
| | | description: 产品id |
| | | type: string |
| | | type: object |
| | | request.UpdateOperation: |
| | | properties: |
| | | baseOperationType: |
| | | allOf: |
| | | - $ref: '#/definitions/constvar.BaseOperationType' |
| | | description: 基础作业类型 |
| | | comment: |
| | | description: 备注 |
| | | type: string |
| | |
| | | summary: 修改位置 |
| | | tags: |
| | | - 位置 |
| | | /api-wms/v1/locationProduct/add: |
| | | post: |
| | | parameters: |
| | | - description: 新增上架规则 |
| | | in: body |
| | | name: object |
| | | required: true |
| | | schema: |
| | | $ref: '#/definitions/request.AddLocationProduct' |
| | | produces: |
| | | - application/json |
| | | responses: |
| | | "200": |
| | | description: 成功 |
| | | schema: |
| | | $ref: '#/definitions/util.Response' |
| | | summary: 添加上架规则 |
| | | tags: |
| | | - 上架规则 |
| | | /api-wms/v1/locationProduct/delete/{id}: |
| | | delete: |
| | | parameters: |
| | | - description: id |
| | | in: path |
| | | name: id |
| | | required: true |
| | | type: integer |
| | | produces: |
| | | - application/json |
| | | responses: |
| | | "200": |
| | | description: 成功 |
| | | schema: |
| | | $ref: '#/definitions/util.Response' |
| | | summary: 删除上架规则 |
| | | tags: |
| | | - 上架规则 |
| | | /api-wms/v1/locationProduct/list: |
| | | post: |
| | | parameters: |
| | | - description: 查询参数 |
| | | in: body |
| | | name: object |
| | | required: true |
| | | schema: |
| | | $ref: '#/definitions/request.PageInfo' |
| | | produces: |
| | | - application/json |
| | | responses: |
| | | "200": |
| | | description: 成功 |
| | | schema: |
| | | $ref: '#/definitions/util.Response' |
| | | summary: 上架规则列表 |
| | | tags: |
| | | - 上架规则 |
| | | /api-wms/v1/locationProduct/update: |
| | | post: |
| | | parameters: |
| | | - description: 修改参数 |
| | | in: body |
| | | name: object |
| | | required: true |
| | | schema: |
| | | $ref: '#/definitions/request.UpdateLocationProduct' |
| | | produces: |
| | | - application/json |
| | | responses: |
| | | "200": |
| | | description: 成功 |
| | | schema: |
| | | $ref: '#/definitions/util.Response' |
| | | summary: 修改上架规则 |
| | | tags: |
| | | - 上架规则 |
| | | /api-wms/v1/locationProductamount/add: |
| | | post: |
| | | parameters: |
| | | - description: 入库/出库信息 |
| | | in: body |
| | | name: object |
| | | required: true |
| | | schema: |
| | | $ref: '#/definitions/request.AddLocationProductAmount' |
| | | produces: |
| | | - application/json |
| | | responses: |
| | | "200": |
| | | description: 成功 |
| | | schema: |
| | | $ref: '#/definitions/util.Response' |
| | | summary: 添加库存盘点信息 |
| | | tags: |
| | | - 库存盘点 |
| | | /api-wms/v1/locationProductamount/list: |
| | | post: |
| | | parameters: |
| | | - description: 查询参数 |
| | | in: body |
| | | name: object |
| | | required: true |
| | | schema: |
| | | $ref: '#/definitions/request.PageInfo' |
| | | produces: |
| | | - application/json |
| | | responses: |
| | | "200": |
| | | description: 成功 |
| | | schema: |
| | | $ref: '#/definitions/util.Response' |
| | | summary: 库存盘点列表 |
| | | tags: |
| | | - 库存盘点 |
| | | /api-wms/v1/operation/finish/{id}: |
| | | put: |
| | | parameters: |