| | |
| | | "in": "body", |
| | | "required": true, |
| | | "schema": { |
| | | "$ref": "#/definitions/request.PageInfo" |
| | | "$ref": "#/definitions/request.GetList" |
| | | } |
| | | } |
| | | ], |
| | |
| | | "type": "string" |
| | | }, |
| | | "companyID": { |
| | | "type": "integer" |
| | | "type": "string" |
| | | }, |
| | | "companyName": { |
| | | "type": "string" |
| | |
| | | "amount": { |
| | | "description": "ProductName string ` + "`" + `json:\"productName\" gorm:\"type:varchar(255);not null;comment:产品名称\"` + "`" + ` //产品名称", |
| | | "type": "number" |
| | | }, |
| | | "auxiliaryAmount": { |
| | | "type": "number" |
| | | }, |
| | | "auxiliaryUnit": { |
| | | "type": "string" |
| | | }, |
| | | "createTime": { |
| | | "type": "string" |
| | |
| | | }, |
| | | "companyID": { |
| | | "description": "公司ID-客户", |
| | | "type": "integer" |
| | | "type": "string" |
| | | }, |
| | | "companyName": { |
| | | "description": "公司名称-客户名称", |
| | |
| | | } |
| | | } |
| | | }, |
| | | "request.GetList": { |
| | | "type": "object", |
| | | "properties": { |
| | | "keyword": { |
| | | "type": "string" |
| | | }, |
| | | "page": { |
| | | "description": "页码", |
| | | "type": "integer" |
| | | }, |
| | | "pageSize": { |
| | | "description": "每页大小", |
| | | "type": "integer" |
| | | } |
| | | } |
| | | }, |
| | | "request.GetLocationForms": { |
| | | "type": "object", |
| | | "properties": { |
| | |
| | | "amount": { |
| | | "description": "ProductName string ` + "`" + `json:\"productName\" gorm:\"type:varchar(255);not null;comment:产品名称\"` + "`" + ` //产品名称", |
| | | "type": "number" |
| | | }, |
| | | "auxiliaryAmount": { |
| | | "description": "辅助数量", |
| | | "type": "number" |
| | | }, |
| | | "auxiliaryUnit": { |
| | | "description": "辅助单位", |
| | | "type": "string" |
| | | }, |
| | | "fromLocationId": { |
| | | "description": "Unit string ` + "`" + `json:\"unit\" gorm:\"type:varchar(31);comment:单位\"` + "`" + ` //单位\nProduct models.Material ` + "`" + `json:\"product\" gorm:\"foreignKey:ProductId;references:ID\"` + "`" + `", |
| | |
| | | }, |
| | | "companyID": { |
| | | "description": "公司ID-客户", |
| | | "type": "integer" |
| | | "type": "string" |
| | | }, |
| | | "companyName": { |
| | | "description": "公司名称-客户名称", |