liujiandao
2024-03-30 69f0410081da54e6cea8a04a07fd0119a8edc623
docs/docs.go
@@ -1389,6 +1389,13 @@
                        "type": "string",
                        "name": "unit",
                        "in": "query"
                    },
                    {
                        "type": "string",
                        "description": "token",
                        "name": "Authorization",
                        "in": "header",
                        "required": true
                    }
                ],
                "responses": {
@@ -1851,11 +1858,13 @@
                "summary": "新版提交",
                "parameters": [
                    {
                        "type": "integer",
                        "description": "采购单ID",
                        "name": "id",
                        "in": "path",
                        "required": true
                        "description": "参数",
                        "name": "data",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/purchaserequest.SubmitPurchase"
                        }
                    }
                ],
                "responses": {
@@ -2434,11 +2443,13 @@
                "summary": "提交采购单",
                "parameters": [
                    {
                        "type": "integer",
                        "description": "采购单ID",
                        "name": "id",
                        "in": "path",
                        "required": true
                        "description": "参数",
                        "name": "data",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/purchaserequest.SubmitPurchase"
                        }
                    }
                ],
                "responses": {
@@ -4114,7 +4125,7 @@
                    "type": "string"
                },
                "sourceOrder": {
                    "description": "来源单据",
                    "description": "来源单据 ,销售明细编码",
                    "type": "string"
                },
                "status": {
@@ -4555,6 +4566,17 @@
                }
            }
        },
        "purchaserequest.SubmitPurchase": {
            "type": "object",
            "properties": {
                "id": {
                    "type": "integer"
                },
                "status": {
                    "$ref": "#/definitions/purchase.OrderStatus"
                }
            }
        },
        "purchaserequest.UpdatePurchase": {
            "type": "object",
            "properties": {
@@ -4668,17 +4690,9 @@
                }
            }
        },
        "response.OperationInfo": {
        "response.InWarehouseInfo": {
            "type": "object",
            "properties": {
                "amount": {
                    "description": "采购数",
                    "type": "number"
                },
                "modelNumber": {
                    "description": "型号",
                    "type": "string"
                },
                "name": {
                    "description": "产品名称",
                    "type": "string"
@@ -4703,32 +4717,29 @@
                    "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.OperationInfo": {
            "type": "object",
            "properties": {
                "inWarehouseInfos": {
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/response.InWarehouseInfo"
                    }
                },
                "productInfos": {
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/response.ProductInfo"
                    }
                }
            }
        },
@@ -4747,6 +4758,51 @@
                }
            }
        },
        "response.ProductInfo": {
            "type": "object",
            "properties": {
                "amount": {
                    "description": "采购数",
                    "type": "number"
                },
                "modelNumber": {
                    "description": "型号",
                    "type": "string"
                },
                "name": {
                    "description": "产品名称",
                    "type": "string"
                },
                "number": {
                    "description": "产品编码",
                    "type": "string"
                },
                "overAmount": {
                    "description": "入库数",
                    "type": "integer"
                },
                "purchasePrice": {
                    "description": "单价",
                    "type": "number"
                },
                "sendAmount": {
                    "description": "收货数",
                    "type": "integer"
                },
                "specifications": {
                    "description": "规格",
                    "type": "string"
                },
                "total": {
                    "description": "总价",
                    "type": "number"
                },
                "unit": {
                    "description": "单位",
                    "type": "string"
                }
            }
        },
        "response.PurchaseProducts": {
            "type": "object",
            "properties": {