| | |
| | | "parameters": [ |
| | | { |
| | | "type": "string", |
| | | "description": "创建时间", |
| | | "name": "created_at", |
| | | "in": "query" |
| | | }, |
| | |
| | | { |
| | | "type": "integer", |
| | | "name": "supplierID", |
| | | "in": "query" |
| | | }, |
| | | { |
| | | "type": "string", |
| | | "name": "updated_at", |
| | | "in": "query" |
| | | } |
| | | ], |
| | |
| | | "parameters": [ |
| | | { |
| | | "type": "string", |
| | | "description": "创建时间", |
| | | "name": "created_at", |
| | | "in": "query" |
| | | }, |
| | |
| | | { |
| | | "type": "integer", |
| | | "name": "supplierID", |
| | | "in": "query" |
| | | }, |
| | | { |
| | | "type": "string", |
| | | "name": "updated_at", |
| | | "in": "query" |
| | | } |
| | | ], |
| | |
| | | "parameters": [ |
| | | { |
| | | "type": "string", |
| | | "description": "创建时间", |
| | | "name": "created_at", |
| | | "in": "query" |
| | | }, |
| | |
| | | "type": "integer", |
| | | "name": "supplierID", |
| | | "in": "query" |
| | | }, |
| | | { |
| | | "type": "string", |
| | | "name": "updated_at", |
| | | "in": "query" |
| | | } |
| | | ], |
| | | "responses": { |
| | |
| | | "parameters": [ |
| | | { |
| | | "type": "string", |
| | | "description": "创建时间", |
| | | "name": "created_at", |
| | | "in": "query" |
| | | }, |
| | |
| | | { |
| | | "type": "integer", |
| | | "name": "supplierID", |
| | | "in": "query" |
| | | }, |
| | | { |
| | | "type": "string", |
| | | "name": "updated_at", |
| | | "in": "query" |
| | | } |
| | | ], |
| | |
| | | "parameters": [ |
| | | { |
| | | "type": "string", |
| | | "description": "创建时间", |
| | | "name": "created_at", |
| | | "in": "query" |
| | | }, |
| | |
| | | "type": "integer", |
| | | "description": "管理ID", |
| | | "name": "sysUserId", |
| | | "in": "query" |
| | | }, |
| | | { |
| | | "type": "string", |
| | | "name": "updated_at", |
| | | "in": "query" |
| | | } |
| | | ], |
| | |
| | | "parameters": [ |
| | | { |
| | | "type": "string", |
| | | "description": "创建时间", |
| | | "name": "created_at", |
| | | "in": "query" |
| | | }, |
| | |
| | | { |
| | | "type": "string", |
| | | "name": "name", |
| | | "in": "query" |
| | | }, |
| | | { |
| | | "type": "string", |
| | | "name": "updated_at", |
| | | "in": "query" |
| | | } |
| | | ], |
| | |
| | | "parameters": [ |
| | | { |
| | | "type": "string", |
| | | "description": "创建时间", |
| | | "name": "created_at", |
| | | "in": "query" |
| | | }, |
| | |
| | | { |
| | | "type": "string", |
| | | "name": "startCreatedAt", |
| | | "in": "query" |
| | | }, |
| | | { |
| | | "type": "string", |
| | | "name": "updated_at", |
| | | "in": "query" |
| | | } |
| | | ], |
| | |
| | | "parameters": [ |
| | | { |
| | | "type": "string", |
| | | "description": "创建时间", |
| | | "name": "created_at", |
| | | "in": "query" |
| | | }, |
| | |
| | | { |
| | | "type": "string", |
| | | "name": "nickname", |
| | | "in": "query" |
| | | }, |
| | | { |
| | | "type": "string", |
| | | "name": "updated_at", |
| | | "in": "query" |
| | | }, |
| | | { |
| | |
| | | "parameters": [ |
| | | { |
| | | "type": "string", |
| | | "description": "创建时间", |
| | | "name": "created_at", |
| | | "in": "query" |
| | | }, |
| | |
| | | { |
| | | "type": "string", |
| | | "name": "startCreatedAt", |
| | | "in": "query" |
| | | }, |
| | | { |
| | | "type": "string", |
| | | "name": "updated_at", |
| | | "in": "query" |
| | | }, |
| | | { |
| | |
| | | "parameters": [ |
| | | { |
| | | "type": "string", |
| | | "description": "创建时间", |
| | | "name": "created_at", |
| | | "in": "query" |
| | | }, |
| | |
| | | { |
| | | "type": "string", |
| | | "name": "startCreatedAt", |
| | | "in": "query" |
| | | }, |
| | | { |
| | | "type": "string", |
| | | "name": "updated_at", |
| | | "in": "query" |
| | | }, |
| | | { |
| | |
| | | "parameters": [ |
| | | { |
| | | "type": "string", |
| | | "description": "创建时间", |
| | | "name": "created_at", |
| | | "in": "query" |
| | | }, |
| | |
| | | { |
| | | "type": "string", |
| | | "name": "unit", |
| | | "in": "query" |
| | | }, |
| | | { |
| | | "type": "string", |
| | | "name": "updated_at", |
| | | "in": "query" |
| | | } |
| | | ], |
| | |
| | | "parameters": [ |
| | | { |
| | | "type": "string", |
| | | "description": "创建时间", |
| | | "name": "created_at", |
| | | "in": "query" |
| | | }, |
| | |
| | | }, |
| | | { |
| | | "type": "string", |
| | | "name": "supplierNumber", |
| | | "in": "query" |
| | | }, |
| | | { |
| | | "type": "string", |
| | | "name": "unit", |
| | | "in": "query" |
| | | }, |
| | | { |
| | | "type": "string", |
| | | "name": "updated_at", |
| | | "in": "query" |
| | | } |
| | | ], |
| | |
| | | "parameters": [ |
| | | { |
| | | "type": "string", |
| | | "description": "创建时间", |
| | | "name": "created_at", |
| | | "in": "query" |
| | | }, |
| | |
| | | }, |
| | | { |
| | | "type": "string", |
| | | "name": "supplierNumber", |
| | | "in": "query" |
| | | }, |
| | | { |
| | | "type": "string", |
| | | "name": "unit", |
| | | "in": "query" |
| | | }, |
| | | { |
| | | "type": "string", |
| | | "name": "updated_at", |
| | | "in": "query" |
| | | } |
| | | ], |
| | |
| | | } |
| | | } |
| | | }, |
| | | "/purchase/qualityInspectList": { |
| | | "get": { |
| | | "security": [ |
| | | { |
| | | "ApiKeyAuth": [] |
| | | } |
| | | ], |
| | | "consumes": [ |
| | | "application/json" |
| | | ], |
| | | "produces": [ |
| | | "application/json" |
| | | ], |
| | | "tags": [ |
| | | "QualityInspect" |
| | | ], |
| | | "summary": "分页获取质检单列表", |
| | | "parameters": [ |
| | | { |
| | | "type": "string", |
| | | "description": "关键字", |
| | | "name": "keyword", |
| | | "in": "query" |
| | | }, |
| | | { |
| | | "type": "integer", |
| | | "description": "页码", |
| | | "name": "page", |
| | | "in": "query" |
| | | }, |
| | | { |
| | | "type": "integer", |
| | | "description": "每页大小", |
| | | "name": "pageSize", |
| | | "in": "query" |
| | | } |
| | | ], |
| | | "responses": { |
| | | "200": { |
| | | "description": "分页获取质检单列表,返回包括列表,总数,页码,每页数量", |
| | | "schema": { |
| | | "allOf": [ |
| | | { |
| | | "$ref": "#/definitions/response.Response" |
| | | }, |
| | | { |
| | | "type": "object", |
| | | "properties": { |
| | | "data": { |
| | | "$ref": "#/definitions/response.PageResult" |
| | | }, |
| | | "msg": { |
| | | "type": "string" |
| | | } |
| | | } |
| | | } |
| | | ] |
| | | } |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "/purchase/submit/{id}": { |
| | | "post": { |
| | | "security": [ |
| | |
| | | }, |
| | | { |
| | | "type": "string", |
| | | "description": "创建时间", |
| | | "name": "created_at", |
| | | "in": "query" |
| | | }, |
| | |
| | | }, |
| | | { |
| | | "type": "string", |
| | | "name": "updated_at", |
| | | "in": "query" |
| | | }, |
| | | { |
| | | "type": "string", |
| | | "name": "url", |
| | | "in": "query" |
| | | } |
| | |
| | | }, |
| | | { |
| | | "type": "string", |
| | | "description": "创建时间", |
| | | "name": "created_at", |
| | | "in": "query" |
| | | }, |
| | |
| | | { |
| | | "type": "string", |
| | | "name": "supplierType", |
| | | "in": "query" |
| | | }, |
| | | { |
| | | "type": "string", |
| | | "name": "updated_at", |
| | | "in": "query" |
| | | }, |
| | | { |
| | |
| | | "parameters": [ |
| | | { |
| | | "type": "string", |
| | | "description": "创建时间", |
| | | "name": "created_at", |
| | | "in": "query" |
| | | }, |
| | |
| | | { |
| | | "type": "string", |
| | | "name": "name", |
| | | "in": "query" |
| | | }, |
| | | { |
| | | "type": "string", |
| | | "name": "updated_at", |
| | | "in": "query" |
| | | } |
| | | ], |
| | |
| | | "parameters": [ |
| | | { |
| | | "type": "string", |
| | | "description": "创建时间", |
| | | "name": "created_at", |
| | | "in": "query" |
| | | }, |
| | |
| | | { |
| | | "type": "string", |
| | | "name": "startCreatedAt", |
| | | "in": "query" |
| | | }, |
| | | { |
| | | "type": "string", |
| | | "name": "updated_at", |
| | | "in": "query" |
| | | } |
| | | ], |
| | |
| | | "parameters": [ |
| | | { |
| | | "type": "string", |
| | | "description": "创建时间", |
| | | "name": "created_at", |
| | | "in": "query" |
| | | }, |
| | |
| | | "type": "string", |
| | | "description": "字典名(英)", |
| | | "name": "type", |
| | | "in": "query" |
| | | }, |
| | | { |
| | | "type": "string", |
| | | "name": "updated_at", |
| | | "in": "query" |
| | | } |
| | | ], |
| | |
| | | "parameters": [ |
| | | { |
| | | "type": "string", |
| | | "description": "创建时间", |
| | | "name": "created_at", |
| | | "in": "query" |
| | | }, |
| | |
| | | "type": "string", |
| | | "description": "字典名(英)", |
| | | "name": "type", |
| | | "in": "query" |
| | | }, |
| | | { |
| | | "type": "string", |
| | | "name": "updated_at", |
| | | "in": "query" |
| | | } |
| | | ], |
| | |
| | | "parameters": [ |
| | | { |
| | | "type": "string", |
| | | "description": "创建时间", |
| | | "name": "created_at", |
| | | "in": "query" |
| | | }, |
| | |
| | | "type": "integer", |
| | | "description": "关联标记", |
| | | "name": "sysDictionaryID", |
| | | "in": "query" |
| | | }, |
| | | { |
| | | "type": "string", |
| | | "name": "updated_at", |
| | | "in": "query" |
| | | }, |
| | | { |
| | |
| | | "parameters": [ |
| | | { |
| | | "type": "string", |
| | | "description": "创建时间", |
| | | "name": "created_at", |
| | | "in": "query" |
| | | }, |
| | |
| | | "type": "integer", |
| | | "description": "关联标记", |
| | | "name": "sysDictionaryID", |
| | | "in": "query" |
| | | }, |
| | | { |
| | | "type": "string", |
| | | "name": "updated_at", |
| | | "in": "query" |
| | | }, |
| | | { |
| | |
| | | }, |
| | | { |
| | | "type": "string", |
| | | "description": "创建时间", |
| | | "name": "created_at", |
| | | "in": "query" |
| | | }, |
| | |
| | | "type": "integer", |
| | | "description": "请求状态", |
| | | "name": "status", |
| | | "in": "query" |
| | | }, |
| | | { |
| | | "type": "string", |
| | | "name": "updated_at", |
| | | "in": "query" |
| | | }, |
| | | { |
| | |
| | | }, |
| | | { |
| | | "type": "string", |
| | | "description": "创建时间", |
| | | "name": "created_at", |
| | | "in": "query" |
| | | }, |
| | |
| | | "type": "integer", |
| | | "description": "请求状态", |
| | | "name": "status", |
| | | "in": "query" |
| | | }, |
| | | { |
| | | "type": "string", |
| | | "name": "updated_at", |
| | | "in": "query" |
| | | }, |
| | | { |
| | |
| | | "type": "object", |
| | | "properties": { |
| | | "created_at": { |
| | | "description": "创建时间", |
| | | "type": "string" |
| | | }, |
| | | "customerName": { |
| | |
| | | "sysUserId": { |
| | | "description": "管理ID", |
| | | "type": "integer" |
| | | }, |
| | | "updated_at": { |
| | | "type": "string" |
| | | } |
| | | } |
| | | }, |
| | |
| | | "type": "integer" |
| | | }, |
| | | "created_at": { |
| | | "description": "创建时间", |
| | | "type": "string" |
| | | }, |
| | | "exaFileChunk": { |
| | |
| | | }, |
| | | "isFinish": { |
| | | "type": "boolean" |
| | | }, |
| | | "updated_at": { |
| | | "type": "string" |
| | | } |
| | | } |
| | | }, |
| | |
| | | "type": "object", |
| | | "properties": { |
| | | "created_at": { |
| | | "description": "创建时间", |
| | | "type": "string" |
| | | }, |
| | | "exaFileID": { |
| | |
| | | "id": { |
| | | "description": "主键ID", |
| | | "type": "integer" |
| | | }, |
| | | "updated_at": { |
| | | "type": "string" |
| | | } |
| | | } |
| | | }, |
| | |
| | | "type": "object", |
| | | "properties": { |
| | | "created_at": { |
| | | "description": "创建时间", |
| | | "type": "string" |
| | | }, |
| | | "id": { |
| | |
| | | }, |
| | | "tag": { |
| | | "description": "文件标签", |
| | | "type": "string" |
| | | }, |
| | | "updated_at": { |
| | | "type": "string" |
| | | }, |
| | | "url": { |
| | |
| | | "type": "string" |
| | | }, |
| | | "created_at": { |
| | | "description": "创建时间", |
| | | "type": "string" |
| | | }, |
| | | "creator": { |
| | |
| | | } |
| | | ] |
| | | }, |
| | | "principal": { |
| | | "description": "采购负责人", |
| | | "type": "string" |
| | | }, |
| | | "purchaseType": { |
| | | "$ref": "#/definitions/purchase.PurchaseType" |
| | | }, |
| | |
| | | "description": "未收票金额", |
| | | "type": "number" |
| | | }, |
| | | "updated_at": { |
| | | "type": "string" |
| | | }, |
| | | "warehouse": { |
| | | "description": "收货仓库", |
| | | "type": "string" |
| | |
| | | "type": "number" |
| | | }, |
| | | "created_at": { |
| | | "description": "创建时间", |
| | | "type": "string" |
| | | }, |
| | | "id": { |
| | |
| | | "total": { |
| | | "description": "采购总价", |
| | | "type": "number" |
| | | }, |
| | | "updated_at": { |
| | | "type": "string" |
| | | } |
| | | } |
| | | }, |
| | |
| | | "type": "object", |
| | | "properties": { |
| | | "created_at": { |
| | | "description": "创建时间", |
| | | "type": "string" |
| | | }, |
| | | "id": { |
| | |
| | | "sort": { |
| | | "description": "排序", |
| | | "type": "integer" |
| | | }, |
| | | "updated_at": { |
| | | "type": "string" |
| | | } |
| | | } |
| | | }, |
| | | "purchase.WholeDiscountType": { |
| | | "type": "integer", |
| | | "enum": [ |
| | | 0, |
| | | 1, |
| | | 2 |
| | | ], |
| | | "x-enum-comments": { |
| | | "WholeDiscountTypeDefault": "无折扣", |
| | | "WholeDiscountTypeDiscount": "直接降价", |
| | | "WholeDiscountTypePercent": "百分比降价" |
| | | }, |
| | | "x-enum-varnames": [ |
| | | "WholeDiscountTypeDefault", |
| | | "WholeDiscountTypePercent", |
| | | "WholeDiscountTypeDiscount" |
| | | ] |
| | |
| | | "type": "string" |
| | | }, |
| | | "created_at": { |
| | | "description": "创建时间", |
| | | "type": "string" |
| | | }, |
| | | "desc": { |
| | |
| | | }, |
| | | "path": { |
| | | "description": "api路径", |
| | | "type": "string" |
| | | }, |
| | | "updated_at": { |
| | | "type": "string" |
| | | } |
| | | } |
| | |
| | | "type": "string" |
| | | }, |
| | | "created_at": { |
| | | "description": "创建时间", |
| | | "type": "string" |
| | | }, |
| | | "description": { |
| | |
| | | }, |
| | | "path": { |
| | | "description": "api路径", |
| | | "type": "string" |
| | | }, |
| | | "updated_at": { |
| | | "type": "string" |
| | | } |
| | | } |
| | |
| | | "type": "object", |
| | | "properties": { |
| | | "created_at": { |
| | | "description": "创建时间", |
| | | "type": "string" |
| | | }, |
| | | "desc": { |
| | |
| | | "type": "string" |
| | | }, |
| | | "packageName": { |
| | | "type": "string" |
| | | }, |
| | | "updated_at": { |
| | | "type": "string" |
| | | } |
| | | } |
| | |
| | | "type": "string" |
| | | }, |
| | | "created_at": { |
| | | "description": "创建时间", |
| | | "type": "string" |
| | | }, |
| | | "hidden": { |
| | |
| | | "sort": { |
| | | "description": "排序标记", |
| | | "type": "integer" |
| | | }, |
| | | "updated_at": { |
| | | "type": "string" |
| | | } |
| | | } |
| | | }, |
| | |
| | | "type": "object", |
| | | "properties": { |
| | | "created_at": { |
| | | "description": "创建时间", |
| | | "type": "string" |
| | | }, |
| | | "desc": { |
| | |
| | | }, |
| | | "sysBaseMenuID": { |
| | | "type": "integer" |
| | | }, |
| | | "updated_at": { |
| | | "type": "string" |
| | | } |
| | | } |
| | | }, |
| | |
| | | "type": "object", |
| | | "properties": { |
| | | "created_at": { |
| | | "description": "创建时间", |
| | | "type": "string" |
| | | }, |
| | | "id": { |
| | |
| | | "description": "地址栏携带参数为params还是query", |
| | | "type": "string" |
| | | }, |
| | | "updated_at": { |
| | | "type": "string" |
| | | }, |
| | | "value": { |
| | | "description": "地址栏携带参数的值", |
| | | "type": "string" |
| | |
| | | "type": "object", |
| | | "properties": { |
| | | "created_at": { |
| | | "description": "创建时间", |
| | | "type": "string" |
| | | }, |
| | | "desc": { |
| | |
| | | "type": { |
| | | "description": "字典名(英)", |
| | | "type": "string" |
| | | }, |
| | | "updated_at": { |
| | | "type": "string" |
| | | } |
| | | } |
| | | }, |
| | |
| | | "type": "object", |
| | | "properties": { |
| | | "created_at": { |
| | | "description": "创建时间", |
| | | "type": "string" |
| | | }, |
| | | "id": { |
| | |
| | | "sysDictionaryID": { |
| | | "description": "关联标记", |
| | | "type": "integer" |
| | | }, |
| | | "updated_at": { |
| | | "type": "string" |
| | | }, |
| | | "value": { |
| | | "description": "字典值", |
| | |
| | | "type": "string" |
| | | }, |
| | | "created_at": { |
| | | "description": "创建时间", |
| | | "type": "string" |
| | | }, |
| | | "hidden": { |
| | |
| | | "sort": { |
| | | "description": "排序标记", |
| | | "type": "integer" |
| | | }, |
| | | "updated_at": { |
| | | "type": "string" |
| | | } |
| | | } |
| | | }, |
| | |
| | | "type": "string" |
| | | }, |
| | | "created_at": { |
| | | "description": "创建时间", |
| | | "type": "string" |
| | | }, |
| | | "error_message": { |
| | |
| | | "status": { |
| | | "description": "请求状态", |
| | | "type": "integer" |
| | | }, |
| | | "updated_at": { |
| | | "type": "string" |
| | | }, |
| | | "user": { |
| | | "$ref": "#/definitions/system.SysUser" |
| | |
| | | "type": "string" |
| | | }, |
| | | "created_at": { |
| | | "description": "创建时间", |
| | | "type": "string" |
| | | }, |
| | | "email": { |
| | |
| | | "description": "用户侧边主题", |
| | | "type": "string" |
| | | }, |
| | | "updated_at": { |
| | | "type": "string" |
| | | }, |
| | | "userName": { |
| | | "description": "用户登录名", |
| | | "type": "string" |
| | |
| | | "type": "object", |
| | | "properties": { |
| | | "created_at": { |
| | | "description": "创建时间", |
| | | "type": "string" |
| | | }, |
| | | "fileName": { |
| | |
| | | }, |
| | | "supplierID": { |
| | | "type": "integer" |
| | | }, |
| | | "updated_at": { |
| | | "type": "string" |
| | | } |
| | | } |
| | | }, |
| | |
| | | "type": "object", |
| | | "properties": { |
| | | "created_at": { |
| | | "description": "创建时间", |
| | | "type": "string" |
| | | }, |
| | | "id": { |
| | |
| | | }, |
| | | "name": { |
| | | "type": "string" |
| | | }, |
| | | "updated_at": { |
| | | "type": "string" |
| | | } |
| | | } |
| | | }, |
| | |
| | | "type": "object", |
| | | "properties": { |
| | | "created_at": { |
| | | "description": "创建时间", |
| | | "type": "string" |
| | | }, |
| | | "id": { |
| | |
| | | "type": "integer" |
| | | }, |
| | | "nickname": { |
| | | "type": "string" |
| | | }, |
| | | "updated_at": { |
| | | "type": "string" |
| | | }, |
| | | "userName": { |
| | |
| | | "type": "object", |
| | | "properties": { |
| | | "created_at": { |
| | | "description": "创建时间", |
| | | "type": "string" |
| | | }, |
| | | "deliveryTime": { |
| | |
| | | }, |
| | | "unit": { |
| | | "type": "string" |
| | | }, |
| | | "updated_at": { |
| | | "type": "string" |
| | | } |
| | | } |
| | | }, |
| | |
| | | "$ref": "#/definitions/test.Contract" |
| | | }, |
| | | "created_at": { |
| | | "description": "创建时间", |
| | | "type": "string" |
| | | }, |
| | | "detailAddress": { |
| | |
| | | "supplierType": { |
| | | "type": "string" |
| | | }, |
| | | "updated_at": { |
| | | "type": "string" |
| | | }, |
| | | "url": { |
| | | "type": "string" |
| | | } |
| | |
| | | "type": "object", |
| | | "properties": { |
| | | "created_at": { |
| | | "description": "创建时间", |
| | | "type": "string" |
| | | }, |
| | | "id": { |
| | |
| | | }, |
| | | "name": { |
| | | "type": "string" |
| | | }, |
| | | "updated_at": { |
| | | "type": "string" |
| | | } |
| | | } |
| | | } |