| | |
| | | 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 |
| | |
| | | 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: |