liujiandao
2024-03-26 6b373cf70da0903a44ae3d7c4ebebae7c99dc2e4
docs/docs.go
@@ -16,6 +16,112 @@
    "host": "{{.Host}}",
    "basePath": "{{.BasePath}}",
    "paths": {
        "/code/getAutoCode": {
            "post": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "编码"
                ],
                "summary": "获取自动编码",
                "parameters": [
                    {
                        "description": "参数",
                        "name": "object",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/code.CodeStandard"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "schema": {
                            "allOf": [
                                {
                                    "$ref": "#/definitions/response.Response"
                                },
                                {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "type": "object",
                                            "additionalProperties": true
                                        }
                                    }
                                }
                            ]
                        }
                    }
                }
            }
        },
        "/code/getCodeList": {
            "get": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "编码"
                ],
                "summary": "获取编码列表",
                "parameters": [
                    {
                        "type": "string",
                        "name": "codeStandID",
                        "in": "query"
                    },
                    {
                        "type": "string",
                        "name": "name",
                        "in": "query"
                    },
                    {
                        "type": "integer",
                        "description": "页码",
                        "name": "page",
                        "in": "query"
                    },
                    {
                        "type": "integer",
                        "description": "每页大小",
                        "name": "pageSize",
                        "in": "query"
                    },
                    {
                        "type": "string",
                        "name": "type",
                        "in": "query"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "schema": {
                            "allOf": [
                                {
                                    "$ref": "#/definitions/response.Response"
                                },
                                {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "type": "array",
                                            "items": {
                                                "$ref": "#/definitions/code.CodeStandard"
                                            }
                                        }
                                    }
                                }
                            ]
                        }
                    }
                }
            }
        },
        "/con/createContract": {
            "post": {
                "security": [
@@ -128,61 +234,6 @@
                "responses": {
                    "200": {
                        "description": "{\"success\":true,\"data\":{},\"msg\":\"批量删除成功\"}",
                        "schema": {
                            "type": "string"
                        }
                    }
                }
            }
        },
        "/con/downloadContract": {
            "get": {
                "security": [
                    {
                        "ApiKeyAuth": []
                    }
                ],
                "consumes": [
                    "application/json"
                ],
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "Contract"
                ],
                "summary": "下载Contract",
                "parameters": [
                    {
                        "type": "string",
                        "name": "created_at",
                        "in": "query"
                    },
                    {
                        "type": "string",
                        "name": "fileName",
                        "in": "query"
                    },
                    {
                        "type": "integer",
                        "description": "主键ID",
                        "name": "id",
                        "in": "query"
                    },
                    {
                        "type": "integer",
                        "name": "supplierID",
                        "in": "query"
                    },
                    {
                        "type": "string",
                        "name": "updated_at",
                        "in": "query"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "{\"success\":true,\"data\":{},\"msg\":\"下载成功\"}",
                        "schema": {
                            "type": "string"
                        }
@@ -328,61 +379,6 @@
                }
            }
        },
        "/con/previewContract": {
            "get": {
                "security": [
                    {
                        "ApiKeyAuth": []
                    }
                ],
                "consumes": [
                    "application/json"
                ],
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "Contract"
                ],
                "summary": "预览Contract",
                "parameters": [
                    {
                        "type": "string",
                        "name": "created_at",
                        "in": "query"
                    },
                    {
                        "type": "string",
                        "name": "fileName",
                        "in": "query"
                    },
                    {
                        "type": "integer",
                        "description": "主键ID",
                        "name": "id",
                        "in": "query"
                    },
                    {
                        "type": "integer",
                        "name": "supplierID",
                        "in": "query"
                    },
                    {
                        "type": "string",
                        "name": "updated_at",
                        "in": "query"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "{\"success\":true,\"data\":{},\"msg\":\"预览成功\"}",
                        "schema": {
                            "type": "string"
                        }
                    }
                }
            }
        },
        "/con/updateContract": {
            "put": {
                "security": [
@@ -414,6 +410,61 @@
                "responses": {
                    "200": {
                        "description": "{\"success\":true,\"data\":{},\"msg\":\"更新成功\"}",
                        "schema": {
                            "type": "string"
                        }
                    }
                }
            }
        },
        "/downloadContract": {
            "get": {
                "security": [
                    {
                        "ApiKeyAuth": []
                    }
                ],
                "consumes": [
                    "application/json"
                ],
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "Contract"
                ],
                "summary": "下载Contract",
                "parameters": [
                    {
                        "type": "string",
                        "name": "created_at",
                        "in": "query"
                    },
                    {
                        "type": "string",
                        "name": "fileName",
                        "in": "query"
                    },
                    {
                        "type": "integer",
                        "description": "主键ID",
                        "name": "id",
                        "in": "query"
                    },
                    {
                        "type": "integer",
                        "name": "supplierID",
                        "in": "query"
                    },
                    {
                        "type": "string",
                        "name": "updated_at",
                        "in": "query"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "{\"success\":true,\"data\":{},\"msg\":\"下载成功\"}",
                        "schema": {
                            "type": "string"
                        }
@@ -1151,7 +1202,7 @@
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/request.GetById"
                            "$ref": "#/definitions/srm_model_common_request.GetById"
                        }
                    }
                ],
@@ -1495,6 +1546,335 @@
                        "description": "{\"success\":true,\"data\":{},\"msg\":\"更新成功\"}",
                        "schema": {
                            "type": "string"
                        }
                    }
                }
            }
        },
        "/previewContract": {
            "get": {
                "security": [
                    {
                        "ApiKeyAuth": []
                    }
                ],
                "consumes": [
                    "application/json"
                ],
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "Contract"
                ],
                "summary": "预览Contract",
                "parameters": [
                    {
                        "type": "string",
                        "name": "created_at",
                        "in": "query"
                    },
                    {
                        "type": "string",
                        "name": "fileName",
                        "in": "query"
                    },
                    {
                        "type": "integer",
                        "description": "主键ID",
                        "name": "id",
                        "in": "query"
                    },
                    {
                        "type": "integer",
                        "name": "supplierID",
                        "in": "query"
                    },
                    {
                        "type": "string",
                        "name": "updated_at",
                        "in": "query"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "{\"success\":true,\"data\":{},\"msg\":\"预览成功\"}",
                        "schema": {
                            "type": "string"
                        }
                    }
                }
            }
        },
        "/purchase/allProductInWarehouse": {
            "post": {
                "security": [
                    {
                        "ApiKeyAuth": []
                    }
                ],
                "consumes": [
                    "application/json"
                ],
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "Purchase"
                ],
                "summary": "全部合格入库",
                "parameters": [
                    {
                        "description": "参数",
                        "name": "data",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/purchaserequest.PurchaseProductConfirmInfo"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "获取确认信息",
                        "schema": {
                            "$ref": "#/definitions/response.Response"
                        }
                    }
                }
            }
        },
        "/purchase/getOperationInfo/{id}": {
            "get": {
                "security": [
                    {
                        "ApiKeyAuth": []
                    }
                ],
                "consumes": [
                    "application/json"
                ],
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "Purchase"
                ],
                "summary": "获取操作信息",
                "responses": {
                    "200": {
                        "description": "获取操作信息",
                        "schema": {
                            "allOf": [
                                {
                                    "$ref": "#/definitions/response.Response"
                                },
                                {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "type": "array",
                                            "items": {
                                                "$ref": "#/definitions/response.OperationInfo"
                                            }
                                        }
                                    }
                                }
                            ]
                        }
                    }
                }
            }
        },
        "/purchase/getPurchaseProductConfirmInfo/{number}": {
            "get": {
                "security": [
                    {
                        "ApiKeyAuth": []
                    }
                ],
                "consumes": [
                    "application/json"
                ],
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "Purchase"
                ],
                "summary": "获取确认信息",
                "parameters": [
                    {
                        "type": "string",
                        "description": "采购单编码",
                        "name": "number",
                        "in": "path",
                        "required": true
                    }
                ],
                "responses": {
                    "200": {
                        "description": "获取确认信息",
                        "schema": {
                            "allOf": [
                                {
                                    "$ref": "#/definitions/response.Response"
                                },
                                {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "type": "array",
                                            "items": {
                                                "$ref": "#/definitions/purchase.PurchaseProductConfirm"
                                            }
                                        }
                                    }
                                }
                            ]
                        }
                    }
                }
            }
        },
        "/purchase/getPurchaseQualityInspectionInfo": {
            "post": {
                "security": [
                    {
                        "ApiKeyAuth": []
                    }
                ],
                "consumes": [
                    "application/json"
                ],
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "Purchase"
                ],
                "summary": "获取采购质检信息信息",
                "parameters": [
                    {
                        "description": "参数",
                        "name": "data",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/purchaserequest.GetQualityInspectionInfo"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "获取确认信息",
                        "schema": {
                            "allOf": [
                                {
                                    "$ref": "#/definitions/response.Response"
                                },
                                {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "type": "array",
                                            "items": {
                                                "$ref": "#/definitions/purchase.PurchaseProductConfirm"
                                            }
                                        }
                                    }
                                }
                            ]
                        }
                    }
                }
            }
        },
        "/purchase/getWarehouseInfo": {
            "get": {
                "security": [
                    {
                        "ApiKeyAuth": []
                    }
                ],
                "consumes": [
                    "application/json"
                ],
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "Purchase"
                ],
                "summary": "获取仓库列表",
                "responses": {
                    "200": {
                        "description": "获取采购类型列表",
                        "schema": {
                            "allOf": [
                                {
                                    "$ref": "#/definitions/response.Response"
                                },
                                {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "type": "array",
                                            "items": {
                                                "$ref": "#/definitions/purchase_wms.SrmGetWarehouseInfoResponse"
                                            }
                                        }
                                    }
                                }
                            ]
                        }
                    }
                }
            }
        },
        "/purchase/newSubmit": {
            "post": {
                "security": [
                    {
                        "ApiKeyAuth": []
                    }
                ],
                "consumes": [
                    "application/json"
                ],
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "Purchase"
                ],
                "summary": "新版提交",
                "parameters": [
                    {
                        "type": "integer",
                        "description": "采购单ID",
                        "name": "id",
                        "in": "path",
                        "required": true
                    }
                ],
                "responses": {
                    "200": {
                        "description": "新版提交",
                        "schema": {
                            "allOf": [
                                {
                                    "$ref": "#/definitions/response.Response"
                                },
                                {
                                    "type": "object",
                                    "properties": {
                                        "msg": {
                                            "type": "string"
                                        }
                                    }
                                }
                            ]
                        }
                    }
                }
@@ -1929,6 +2309,112 @@
                }
            }
        },
        "/purchase/savePurchaseProductConfirm": {
            "post": {
                "security": [
                    {
                        "ApiKeyAuth": []
                    }
                ],
                "consumes": [
                    "application/json"
                ],
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "Purchase"
                ],
                "summary": "确认收货",
                "parameters": [
                    {
                        "description": "list",
                        "name": "data",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "type": "array",
                            "items": {
                                "$ref": "#/definitions/purchaserequest.PurchaseProductConfirmInfo"
                            }
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "确认收货",
                        "schema": {
                            "allOf": [
                                {
                                    "$ref": "#/definitions/response.Response"
                                },
                                {
                                    "type": "object",
                                    "properties": {
                                        "msg": {
                                            "type": "string"
                                        }
                                    }
                                }
                            ]
                        }
                    }
                }
            }
        },
        "/purchase/savePurchaseQualityInspectionInfo": {
            "post": {
                "security": [
                    {
                        "ApiKeyAuth": []
                    }
                ],
                "consumes": [
                    "application/json"
                ],
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "Purchase"
                ],
                "summary": "保存采购质检信息信息",
                "parameters": [
                    {
                        "description": "参数",
                        "name": "data",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/purchaserequest.SaveQualityInspectionInfo"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "获取确认信息",
                        "schema": {
                            "allOf": [
                                {
                                    "$ref": "#/definitions/response.Response"
                                },
                                {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "type": "array",
                                            "items": {
                                                "$ref": "#/definitions/purchase.PurchaseProductConfirm"
                                            }
                                        }
                                    }
                                }
                            ]
                        }
                    }
                }
            }
        },
        "/purchase/submit": {
            "post": {
                "security": [
@@ -2188,7 +2674,8 @@
                        "in": "query"
                    },
                    {
                        "type": "integer",
                        "type": "string",
                        "example": "0",
                        "description": "主键ID",
                        "name": "id",
                        "in": "query"
@@ -2237,6 +2724,42 @@
                        "type": "string",
                        "name": "url",
                        "in": "query"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "{\"success\":true,\"data\":{},\"msg\":\"查询成功\"}",
                        "schema": {
                            "type": "string"
                        }
                    }
                }
            }
        },
        "/s/getSupplierByNumber/{number}": {
            "get": {
                "security": [
                    {
                        "ApiKeyAuth": []
                    }
                ],
                "consumes": [
                    "application/json"
                ],
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "Supplier"
                ],
                "summary": "用编码查询Supplier",
                "parameters": [
                    {
                        "type": "string",
                        "description": "供应商编码",
                        "name": "number",
                        "in": "path",
                        "required": true
                    }
                ],
                "responses": {
@@ -2313,7 +2836,8 @@
                        "in": "query"
                    },
                    {
                        "type": "integer",
                        "type": "string",
                        "example": "0",
                        "description": "主键ID",
                        "name": "id",
                        "in": "query"
@@ -2879,6 +3403,69 @@
        }
    },
    "definitions": {
        "code.CodeAuto": {
            "type": "object",
            "properties": {
                "AutoLength": {
                    "type": "integer"
                },
                "Desc": {
                    "type": "string"
                },
                "PrefixMethod": {
                    "type": "integer"
                },
                "PrefixValue": {
                    "type": "string"
                },
                "SuffixMethod": {
                    "type": "integer"
                }
            }
        },
        "code.CodeRule": {
            "type": "object",
            "properties": {
                "Desc": {
                    "type": "string"
                },
                "Length": {
                    "type": "integer"
                },
                "Name": {
                    "type": "string"
                }
            }
        },
        "code.CodeStandard": {
            "type": "object",
            "properties": {
                "AutoRule": {
                    "$ref": "#/definitions/code.CodeAuto"
                },
                "ID": {
                    "type": "string"
                },
                "List": {
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/code.CodeRule"
                    }
                },
                "Method": {
                    "type": "integer"
                },
                "Name": {
                    "type": "string"
                },
                "Status": {
                    "type": "string"
                },
                "Type": {
                    "type": "string"
                }
            }
        },
        "config.CORS": {
            "type": "object",
            "properties": {
@@ -3386,21 +3973,30 @@
                2,
                3,
                4,
                5
                5,
                6,
                7,
                8
            ],
            "x-enum-comments": {
                "OrderStatusCanceled": "已取消",
                "OrderStatusCompleted": "已完成",
                "OrderStatusConfirmed": "待确认",
                "OrderStatusPartReceive": "部分收货",
                "OrderStatusReceived": "待入库",
                "OrderStatusStored": "已入库"
                "OrderStatusStored": "已入库",
                "OrderStatusWaitQuality": "待质检",
                "OrderStatusWaitReceive": "待收货"
            },
            "x-enum-varnames": [
                "OrderStatusConfirmed",
                "OrderStatusReceived",
                "OrderStatusStored",
                "OrderStatusCompleted",
                "OrderStatusCanceled"
                "OrderStatusCanceled",
                "OrderStatusWaitReceive",
                "OrderStatusPartReceive",
                "OrderStatusWaitQuality"
            ]
        },
        "purchase.PriceAdjustmentType": {
@@ -3442,7 +4038,8 @@
                },
                "id": {
                    "description": "主键ID",
                    "type": "integer"
                    "type": "string",
                    "example": "0"
                },
                "invoiceAmount": {
                    "description": "已收票金额",
@@ -3485,7 +4082,7 @@
                    ]
                },
                "principal": {
                    "description": "采购负责人",
                    "description": "仓库负责人",
                    "type": "string"
                },
                "purchaseType": {
@@ -3493,7 +4090,8 @@
                },
                "purchaseTypeId": {
                    "description": "采购类型id",
                    "type": "integer"
                    "type": "string",
                    "example": "0"
                },
                "quantity": {
                    "description": "采购数量",
@@ -3515,6 +4113,10 @@
                    "description": "签约日期",
                    "type": "string"
                },
                "sourceOrder": {
                    "description": "来源单据",
                    "type": "string"
                },
                "status": {
                    "description": "状态",
                    "allOf": [
@@ -3528,7 +4130,8 @@
                },
                "supplierId": {
                    "description": "供应商id",
                    "type": "integer"
                    "type": "string",
                    "example": "0"
                },
                "totalPrice": {
                    "description": "价税合计",
@@ -3545,6 +4148,10 @@
                    "description": "收货仓库",
                    "type": "string"
                },
                "warehouseAddress": {
                    "description": "收货仓库地址",
                    "type": "string"
                },
                "wholeDiscount": {
                    "description": "整单折扣值",
                    "type": "number"
@@ -3556,6 +4163,59 @@
                            "$ref": "#/definitions/purchase.WholeDiscountType"
                        }
                    ]
                }
            }
        },
        "purchase.PurchaseProductConfirm": {
            "type": "object",
            "properties": {
                "amount": {
                    "type": "number"
                },
                "created_at": {
                    "type": "string"
                },
                "id": {
                    "description": "主键ID",
                    "type": "string",
                    "example": "0"
                },
                "notReceiveAmount": {
                    "type": "number"
                },
                "nowReceiveAmount": {
                    "description": "本次收货数量",
                    "type": "number"
                },
                "overReceiveAmount": {
                    "type": "number"
                },
                "principal": {
                    "type": "string"
                },
                "productId": {
                    "type": "string"
                },
                "productName": {
                    "type": "string"
                },
                "purchaseNumber": {
                    "type": "string"
                },
                "specs": {
                    "type": "string"
                },
                "surplusReceiveAmount": {
                    "type": "number"
                },
                "type": {
                    "type": "string"
                },
                "unit": {
                    "type": "string"
                },
                "updated_at": {
                    "type": "string"
                }
            }
        },
@@ -3606,7 +4266,8 @@
                },
                "id": {
                    "description": "主键ID",
                    "type": "integer"
                    "type": "string",
                    "example": "0"
                },
                "name": {
                    "description": "采购类型",
@@ -3640,6 +4301,34 @@
                "WholeDiscountTypeDiscount"
            ]
        },
        "purchase_wms.SrmGetWarehouseInfoResponse": {
            "type": "object",
            "properties": {
                "info": {
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/purchase_wms.SrmWarehouseInfo"
                    }
                }
            }
        },
        "purchase_wms.SrmWarehouseInfo": {
            "type": "object",
            "properties": {
                "address": {
                    "description": "仓库地址",
                    "type": "string"
                },
                "name": {
                    "description": "仓库名",
                    "type": "string"
                },
                "principal": {
                    "description": "仓库负责人",
                    "type": "string"
                }
            }
        },
        "purchaserequest.AddPurchase": {
            "type": "object",
            "properties": {
@@ -3651,6 +4340,26 @@
                },
                "purchase": {
                    "$ref": "#/definitions/purchaserequest.Purchase"
                }
            }
        },
        "purchaserequest.GetQualityInspectionInfo": {
            "type": "object",
            "properties": {
                "purchaseNumber": {
                    "type": "string"
                },
                "status": {
                    "type": "array",
                    "items": {
                        "type": "integer"
                    }
                },
                "times": {
                    "type": "array",
                    "items": {
                        "type": "string"
                    }
                }
            }
        },
@@ -3667,7 +4376,8 @@
                },
                "id": {
                    "description": "主键ID",
                    "type": "integer"
                    "type": "string",
                    "example": "0"
                },
                "name": {
                    "description": "采购名称",
@@ -3675,6 +4385,10 @@
                },
                "number": {
                    "description": "采购编号",
                    "type": "string"
                },
                "orderSource": {
                    "description": "单据来源",
                    "type": "string"
                },
                "phone": {
@@ -3693,9 +4407,14 @@
                        }
                    ]
                },
                "principal": {
                    "description": "仓库负责人",
                    "type": "string"
                },
                "purchaseTypeId": {
                    "description": "采购类型id",
                    "type": "integer"
                    "type": "string",
                    "example": "0"
                },
                "quantity": {
                    "description": "采购数量",
@@ -3713,6 +4432,10 @@
                    "description": "签约日期",
                    "type": "string"
                },
                "sourceOrder": {
                    "description": "来源单据",
                    "type": "string"
                },
                "status": {
                    "description": "状态",
                    "allOf": [
@@ -3723,11 +4446,20 @@
                },
                "supplierId": {
                    "description": "供应商id",
                    "type": "integer"
                    "type": "string",
                    "example": "0"
                },
                "totalPrice": {
                    "description": "价税合计",
                    "type": "number"
                },
                "warehouse": {
                    "description": "收货仓库",
                    "type": "string"
                },
                "warehouseAddress": {
                    "description": "收货仓库地址",
                    "type": "string"
                },
                "wholeDiscount": {
                    "description": "整单折扣值",
@@ -3743,12 +4475,54 @@
                }
            }
        },
        "purchaserequest.PurchaseProductConfirmInfo": {
            "type": "object",
            "properties": {
                "amount": {
                    "type": "number"
                },
                "notReceiveAmount": {
                    "type": "number"
                },
                "nowReceiveAmount": {
                    "type": "number"
                },
                "overReceiveAmount": {
                    "type": "number"
                },
                "principal": {
                    "type": "string"
                },
                "productId": {
                    "type": "string"
                },
                "productName": {
                    "type": "string"
                },
                "purchaseNumber": {
                    "type": "string"
                },
                "specs": {
                    "type": "string"
                },
                "surplusReceiveAmount": {
                    "type": "number"
                },
                "type": {
                    "type": "string"
                },
                "unit": {
                    "type": "string"
                }
            }
        },
        "purchaserequest.PurchaseType": {
            "type": "object",
            "properties": {
                "id": {
                    "description": "主键ID",
                    "type": "integer"
                    "type": "string",
                    "example": "0"
                },
                "name": {
                    "description": "采购类型",
@@ -3764,6 +4538,23 @@
                }
            }
        },
        "purchaserequest.SaveQualityInspectionInfo": {
            "type": "object",
            "properties": {
                "ids": {
                    "type": "array",
                    "items": {
                        "type": "integer"
                    }
                },
                "purchaseId": {
                    "type": "integer"
                },
                "status": {
                    "type": "integer"
                }
            }
        },
        "purchaserequest.UpdatePurchase": {
            "type": "object",
            "properties": {
@@ -3775,15 +4566,6 @@
                },
                "purchase": {
                    "$ref": "#/definitions/purchaserequest.Purchase"
                }
            }
        },
        "request.GetById": {
            "type": "object",
            "properties": {
                "id": {
                    "description": "主键ID",
                    "type": "integer"
                }
            }
        },
@@ -3886,6 +4668,70 @@
                }
            }
        },
        "response.OperationInfo": {
            "type": "object",
            "properties": {
                "amount": {
                    "description": "采购数",
                    "type": "number"
                },
                "modelNumber": {
                    "description": "型号",
                    "type": "string"
                },
                "name": {
                    "description": "产品名称",
                    "type": "string"
                },
                "number": {
                    "description": "产品编码",
                    "type": "string"
                },
                "operationNumber": {
                    "description": "入库单号",
                    "type": "string"
                },
                "overAmount": {
                    "description": "入库数",
                    "type": "integer"
                },
                "overTime": {
                    "description": "入库时间",
                    "type": "string"
                },
                "principal": {
                    "description": "负责人",
                    "type": "string"
                },
                "purchasePrice": {
                    "description": "单价",
                    "type": "number"
                },
                "sendAmount": {
                    "description": "发货数",
                    "type": "integer"
                },
                "specifications": {
                    "description": "规格",
                    "type": "string"
                },
                "status": {
                    "type": "integer"
                },
                "total": {
                    "description": "总价",
                    "type": "number"
                },
                "unit": {
                    "description": "单位",
                    "type": "string"
                },
                "warehouseName": {
                    "description": "仓库名",
                    "type": "string"
                }
            }
        },
        "response.PageResult": {
            "type": "object",
            "properties": {
@@ -3938,6 +4784,10 @@
                "purchasePrice": {
                    "type": "number"
                },
                "remark": {
                    "description": "描述",
                    "type": "string"
                },
                "shippingDuration": {
                    "type": "integer"
                },
@@ -3976,6 +4826,15 @@
                "data": {},
                "msg": {
                    "type": "string"
                }
            }
        },
        "srm_model_common_request.GetById": {
            "type": "object",
            "properties": {
                "id": {
                    "description": "主键ID",
                    "type": "integer"
                }
            }
        },
@@ -4082,7 +4941,8 @@
                },
                "id": {
                    "description": "主键ID",
                    "type": "integer"
                    "type": "string",
                    "example": "0"
                },
                "industry": {
                    "type": "string"