zhangqian
2023-11-10 ae4076a20e4b93703028dc1af321f6920290375f
docs/docs.go
@@ -4917,6 +4917,49 @@
                }
            }
        },
        "/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": {
                                            "type": "array",
                                            "items": {
                                                "$ref": "#/definitions/product.WorkOrderInfo"
                                            }
                                        }
                                    }
                                }
                            ]
                        }
                    }
                }
            }
        },
        "/api/product/info": {
            "get": {
                "produces": [
@@ -6919,6 +6962,36 @@
                }
            }
        },
        "/api/salesDetails/createOperation": {
            "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/delete": {
            "delete": {
                "produces": [
@@ -6972,6 +7045,34 @@
                        "description": "OK",
                        "schema": {
                            "$ref": "#/definitions/contextx.Response"
                        }
                    }
                }
            }
        },
        "/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"
                        }
                    }
                }
@@ -7036,6 +7137,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"
                        }
                    }
                ],
@@ -10361,6 +10492,27 @@
                "SalesDetailsKeywordTypeProductName"
            ]
        },
        "constvar.SalesDetailsStatus": {
            "type": "integer",
            "enum": [
                1,
                2,
                3,
                4
            ],
            "x-enum-comments": {
                "OverCLose": "已关闭",
                "OverOutbound": "出库完成",
                "WaitConfirmed": "待确认",
                "WaitOutbound": "待出库"
            },
            "x-enum-varnames": [
                "WaitConfirmed",
                "WaitOutbound",
                "OverOutbound",
                "OverCLose"
            ]
        },
        "constvar.SalesRefundKeywordType": {
            "type": "string",
            "enum": [
@@ -12235,6 +12387,12 @@
                "signTime": {
                    "type": "string"
                },
                "source": {
                    "type": "string"
                },
                "status": {
                    "$ref": "#/definitions/constvar.SalesDetailsStatus"
                },
                "updateTime": {
                    "type": "string"
                },
@@ -13278,6 +13436,32 @@
                    "type": "string"
                },
                "Unit": {
                    "type": "string"
                }
            }
        },
        "product.WorkOrderInfo": {
            "type": "object",
            "properties": {
                "EndTime": {
                    "type": "string"
                },
                "OrderId": {
                    "type": "string"
                },
                "OrderStatus": {
                    "type": "string"
                },
                "ProductName": {
                    "type": "string"
                },
                "StartTime": {
                    "type": "string"
                },
                "WorkOrderId": {
                    "type": "string"
                },
                "WorkOrderStatus": {
                    "type": "string"
                }
            }
@@ -14374,6 +14558,12 @@
                },
                "signTime": {
                    "type": "string"
                },
                "source": {
                    "type": "string"
                },
                "status": {
                    "$ref": "#/definitions/constvar.SalesDetailsStatus"
                },
                "wechatOrderStatusId": {
                    "type": "integer"
@@ -15571,7 +15761,7 @@
                    "$ref": "#/definitions/constvar.SalesDetailsKeywordType"
                },
                "number": {
                    "description": "销售子单号",
                    "description": "销售明细单号",
                    "type": "string"
                },
                "page": {
@@ -15937,6 +16127,12 @@
                },
                "signTime": {
                    "type": "string"
                },
                "source": {
                    "type": "string"
                },
                "status": {
                    "$ref": "#/definitions/constvar.SalesDetailsStatus"
                },
                "wechatOrderStatusId": {
                    "type": "integer"
@@ -17617,6 +17813,17 @@
                }
            }
        },
        "request.UpdateSalesDetailsStatus": {
            "type": "object",
            "properties": {
                "id": {
                    "type": "integer"
                },
                "status": {
                    "$ref": "#/definitions/constvar.SalesDetailsStatus"
                }
            }
        },
        "request.UpdateSalesLeads": {
            "type": "object",
            "properties": {