| | |
| | | models.OperationDetails: |
| | | properties: |
| | | amount: |
| | | description: 数量 |
| | | description: ProductName string `json:"productName" gorm:"type:varchar(255);not |
| | | null;comment:产品名称"` //产品名称 |
| | | type: number |
| | | createTime: |
| | | type: string |
| | |
| | | operationId: |
| | | description: 操作id |
| | | type: integer |
| | | product: |
| | | allOf: |
| | | - $ref: '#/definitions/models.Material' |
| | | description: Unit string `json:"unit" gorm:"type:varchar(31);comment:单位"` //单位 |
| | | productId: |
| | | description: 产品id |
| | | type: string |
| | | productName: |
| | | description: 产品名称 |
| | | type: string |
| | | unit: |
| | | type: string |
| | | updateTime: |
| | | type: string |
| | | type: object |
| | | models.OperationType: |
| | | properties: |
| | | ReservationDaysBeforePriority: |
| | | description: 在优先级的前几天 |
| | | type: integer |
| | | baseOperationType: |
| | | allOf: |
| | | - $ref: '#/definitions/constvar.BaseOperationType' |
| | | description: 基础作业类型 |
| | | company: |
| | | allOf: |
| | | - $ref: '#/definitions/models.Company' |
| | | description: 公司 |
| | | companyId: |
| | | description: 公司id |
| | | type: integer |
| | | createBackorder: |
| | | allOf: |
| | | - $ref: '#/definitions/constvar.WhetherType' |
| | | description: 创建欠单 |
| | | createTime: |
| | | type: string |
| | | defaultLocationDest: |
| | | allOf: |
| | | - $ref: '#/definitions/models.Location' |
| | | description: 默认目标位置 |
| | | defaultLocationDestId: |
| | | description: 默认目标位置id |
| | | type: integer |
| | | defaultLocationSrc: |
| | | allOf: |
| | | - $ref: '#/definitions/models.Location' |
| | | description: 默认源位置 |
| | | defaultLocationSrcId: |
| | | description: 默认源位置id |
| | | type: integer |
| | | earlyOperations: |
| | | description: 预填写作业详情 |
| | | type: boolean |
| | | id: |
| | | type: integer |
| | | name: |
| | | description: 仓库名称 |
| | | type: string |
| | | prefix: |
| | | description: 前缀 |
| | | type: string |
| | | printLabel: |
| | | description: 是否打印标签 |
| | | type: boolean |
| | | reservationDaysBefore: |
| | | description: 收货前几天 |
| | | type: integer |
| | | reservationMethod: |
| | | allOf: |
| | | - $ref: '#/definitions/constvar.ReservationMethod' |
| | | description: 保留方式 |
| | | returnOperationType: |
| | | description: 退货类型名称 |
| | | type: string |
| | | returnOperationTypeID: |
| | | description: 退货类型ID |
| | | type: integer |
| | | showOperations: |
| | | description: 显示作业详情 |
| | | type: boolean |
| | | updateTime: |
| | | type: string |
| | | warehouse: |
| | | allOf: |
| | | - $ref: '#/definitions/models.Warehouse' |
| | | description: 仓库 |
| | | warehouseId: |
| | | description: 仓库id |
| | | type: integer |
| | | type: object |
| | | models.ProductCategory: |
| | | properties: |
| | |
| | | request.AddDisuse: |
| | | properties: |
| | | amount: |
| | | description: ProductName string `json:"productName"` |
| | | type: number |
| | | fromLocationId: |
| | | type: integer |
| | | productId: |
| | | type: string |
| | | productName: |
| | | type: string |
| | | sourceNumber: |
| | | type: string |
| | | toLocationId: |
| | | type: integer |
| | | unit: |
| | | type: string |
| | | type: object |
| | | request.AddOperation: |
| | | properties: |
| | |
| | | description: 操作id |
| | | type: integer |
| | | amount: |
| | | description: 数量 |
| | | description: ProductName string `json:"productName" gorm:"type:varchar(255);not |
| | | null;comment:产品名称"` //产品名称 |
| | | type: number |
| | | productId: |
| | | description: 产品id |
| | | type: string |
| | | productName: |
| | | description: 产品名称 |
| | | type: string |
| | | unit: |
| | | type: string |
| | | type: object |
| | | request.OperationList: |
| | |
| | | request.UpdateDisuse: |
| | | properties: |
| | | amount: |
| | | description: ProductName string `json:"productName"` |
| | | type: number |
| | | fromLocationId: |
| | | type: integer |
| | | id: |
| | | type: integer |
| | | number: |
| | | description: Unit string `json:"unit"` |
| | | type: string |
| | | operationDate: |
| | | type: string |
| | | productId: |
| | | type: string |
| | | productName: |
| | | type: string |
| | | sourceNumber: |
| | | type: string |
| | |
| | | $ref: '#/definitions/constvar.OperationStatus' |
| | | toLocationId: |
| | | type: integer |
| | | unit: |
| | | type: string |
| | | type: object |
| | | request.UpdateOperation: |
| | | properties: |
| | |
| | | "200": |
| | | description: 成功 |
| | | schema: |
| | | allOf: |
| | | - $ref: '#/definitions/util.ResponseList' |
| | | - properties: |
| | | data: |
| | | items: |
| | | $ref: '#/definitions/models.OperationType' |
| | | type: array |
| | | type: object |
| | | $ref: '#/definitions/util.ResponseList' |
| | | summary: 查询作业类型列表 |
| | | tags: |
| | | - 业务类型 |