| | |
| | | } |
| | | }, |
| | | "/api-wms/v1/operation/operation/{id}": { |
| | | "post": { |
| | | "put": { |
| | | "produces": [ |
| | | "application/json" |
| | | ], |
| | |
| | | "models.Location": { |
| | | "type": "object", |
| | | "properties": { |
| | | "company": { |
| | | "description": "公司", |
| | | "allOf": [ |
| | | { |
| | | "$ref": "#/definitions/models.Company" |
| | | } |
| | | ] |
| | | }, |
| | | "companyId": { |
| | | "description": "公司id", |
| | | "type": "integer" |
| | |
| | | "description": "位置名称", |
| | | "type": "string" |
| | | }, |
| | | "nextCount": { |
| | | "description": "下次盘点", |
| | | "type": "string" |
| | | }, |
| | | "notes": { |
| | | "description": "外部备注", |
| | | "type": "string" |
| | | }, |
| | | "parentId": { |
| | | "description": "上级id", |
| | | "type": "string" |
| | | }, |
| | | "recentlyCount": { |
| | | "description": "最近盘点", |
| | | "type": "string" |
| | | }, |
| | | "replenishLocation": { |
| | |
| | | "type": "boolean" |
| | | }, |
| | | "type": { |
| | | "description": "位置类型", |
| | | "description": "Company Company ` + "`" + `json:\"company\" gorm:\"foreignKey:CompanyId\"` + "`" + ` //公司", |
| | | "allOf": [ |
| | | { |
| | | "$ref": "#/definitions/constvar.LocationType" |
| | |
| | | "description": "默认源位置id", |
| | | "type": "integer" |
| | | }, |
| | | "earlyOperations": { |
| | | "description": "预填写作业详情", |
| | | "type": "boolean" |
| | | }, |
| | | "id": { |
| | | "type": "integer" |
| | | }, |
| | | "name": { |
| | | "description": "仓库名称", |
| | | "type": "string" |
| | | }, |
| | | "prefix": { |
| | | "description": "前缀", |
| | | "type": "string" |
| | | }, |
| | | "printLabel": { |
| | |
| | | Description: "", |
| | | InfoInstanceName: "swagger", |
| | | SwaggerTemplate: docTemplate, |
| | | LeftDelim: "{{", |
| | | RightDelim: "}}", |
| | | } |
| | | |
| | | func init() { |