zhangqian
2024-04-07 bd33bea0f3b44e608fcb4d9aa9d1f51a2f5bcf17
docs/docs.go
@@ -1199,6 +1199,36 @@
                }
            }
        },
        "/api/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": {
                            "$ref": "#/definitions/response.ListResponse"
                        }
                    }
                }
            }
        },
        "/api/code/getCodeList": {
            "get": {
                "produces": [
@@ -4887,6 +4917,46 @@
                }
            }
        },
        "/api/product/getProductOrderInfo/{number}": {
            "get": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "产品"
                ],
                "summary": "获取产品订单信息",
                "parameters": [
                    {
                        "type": "string",
                        "description": "明细编码",
                        "name": "number",
                        "in": "path",
                        "required": true
                    }
                ],
                "responses": {
                    "200": {
                        "description": "成功",
                        "schema": {
                            "allOf": [
                                {
                                    "$ref": "#/definitions/contextx.Response"
                                },
                                {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "$ref": "#/definitions/response.Info"
                                        }
                                    }
                                }
                            ]
                        }
                    }
                }
            }
        },
        "/api/product/info": {
            "get": {
                "produces": [
@@ -4959,6 +5029,12 @@
                        "type": "string",
                        "description": "产品编码",
                        "name": "productNumber",
                        "in": "query"
                    },
                    {
                        "type": "string",
                        "description": "报价单编码",
                        "name": "quotationNumber",
                        "in": "query"
                    }
                ],
@@ -5247,6 +5323,40 @@
                }
            }
        },
        "/api/quotation/statistics": {
            "get": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "Quotation"
                ],
                "summary": "报价单统计",
                "responses": {
                    "200": {
                        "description": "OK",
                        "schema": {
                            "allOf": [
                                {
                                    "$ref": "#/definitions/contextx.Response"
                                },
                                {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "type": "object",
                                            "additionalProperties": {
                                                "type": "integer"
                                            }
                                        }
                                    }
                                }
                            ]
                        }
                    }
                }
            }
        },
        "/api/quotation/update": {
            "put": {
                "produces": [
@@ -5483,6 +5593,15 @@
                        "in": "query"
                    },
                    {
                        "type": "array",
                        "items": {
                            "type": "integer"
                        },
                        "collectionFormat": "csv",
                        "name": "principleIds",
                        "in": "query"
                    },
                    {
                        "type": "integer",
                        "name": "sourceId",
                        "in": "query"
@@ -5676,6 +5795,142 @@
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/request.UpdateRefundMethods"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "schema": {
                            "$ref": "#/definitions/contextx.Response"
                        }
                    }
                }
            }
        },
        "/api/refundType/add": {
            "post": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "退款方式管理"
                ],
                "summary": "添加退款方式",
                "parameters": [
                    {
                        "description": "查询参数",
                        "name": "object",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/request.AddRefundType"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "schema": {
                            "$ref": "#/definitions/contextx.Response"
                        }
                    }
                }
            }
        },
        "/api/refundType/delete/{id}": {
            "delete": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "退款方式管理"
                ],
                "summary": "删除退款方式",
                "parameters": [
                    {
                        "type": "integer",
                        "description": "查询参数",
                        "name": "id",
                        "in": "path",
                        "required": true
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "schema": {
                            "$ref": "#/definitions/contextx.Response"
                        }
                    }
                }
            }
        },
        "/api/refundType/list": {
            "get": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "退款方式管理"
                ],
                "summary": "获取退款方式列表",
                "parameters": [
                    {
                        "type": "integer",
                        "description": "页码",
                        "name": "page",
                        "in": "query"
                    },
                    {
                        "type": "integer",
                        "description": "每页大小",
                        "name": "pageSize",
                        "in": "query"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "schema": {
                            "allOf": [
                                {
                                    "$ref": "#/definitions/response.ListResponse"
                                },
                                {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "type": "array",
                                            "items": {
                                                "$ref": "#/definitions/model.RefundType"
                                            }
                                        }
                                    }
                                }
                            ]
                        }
                    }
                }
            }
        },
        "/api/refundType/update": {
            "put": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "退款方式管理"
                ],
                "summary": "更新退款方式",
                "parameters": [
                    {
                        "description": "查询参数",
                        "name": "object",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/request.UpdateRefundType"
                        }
                    }
                ],
@@ -6753,6 +7008,66 @@
                }
            }
        },
        "/api/salesDetails/confirmOutput": {
            "post": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "SalesDetails"
                ],
                "summary": "确认发货",
                "parameters": [
                    {
                        "description": "明细编码",
                        "name": "object",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/request.ConfirmOutput"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "schema": {
                            "$ref": "#/definitions/response.ListResponse"
                        }
                    }
                }
            }
        },
        "/api/salesDetails/confirmOutputOver": {
            "post": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "SalesDetails"
                ],
                "summary": "确认发货",
                "parameters": [
                    {
                        "description": "明细编码",
                        "name": "object",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/request.ConfirmOutputOver"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "schema": {
                            "$ref": "#/definitions/response.ListResponse"
                        }
                    }
                }
            }
        },
        "/api/salesDetails/delete": {
            "delete": {
                "produces": [
@@ -6811,6 +7126,143 @@
                }
            }
        },
        "/api/salesDetails/getApsProjectList": {
            "get": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "SalesDetails"
                ],
                "summary": "获取aps项目列表",
                "responses": {
                    "200": {
                        "description": "OK",
                        "schema": {
                            "$ref": "#/definitions/response.Response"
                        }
                    }
                }
            }
        },
        "/api/salesDetails/getDeliveryList": {
            "post": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "SalesDetails"
                ],
                "summary": "发货明细",
                "parameters": [
                    {
                        "description": "明细编码",
                        "name": "object",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/v1.GetWarehouseProductInfoReq"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "schema": {
                            "$ref": "#/definitions/response.ListResponse"
                        }
                    }
                }
            }
        },
        "/api/salesDetails/getDeliveryPrepareInfo": {
            "post": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "SalesDetails"
                ],
                "summary": "获取产品入库信息",
                "parameters": [
                    {
                        "description": "明细编码",
                        "name": "object",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/v1.GetWarehouseProductInfoReq"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "schema": {
                            "$ref": "#/definitions/response.ListResponse"
                        }
                    }
                }
            }
        },
        "/api/salesDetails/getDeliveryPrepareInfoByWarehouse": {
            "post": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "SalesDetails"
                ],
                "summary": "获取产品入库信息按仓库分组",
                "parameters": [
                    {
                        "description": "明细编码",
                        "name": "object",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/v1.GetWarehouseProductInfoReq"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "schema": {
                            "$ref": "#/definitions/response.ListResponse"
                        }
                    }
                }
            }
        },
        "/api/salesDetails/getProductInventoryInfo/{number}": {
            "get": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "SalesDetails"
                ],
                "summary": "获取产品发货信息",
                "parameters": [
                    {
                        "type": "string",
                        "description": "明细编码",
                        "name": "number",
                        "in": "path",
                        "required": true
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "schema": {
                            "$ref": "#/definitions/response.ListResponse"
                        }
                    }
                }
            }
        },
        "/api/salesDetails/list": {
            "post": {
                "produces": [
@@ -6853,6 +7305,36 @@
                }
            }
        },
        "/api/salesDetails/sendSalesDetailsToOtherSystem": {
            "post": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "SalesDetails"
                ],
                "summary": "推送销售明细信息到其他系统",
                "parameters": [
                    {
                        "description": "查询参数",
                        "name": "object",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/request.SalesDetails"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "schema": {
                            "$ref": "#/definitions/response.ListResponse"
                        }
                    }
                }
            }
        },
        "/api/salesDetails/update": {
            "put": {
                "produces": [
@@ -6870,6 +7352,36 @@
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/request.UpdateSalesDetails"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "schema": {
                            "$ref": "#/definitions/contextx.Response"
                        }
                    }
                }
            }
        },
        "/api/salesDetails/updateStatus": {
            "post": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "SalesDetails"
                ],
                "summary": "更新销售明细状态",
                "parameters": [
                    {
                        "description": "查询参数",
                        "name": "object",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/request.UpdateSalesDetailsStatus"
                        }
                    }
                ],
@@ -9461,6 +9973,96 @@
                }
            }
        },
        "/api/system/getSystemSet": {
            "get": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "系统设置"
                ],
                "summary": "获取系统设置",
                "responses": {
                    "200": {
                        "description": "成功",
                        "schema": {
                            "allOf": [
                                {
                                    "$ref": "#/definitions/contextx.Response"
                                },
                                {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "type": "object",
                                            "additionalProperties": true
                                        }
                                    }
                                }
                            ]
                        }
                    }
                }
            }
        },
        "/api/system/saveSystemSet": {
            "post": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "系统设置"
                ],
                "summary": "保存系统设置",
                "parameters": [
                    {
                        "description": "查询参数",
                        "name": "object",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/request.SaveSystemSet"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "成功",
                        "schema": {
                            "$ref": "#/definitions/contextx.Response"
                        }
                    }
                }
            }
        },
        "/api/system/useSystemSet/{modeType}": {
            "get": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "系统设置"
                ],
                "summary": "使用系统设置",
                "parameters": [
                    {
                        "type": "string",
                        "description": "查询参数",
                        "name": "modeType",
                        "in": "path",
                        "required": true
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "schema": {
                            "$ref": "#/definitions/response.ListResponse"
                        }
                    }
                }
            }
        },
        "/api/timeSpent/add": {
            "post": {
                "produces": [
@@ -10193,6 +10795,33 @@
                "SalesDetailsKeywordTypeSignTime",
                "SalesDetailsKeywordTypePrincipal",
                "SalesDetailsKeywordTypeProductName"
            ]
        },
        "constvar.SalesDetailsStatus": {
            "type": "integer",
            "enum": [
                1,
                2,
                3,
                4,
                5,
                6
            ],
            "x-enum-comments": {
                "InStock": "备货中",
                "OverCLose": "已关闭",
                "OverOutbound": "出库完成",
                "WaitConfirmed": "待确认",
                "WaitDecompose": "待分解",
                "WaitOutbound": "待出库"
            },
            "x-enum-varnames": [
                "WaitConfirmed",
                "WaitDecompose",
                "InStock",
                "WaitOutbound",
                "OverOutbound",
                "OverCLose"
            ]
        },
        "constvar.SalesRefundKeywordType": {
@@ -10984,6 +11613,9 @@
                "quotationId": {
                    "type": "integer"
                },
                "sendTime": {
                    "type": "string"
                },
                "serviceContractStatus": {
                    "$ref": "#/definitions/model.ServiceContractStatus"
                },
@@ -11185,6 +11817,9 @@
                    "description": "客户id",
                    "type": "integer"
                },
                "codeStandID": {
                    "type": "string"
                },
                "courierCompany": {
                    "$ref": "#/definitions/model.CourierCompany"
                },
@@ -11220,6 +11855,9 @@
                "invoiceTypeId": {
                    "description": "发票类型id",
                    "type": "integer"
                },
                "number": {
                    "type": "string"
                },
                "principalId": {
                    "description": "销售负责人id",
@@ -11488,11 +12126,17 @@
                "amount": {
                    "type": "number"
                },
                "cost": {
                    "type": "string"
                },
                "desc": {
                    "type": "string"
                },
                "id": {
                    "type": "integer"
                },
                "margin": {
                    "type": "string"
                },
                "name": {
                    "type": "string"
@@ -11503,8 +12147,20 @@
                "price": {
                    "type": "number"
                },
                "profit": {
                    "type": "string"
                },
                "specs": {
                    "type": "string"
                },
                "total": {
                    "type": "number"
                },
                "type": {
                    "type": "string"
                },
                "unit": {
                    "type": "string"
                }
            }
        },
@@ -11528,6 +12184,10 @@
        "model.Quotation": {
            "type": "object",
            "properties": {
                "amountTotal": {
                    "description": "价格合计",
                    "type": "number"
                },
                "client": {
                    "$ref": "#/definitions/model.Client"
                },
@@ -11699,6 +12359,17 @@
                }
            }
        },
        "model.RefundType": {
            "type": "object",
            "properties": {
                "id": {
                    "type": "integer"
                },
                "name": {
                    "type": "string"
                }
            }
        },
        "model.Region": {
            "type": "object",
            "properties": {
@@ -11850,6 +12521,12 @@
                "process": {
                    "type": "string"
                },
                "products": {
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/model.Product"
                    }
                },
                "projected_amount": {
                    "type": "number"
                },
@@ -11894,6 +12571,14 @@
                },
                "solutions": {
                    "type": "string"
                },
                "status": {
                    "description": "状态",
                    "allOf": [
                        {
                            "$ref": "#/definitions/model.Status"
                        }
                    ]
                },
                "status_id": {
                    "type": "integer"
@@ -11981,6 +12666,9 @@
                "creatorName": {
                    "type": "string"
                },
                "deliverType": {
                    "type": "integer"
                },
                "deliveryDate": {
                    "type": "string"
                },
@@ -12011,6 +12699,15 @@
                        "$ref": "#/definitions/model.Product"
                    }
                },
                "projectId": {
                    "type": "string"
                },
                "quotation": {
                    "$ref": "#/definitions/model.Quotation"
                },
                "quotationId": {
                    "type": "integer"
                },
                "remark": {
                    "type": "string"
                },
@@ -12025,6 +12722,12 @@
                },
                "signTime": {
                    "type": "string"
                },
                "source": {
                    "type": "string"
                },
                "status": {
                    "$ref": "#/definitions/constvar.SalesDetailsStatus"
                },
                "updateTime": {
                    "type": "string"
@@ -12120,8 +12823,13 @@
        "model.SalesRefund": {
            "type": "object",
            "properties": {
                "Source": {
                    "$ref": "#/definitions/model.SalesReturn"
                "RefundType": {
                    "description": "退款方式",
                    "allOf": [
                        {
                            "$ref": "#/definitions/model.RefundType"
                        }
                    ]
                },
                "amountTotal": {
                    "description": "价税合计",
@@ -12182,6 +12890,13 @@
                },
                "refundDate": {
                    "type": "string"
                },
                "refundTypeId": {
                    "description": "退款方式ID",
                    "type": "integer"
                },
                "salesReturn": {
                    "$ref": "#/definitions/model.SalesReturn"
                },
                "sourceId": {
                    "description": "源单id",
@@ -12801,6 +13516,10 @@
                "severity": {
                    "$ref": "#/definitions/model.Severity"
                },
                "severityId": {
                    "description": "严重程度id",
                    "type": "integer"
                },
                "solution": {
                    "description": "解决方法",
                    "type": "string"
@@ -12918,6 +13637,23 @@
                }
            }
        },
        "model.SystemSet": {
            "type": "object",
            "properties": {
                "id": {
                    "type": "integer"
                },
                "modeType": {
                    "type": "string"
                },
                "name": {
                    "type": "string"
                },
                "value": {
                    "type": "string"
                }
            }
        },
        "model.TimeSpent": {
            "type": "object",
            "properties": {
@@ -12979,6 +13715,10 @@
                    "type": "string"
                },
                "realName": {
                    "type": "string"
                },
                "subUserIds": {
                    "description": "下属员工用户id,用逗号分开",
                    "type": "string"
                },
                "userType": {
@@ -13131,9 +13871,6 @@
                    "description": "客户类型ID",
                    "type": "integer"
                },
                "codeRule": {
                    "$ref": "#/definitions/code.CodeStandard"
                },
                "codeStandID": {
                    "description": "编码id",
                    "type": "string"
@@ -13282,13 +14019,6 @@
                    "description": "所属公司ID",
                    "type": "integer"
                },
                "codeRule": {
                    "$ref": "#/definitions/code.CodeStandard"
                },
                "codeStandID": {
                    "description": "编码id",
                    "type": "string"
                },
                "country_id": {
                    "description": "国家ID",
                    "type": "integer"
@@ -13345,9 +14075,6 @@
                "client_id": {
                    "type": "integer"
                },
                "codeRule": {
                    "$ref": "#/definitions/code.CodeStandard"
                },
                "codeStandID": {
                    "description": "编码id",
                    "type": "string"
@@ -13367,6 +14094,10 @@
                },
                "quotation_id": {
                    "type": "integer"
                },
                "sendTime": {
                    "description": "发货时间",
                    "type": "string"
                },
                "status_id": {
                    "type": "integer"
@@ -13508,6 +14239,9 @@
                    "description": "客户id",
                    "type": "integer"
                },
                "codeStandID": {
                    "type": "string"
                },
                "courierCompanyId": {
                    "description": "物流公司",
                    "type": "integer"
@@ -13531,6 +14265,10 @@
                "invoiceTypeId": {
                    "description": "发票类型id",
                    "type": "integer"
                },
                "number": {
                    "description": "发票编号",
                    "type": "string"
                },
                "principalId": {
                    "description": "销售负责人id",
@@ -13614,9 +14352,6 @@
            "properties": {
                "client_id": {
                    "type": "integer"
                },
                "codeRule": {
                    "$ref": "#/definitions/code.CodeStandard"
                },
                "codeStandID": {
                    "description": "编码id",
@@ -13737,9 +14472,6 @@
            "properties": {
                "client_id": {
                    "type": "integer"
                },
                "codeRule": {
                    "$ref": "#/definitions/code.CodeStandard"
                },
                "codeStandID": {
                    "description": "编码id",
@@ -13893,6 +14625,17 @@
                }
            }
        },
        "request.AddRefundType": {
            "type": "object",
            "properties": {
                "id": {
                    "type": "integer"
                },
                "name": {
                    "type": "string"
                }
            }
        },
        "request.AddRegion": {
            "type": "object",
            "properties": {
@@ -13964,9 +14707,6 @@
                "client_id": {
                    "type": "integer"
                },
                "codeRule": {
                    "$ref": "#/definitions/code.CodeStandard"
                },
                "codeStandID": {
                    "description": "编码id",
                    "type": "string"
@@ -14018,6 +14758,12 @@
                },
                "process": {
                    "type": "string"
                },
                "products": {
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/model.Product"
                    }
                },
                "projected_amount": {
                    "type": "number"
@@ -14082,17 +14828,20 @@
        "request.AddSalesDetails": {
            "type": "object",
            "properties": {
                "Member": {
                    "$ref": "#/definitions/model.User"
                },
                "address": {
                    "type": "string"
                },
                "addressee": {
                    "type": "string"
                },
                "client": {
                    "$ref": "#/definitions/model.Client"
                },
                "clientId": {
                    "type": "integer"
                },
                "codeRule": {
                    "$ref": "#/definitions/code.CodeStandard"
                },
                "codeStandID": {
                    "description": "编码id",
@@ -14100,6 +14849,10 @@
                },
                "conditions": {
                    "type": "string"
                },
                "deliverType": {
                    "description": "交付类型:1.一次发货,2.多次发货",
                    "type": "integer"
                },
                "deliveryDate": {
                    "type": "string"
@@ -14128,6 +14881,12 @@
                        "$ref": "#/definitions/model.Product"
                    }
                },
                "projectId": {
                    "type": "string"
                },
                "quotationId": {
                    "type": "integer"
                },
                "remark": {
                    "type": "string"
                },
@@ -14140,6 +14899,12 @@
                "signTime": {
                    "type": "string"
                },
                "source": {
                    "type": "string"
                },
                "status": {
                    "$ref": "#/definitions/constvar.SalesDetailsStatus"
                },
                "wechatOrderStatusId": {
                    "type": "integer"
                }
@@ -14150,9 +14915,6 @@
            "properties": {
                "city_id": {
                    "type": "integer"
                },
                "codeRule": {
                    "$ref": "#/definitions/code.CodeStandard"
                },
                "codeStandID": {
                    "description": "编码id",
@@ -14277,9 +15039,6 @@
                "clientId": {
                    "type": "integer"
                },
                "codeRule": {
                    "$ref": "#/definitions/code.CodeStandard"
                },
                "codeStandID": {
                    "description": "编码id",
                    "type": "string"
@@ -14388,9 +15147,6 @@
                    "description": "客户类型ID",
                    "type": "integer"
                },
                "codeRule": {
                    "$ref": "#/definitions/code.CodeStandard"
                },
                "codeStandID": {
                    "description": "编码id",
                    "type": "string"
@@ -14485,9 +15241,6 @@
                "clientId": {
                    "type": "integer"
                },
                "codeRule": {
                    "$ref": "#/definitions/code.CodeStandard"
                },
                "codeStandID": {
                    "description": "编码id",
                    "type": "string"
@@ -14552,9 +15305,6 @@
                "clientId": {
                    "description": "客户id",
                    "type": "integer"
                },
                "codeRule": {
                    "$ref": "#/definitions/code.CodeStandard"
                },
                "codeStandID": {
                    "description": "编码id",
@@ -14628,7 +15378,7 @@
                    "description": "服务方式id",
                    "type": "integer"
                },
                "severity": {
                "severityId": {
                    "description": "严重程度id",
                    "type": "integer"
                },
@@ -14710,9 +15460,6 @@
            "properties": {
                "clientId": {
                    "type": "integer"
                },
                "codeRule": {
                    "$ref": "#/definitions/code.CodeStandard"
                },
                "codeStandID": {
                    "description": "编码id",
@@ -14848,6 +15595,41 @@
                }
            }
        },
        "request.ConfirmOutput": {
            "type": "object",
            "properties": {
                "products": {
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/request.ConfirmOutputProducts"
                    }
                },
                "saleDetailNumber": {
                    "type": "string"
                }
            }
        },
        "request.ConfirmOutputOver": {
            "type": "object",
            "properties": {
                "saleDetailNumber": {
                    "type": "string"
                }
            }
        },
        "request.ConfirmOutputProducts": {
            "type": "object",
            "properties": {
                "number": {
                    "description": "产品编号",
                    "type": "string"
                },
                "outputAmount": {
                    "description": "本次发货数量",
                    "type": "number"
                }
            }
        },
        "request.Contact": {
            "type": "object",
            "properties": {
@@ -14863,13 +15645,6 @@
                "client_id": {
                    "description": "所属公司ID",
                    "type": "integer"
                },
                "codeRule": {
                    "$ref": "#/definitions/code.CodeStandard"
                },
                "codeStandID": {
                    "description": "编码id",
                    "type": "string"
                },
                "country_id": {
                    "description": "国家ID",
@@ -15098,9 +15873,6 @@
                "client_status_id": {
                    "type": "integer"
                },
                "codeRule": {
                    "$ref": "#/definitions/code.CodeStandard"
                },
                "codeStandID": {
                    "type": "string"
                },
@@ -15185,6 +15957,9 @@
        "request.GetContractList": {
            "type": "object",
            "properties": {
                "keyword": {
                    "type": "string"
                },
                "page": {
                    "description": "页码",
                    "type": "integer"
@@ -15250,6 +16025,12 @@
                "pageSize": {
                    "description": "每页大小",
                    "type": "integer"
                },
                "principalIds": {
                    "type": "array",
                    "items": {
                        "type": "integer"
                    }
                },
                "sourceId": {
                    "type": "integer"
@@ -15362,6 +16143,10 @@
                },
                "keywordType": {
                    "$ref": "#/definitions/constvar.SalesDetailsKeywordType"
                },
                "number": {
                    "description": "销售明细单号",
                    "type": "string"
                },
                "page": {
                    "description": "页码",
@@ -15665,17 +16450,20 @@
        "request.SalesDetails": {
            "type": "object",
            "properties": {
                "Member": {
                    "$ref": "#/definitions/model.User"
                },
                "address": {
                    "type": "string"
                },
                "addressee": {
                    "type": "string"
                },
                "client": {
                    "$ref": "#/definitions/model.Client"
                },
                "clientId": {
                    "type": "integer"
                },
                "codeRule": {
                    "$ref": "#/definitions/code.CodeStandard"
                },
                "codeStandID": {
                    "description": "编码id",
@@ -15683,6 +16471,10 @@
                },
                "conditions": {
                    "type": "string"
                },
                "deliverType": {
                    "description": "交付类型:1.一次发货,2.多次发货",
                    "type": "integer"
                },
                "deliveryDate": {
                    "type": "string"
@@ -15711,6 +16503,12 @@
                        "$ref": "#/definitions/model.Product"
                    }
                },
                "projectId": {
                    "type": "string"
                },
                "quotationId": {
                    "type": "integer"
                },
                "remark": {
                    "type": "string"
                },
@@ -15722,6 +16520,12 @@
                },
                "signTime": {
                    "type": "string"
                },
                "source": {
                    "type": "string"
                },
                "status": {
                    "$ref": "#/definitions/constvar.SalesDetailsStatus"
                },
                "wechatOrderStatusId": {
                    "type": "integer"
@@ -15741,9 +16545,6 @@
                },
                "clientId": {
                    "type": "integer"
                },
                "codeRule": {
                    "$ref": "#/definitions/code.CodeStandard"
                },
                "codeStandID": {
                    "description": "编码id",
@@ -15794,9 +16595,6 @@
                "clientId": {
                    "type": "integer"
                },
                "codeRule": {
                    "$ref": "#/definitions/code.CodeStandard"
                },
                "codeStandID": {
                    "description": "编码id",
                    "type": "string"
@@ -15840,6 +16638,17 @@
                            "$ref": "#/definitions/constvar.SalesReturnSourceType"
                        }
                    ]
                }
            }
        },
        "request.SaveSystemSet": {
            "type": "object",
            "properties": {
                "sets": {
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/model.SystemSet"
                    }
                }
            }
        },
@@ -15995,9 +16804,6 @@
                "client_type_id": {
                    "description": "客户类型ID",
                    "type": "integer"
                },
                "codeRule": {
                    "$ref": "#/definitions/code.CodeStandard"
                },
                "codeStandID": {
                    "description": "编码id",
@@ -16229,13 +17035,6 @@
                    "description": "所属公司ID",
                    "type": "integer"
                },
                "codeRule": {
                    "$ref": "#/definitions/code.CodeStandard"
                },
                "codeStandID": {
                    "description": "编码id",
                    "type": "string"
                },
                "country_id": {
                    "description": "国家ID",
                    "type": "integer"
@@ -16295,9 +17094,6 @@
                "client_id": {
                    "type": "integer"
                },
                "codeRule": {
                    "$ref": "#/definitions/code.CodeStandard"
                },
                "codeStandID": {
                    "description": "编码id",
                    "type": "string"
@@ -16320,6 +17116,10 @@
                },
                "quotation_id": {
                    "type": "integer"
                },
                "sendTime": {
                    "description": "发货时间",
                    "type": "string"
                },
                "status_id": {
                    "type": "integer"
@@ -16558,6 +17358,9 @@
                    "description": "客户id",
                    "type": "integer"
                },
                "codeStandID": {
                    "type": "string"
                },
                "courierCompanyId": {
                    "description": "物流公司",
                    "type": "integer"
@@ -16584,6 +17387,10 @@
                "invoiceTypeId": {
                    "description": "发票类型id",
                    "type": "integer"
                },
                "number": {
                    "description": "发票编号",
                    "type": "string"
                },
                "principalId": {
                    "description": "销售负责人id",
@@ -16699,9 +17506,6 @@
            "properties": {
                "client_id": {
                    "type": "integer"
                },
                "codeRule": {
                    "$ref": "#/definitions/code.CodeStandard"
                },
                "codeStandID": {
                    "description": "编码id",
@@ -16883,9 +17687,6 @@
            "properties": {
                "client_id": {
                    "type": "integer"
                },
                "codeRule": {
                    "$ref": "#/definitions/code.CodeStandard"
                },
                "codeStandID": {
                    "description": "编码id",
@@ -17078,6 +17879,17 @@
                }
            }
        },
        "request.UpdateRefundType": {
            "type": "object",
            "properties": {
                "id": {
                    "type": "integer"
                },
                "name": {
                    "type": "string"
                }
            }
        },
        "request.UpdateRegion": {
            "type": "object",
            "properties": {
@@ -17237,9 +18049,6 @@
                "client_id": {
                    "type": "integer"
                },
                "codeRule": {
                    "$ref": "#/definitions/code.CodeStandard"
                },
                "codeStandID": {
                    "description": "编码id",
                    "type": "string"
@@ -17294,6 +18103,12 @@
                },
                "process": {
                    "type": "string"
                },
                "products": {
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/model.Product"
                    }
                },
                "projected_amount": {
                    "type": "number"
@@ -17402,14 +18217,22 @@
                }
            }
        },
        "request.UpdateSalesDetailsStatus": {
            "type": "object",
            "properties": {
                "id": {
                    "type": "integer"
                },
                "status": {
                    "$ref": "#/definitions/constvar.SalesDetailsStatus"
                }
            }
        },
        "request.UpdateSalesLeads": {
            "type": "object",
            "properties": {
                "city_id": {
                    "type": "integer"
                },
                "codeRule": {
                    "$ref": "#/definitions/code.CodeStandard"
                },
                "codeStandID": {
                    "description": "编码id",
@@ -17664,9 +18487,6 @@
                "clientId": {
                    "type": "integer"
                },
                "codeRule": {
                    "$ref": "#/definitions/code.CodeStandard"
                },
                "codeStandID": {
                    "description": "编码id",
                    "type": "string"
@@ -17796,9 +18616,6 @@
                    "description": "客户类型ID",
                    "type": "integer"
                },
                "codeRule": {
                    "$ref": "#/definitions/code.CodeStandard"
                },
                "codeStandID": {
                    "description": "编码id",
                    "type": "string"
@@ -17894,9 +18711,6 @@
                "clientId": {
                    "type": "integer"
                },
                "codeRule": {
                    "$ref": "#/definitions/code.CodeStandard"
                },
                "codeStandID": {
                    "description": "编码id",
                    "type": "string"
@@ -17964,9 +18778,6 @@
                "clientId": {
                    "description": "客户id",
                    "type": "integer"
                },
                "codeRule": {
                    "$ref": "#/definitions/code.CodeStandard"
                },
                "codeStandID": {
                    "description": "编码id",
@@ -18043,7 +18854,7 @@
                    "description": "服务方式id",
                    "type": "integer"
                },
                "severity": {
                "severityId": {
                    "description": "严重程度id",
                    "type": "integer"
                },
@@ -18161,9 +18972,6 @@
            "properties": {
                "clientId": {
                    "type": "integer"
                },
                "codeRule": {
                    "$ref": "#/definitions/code.CodeStandard"
                },
                "codeStandID": {
                    "description": "编码id",
@@ -18704,6 +19512,35 @@
                }
            }
        },
        "response.Info": {
            "type": "object",
            "properties": {
                "makeInfo": {
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/response.WorkOrderInfo"
                    }
                },
                "outsourcingInfo": {
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/response.OutsourcingInfo"
                    }
                },
                "productInfo": {
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/response.SalesDetailsProductInfo"
                    }
                },
                "purchaseInfo": {
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/response.Purchase"
                    }
                }
            }
        },
        "response.IsInvoiceResponse": {
            "type": "object",
            "properties": {
@@ -18805,6 +19642,49 @@
                }
            }
        },
        "response.OutsourcingInfo": {
            "type": "object",
            "properties": {
                "amount": {
                    "description": "订单数量",
                    "type": "integer"
                },
                "endTime": {
                    "type": "string"
                },
                "finishAmount": {
                    "description": "完成数量",
                    "type": "integer"
                },
                "outsourcingId": {
                    "description": "委外订单id",
                    "type": "string"
                },
                "outsourcingStatus": {
                    "type": "string"
                },
                "productId": {
                    "type": "string"
                },
                "productName": {
                    "type": "string"
                },
                "specs": {
                    "description": "物料规格",
                    "type": "string"
                },
                "startTime": {
                    "type": "string"
                },
                "supplierName": {
                    "type": "string"
                },
                "unit": {
                    "description": "单位",
                    "type": "string"
                }
            }
        },
        "response.PlanResponse": {
            "type": "object",
            "properties": {
@@ -18838,6 +19718,45 @@
                    "items": {
                        "$ref": "#/definitions/model.Province"
                    }
                }
            }
        },
        "response.Purchase": {
            "type": "object",
            "properties": {
                "amount": {
                    "description": "订单数量",
                    "type": "integer"
                },
                "finishAmount": {
                    "description": "完成数量",
                    "type": "integer"
                },
                "productId": {
                    "type": "string"
                },
                "productName": {
                    "type": "string"
                },
                "purchaseName": {
                    "type": "string"
                },
                "purchaseNumber": {
                    "type": "string"
                },
                "specs": {
                    "description": "物料规格",
                    "type": "string"
                },
                "status": {
                    "type": "integer"
                },
                "supplierName": {
                    "type": "string"
                },
                "unit": {
                    "description": "单位",
                    "type": "string"
                }
            }
        },
@@ -18921,6 +19840,18 @@
                }
            }
        },
        "response.Response": {
            "type": "object",
            "properties": {
                "code": {
                    "type": "integer"
                },
                "data": {},
                "msg": {
                    "type": "string"
                }
            }
        },
        "response.SaleChanceResponse": {
            "type": "object",
            "properties": {
@@ -18954,6 +19885,81 @@
                    "items": {
                        "$ref": "#/definitions/model.SaleType"
                    }
                }
            }
        },
        "response.SalesDetailsProductInfo": {
            "type": "object",
            "properties": {
                "amount": {
                    "description": "订单数量",
                    "type": "number"
                },
                "cost": {
                    "description": "产品成本",
                    "type": "string"
                },
                "deliveryAmount": {
                    "description": "发货数量",
                    "type": "integer"
                },
                "finishAmount": {
                    "description": "完成数量",
                    "type": "integer"
                },
                "makeAmount": {
                    "description": "制造数量",
                    "type": "integer"
                },
                "makeFinishAmount": {
                    "description": "制造完成数量",
                    "type": "integer"
                },
                "margin": {
                    "description": "毛利率",
                    "type": "string"
                },
                "outsourcingAmount": {
                    "description": "委外数量",
                    "type": "integer"
                },
                "outsourcingFinishAmount": {
                    "description": "委外完成数量",
                    "type": "integer"
                },
                "price": {
                    "description": "产品价格",
                    "type": "number"
                },
                "productId": {
                    "type": "string"
                },
                "productName": {
                    "type": "string"
                },
                "profit": {
                    "description": "毛利",
                    "type": "string"
                },
                "purchaseAmount": {
                    "description": "采购数量",
                    "type": "integer"
                },
                "purchaseFinishAmount": {
                    "description": "采购完成数量",
                    "type": "integer"
                },
                "specs": {
                    "description": "物料规格",
                    "type": "string"
                },
                "total": {
                    "description": "产品总价",
                    "type": "number"
                },
                "unit": {
                    "description": "单位",
                    "type": "string"
                }
            }
        },
@@ -19134,6 +20140,65 @@
                    }
                }
            }
        },
        "response.WorkOrderInfo": {
            "type": "object",
            "properties": {
                "amount": {
                    "description": "订单数量",
                    "type": "integer"
                },
                "endTime": {
                    "type": "string"
                },
                "finishAmount": {
                    "description": "完成数量",
                    "type": "integer"
                },
                "orderId": {
                    "type": "string"
                },
                "orderStatus": {
                    "type": "string"
                },
                "productId": {
                    "type": "string"
                },
                "productName": {
                    "type": "string"
                },
                "specs": {
                    "description": "物料规格",
                    "type": "string"
                },
                "startTime": {
                    "type": "string"
                },
                "unit": {
                    "description": "单位",
                    "type": "string"
                },
                "workOrderId": {
                    "type": "string"
                },
                "workOrderStatus": {
                    "type": "string"
                }
            }
        },
        "v1.GetWarehouseProductInfoReq": {
            "type": "object",
            "properties": {
                "groupByWarehouse": {
                    "type": "boolean"
                },
                "saleDetailID": {
                    "type": "integer"
                },
                "saleDetailNumber": {
                    "type": "string"
                }
            }
        }
    }
}`