| | |
| | | description: 数量 |
| | | type: number |
| | | attachmentIDs: |
| | | description: 以下为不存库的字段 |
| | | items: |
| | | type: integer |
| | | type: array |
| | |
| | | isSale: |
| | | description: 是否销售 |
| | | type: boolean |
| | | isStorage: |
| | | description: 无库存的在wms以及srm中需要过滤掉 |
| | | type: integer |
| | | isVirtual: |
| | | description: 虚拟物料在MRP计算时跳过该层级直接领用下级物料,虚拟物料不生成工单 |
| | | type: integer |
| | | makeAdvanceTime: |
| | | description: 制造前置时间(天) |
| | | type: number |
| | |
| | | type: number |
| | | purchaseType: |
| | | $ref: '#/definitions/constvar.PurchaseType' |
| | | purchaseTypeList: |
| | | items: |
| | | type: integer |
| | | type: array |
| | | reorderRuleNum: |
| | | type: integer |
| | | salePrice: |
| | |
| | | allOf: |
| | | - $ref: '#/definitions/constvar.OperationStatus' |
| | | description: 状态 |
| | | toLocation: |
| | | allOf: |
| | | - $ref: '#/definitions/models.Location' |
| | | description: 目标位置 |
| | | toLocationId: |
| | | description: 目标位置id |
| | | type: integer |
| | | updateTime: |
| | | type: string |
| | | waybillNumber: |
| | |
| | | updateTime: |
| | | type: string |
| | | type: object |
| | | models.UnitDict: |
| | | properties: |
| | | id: |
| | | type: integer |
| | | isDefault: |
| | | type: boolean |
| | | name: |
| | | type: string |
| | | type: object |
| | | models.Warehouse: |
| | | properties: |
| | | active: |
| | |
| | | $ref: '#/definitions/models.Company' |
| | | companyId: |
| | | type: integer |
| | | contacts: |
| | | description: 联系人 |
| | | type: string |
| | | createTime: |
| | | type: string |
| | | id: |
| | |
| | | allOf: |
| | | - $ref: '#/definitions/constvar.OperationStatus' |
| | | description: 状态 |
| | | toLocationId: |
| | | description: 目标位置id |
| | | type: integer |
| | | waybillNumber: |
| | | description: 运单号 |
| | | type: string |
| | |
| | | description: 仓库编码 |
| | | maxLength: 5 |
| | | minLength: 1 |
| | | type: string |
| | | contacts: |
| | | description: 联系人 |
| | | type: string |
| | | inboundTransportation: |
| | | description: 入向运输 |
| | |
| | | allOf: |
| | | - $ref: '#/definitions/constvar.OperationStatus' |
| | | description: 状态 |
| | | toLocationId: |
| | | description: 目标位置id |
| | | type: integer |
| | | waybillNumber: |
| | | description: 运单号 |
| | | type: string |
| | |
| | | summary: 获取产品列表 |
| | | tags: |
| | | - 产品 |
| | | /api-wms/v1/product/getUnitInfo: |
| | | get: |
| | | produces: |
| | | - application/json |
| | | responses: |
| | | "200": |
| | | description: 成功 |
| | | schema: |
| | | allOf: |
| | | - $ref: '#/definitions/util.ResponseList' |
| | | - properties: |
| | | data: |
| | | items: |
| | | $ref: '#/definitions/models.UnitDict' |
| | | type: array |
| | | type: object |
| | | summary: 获取单位信息 |
| | | tags: |
| | | - 产品 |
| | | /api-wms/v1/product/getUserInfo: |
| | | get: |
| | | produces: |
| | | - application/json |
| | | responses: |
| | | "200": |
| | | description: 成功 |
| | | schema: |
| | | allOf: |
| | | - $ref: '#/definitions/util.ResponseList' |
| | | - properties: |
| | | data: |
| | | additionalProperties: true |
| | | type: object |
| | | type: object |
| | | summary: 获取登录用户信息 |
| | | tags: |
| | | - 产品 |
| | | /api-wms/v1/product/listDisuse: |
| | | post: |
| | | parameters: |