| | |
| | | definitions: |
| | | constvar.BaseJobType: |
| | | constvar.BaseOperationType: |
| | | enum: |
| | | - 1 |
| | | - 2 |
| | | - 3 |
| | | type: integer |
| | | x-enum-comments: |
| | | BaseJobTypeIncoming: 收货 |
| | | BaseJobTypeInternal: 内部调拨 |
| | | BaseJobTypeOutgoing: 交货 |
| | | BaseOperationTypeIncoming: 收货 |
| | | BaseOperationTypeInternal: 内部调拨 |
| | | BaseOperationTypeOutgoing: 交货 |
| | | x-enum-varnames: |
| | | - BaseJobTypeIncoming |
| | | - BaseJobTypeOutgoing |
| | | - BaseJobTypeInternal |
| | | - BaseOperationTypeIncoming |
| | | - BaseOperationTypeOutgoing |
| | | - BaseOperationTypeInternal |
| | | constvar.ReservationMethod: |
| | | enum: |
| | | - 1 |
| | |
| | | description: 排序 |
| | | type: integer |
| | | type: object |
| | | models.JobType: |
| | | models.Location: |
| | | properties: |
| | | createTime: |
| | | type: string |
| | | id: |
| | | type: integer |
| | | name: |
| | | description: 位置名称 |
| | | type: string |
| | | updateTime: |
| | | type: string |
| | | type: object |
| | | models.OperationType: |
| | | properties: |
| | | ReservationDaysBeforePriority: |
| | | description: 在优先级的前几天 |
| | | type: integer |
| | | baseJobType: |
| | | baseOperationType: |
| | | allOf: |
| | | - $ref: '#/definitions/constvar.BaseJobType' |
| | | - $ref: '#/definitions/constvar.BaseOperationType' |
| | | description: 基础作业类型 |
| | | company: |
| | | allOf: |
| | |
| | | allOf: |
| | | - $ref: '#/definitions/constvar.ReservationMethod' |
| | | description: 保留方式 |
| | | returnJobType: |
| | | returnOperationType: |
| | | description: 退货类型名称 |
| | | type: string |
| | | returnJobTypeID: |
| | | returnOperationTypeID: |
| | | description: 退货类型ID |
| | | type: integer |
| | | showOperations: |
| | |
| | | warehouseId: |
| | | description: 仓库id |
| | | type: integer |
| | | type: object |
| | | models.Location: |
| | | properties: |
| | | createTime: |
| | | type: string |
| | | id: |
| | | type: integer |
| | | name: |
| | | description: 位置名称 |
| | | type: string |
| | | updateTime: |
| | | type: string |
| | | type: object |
| | | models.Warehouse: |
| | | properties: |
| | |
| | | description: 备注 |
| | | type: string |
| | | type: object |
| | | request.AddJobType: |
| | | request.AddOperationType: |
| | | properties: |
| | | ReservationDaysBeforePriority: |
| | | description: 在优先级的前几天 |
| | | type: integer |
| | | baseJobType: |
| | | baseOperationType: |
| | | allOf: |
| | | - $ref: '#/definitions/constvar.BaseJobType' |
| | | - $ref: '#/definitions/constvar.BaseOperationType' |
| | | description: 基础作业类型 |
| | | companyId: |
| | | description: 公司id |
| | |
| | | allOf: |
| | | - $ref: '#/definitions/constvar.ReservationMethod' |
| | | description: 保留方式 |
| | | returnJobTypeID: |
| | | returnOperationTypeID: |
| | | description: 退货类型ID |
| | | type: integer |
| | | showOperations: |
| | |
| | | description: 备注 |
| | | type: string |
| | | type: object |
| | | request.UpdateJobType: |
| | | request.UpdateOperationType: |
| | | properties: |
| | | ReservationDaysBeforePriority: |
| | | description: 在优先级的前几天 |
| | | type: integer |
| | | baseJobType: |
| | | baseOperationType: |
| | | allOf: |
| | | - $ref: '#/definitions/constvar.BaseJobType' |
| | | - $ref: '#/definitions/constvar.BaseOperationType' |
| | | description: 基础作业类型 |
| | | companyId: |
| | | description: 公司id |
| | |
| | | allOf: |
| | | - $ref: '#/definitions/constvar.ReservationMethod' |
| | | description: 保留方式 |
| | | returnJobTypeID: |
| | | returnOperationTypeID: |
| | | description: 退货类型ID |
| | | type: integer |
| | | showOperations: |
| | |
| | | summary: 编辑公司 |
| | | tags: |
| | | - 公司 |
| | | /api-wms/v1/warehouse/jobType: |
| | | /api-wms/v1/warehouse/operationType: |
| | | get: |
| | | parameters: |
| | | - in: query |
| | |
| | | - properties: |
| | | data: |
| | | items: |
| | | $ref: '#/definitions/models.JobType' |
| | | $ref: '#/definitions/models.OperationType' |
| | | type: array |
| | | type: object |
| | | summary: 查询作业类型列表 |
| | |
| | | name: object |
| | | required: true |
| | | schema: |
| | | $ref: '#/definitions/request.AddJobType' |
| | | $ref: '#/definitions/request.AddOperationType' |
| | | produces: |
| | | - application/json |
| | | responses: |
| | |
| | | summary: 添加作业类型 |
| | | tags: |
| | | - 作业类型 |
| | | /api-wms/v1/warehouse/jobType/{id}: |
| | | /api-wms/v1/warehouse/operationType/{id}: |
| | | delete: |
| | | parameters: |
| | | - description: 作业类型id |
| | |
| | | name: object |
| | | required: true |
| | | schema: |
| | | $ref: '#/definitions/request.UpdateJobType' |
| | | $ref: '#/definitions/request.UpdateOperationType' |
| | | - description: 作业类型id |
| | | in: path |
| | | name: id |