jiangshuai
2023-09-21 7539ba3aa1ce089442433dd98c86794bee62198f
docs/docs.go
@@ -565,7 +565,35 @@
            }
        },
        "/api-wms/v1/operation/operation/{id}": {
            "put": {
            "delete": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "入库/出库"
                ],
                "summary": "删除入库/出库信息",
                "parameters": [
                    {
                        "type": "integer",
                        "description": "id",
                        "name": "id",
                        "in": "path",
                        "required": true
                    }
                ],
                "responses": {
                    "200": {
                        "description": "成功",
                        "schema": {
                            "$ref": "#/definitions/util.Response"
                        }
                    }
                }
            }
        },
        "/api-wms/v1/operation/update": {
            "post": {
                "produces": [
                    "application/json"
                ],
@@ -582,39 +610,6 @@
                        "schema": {
                            "$ref": "#/definitions/request.UpdateOperation"
                        }
                    },
                    {
                        "type": "integer",
                        "description": "入库信息id",
                        "name": "id",
                        "in": "path",
                        "required": true
                    }
                ],
                "responses": {
                    "200": {
                        "description": "成功",
                        "schema": {
                            "$ref": "#/definitions/util.Response"
                        }
                    }
                }
            },
            "delete": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "入库/出库"
                ],
                "summary": "删除入库/出库信息",
                "parameters": [
                    {
                        "type": "integer",
                        "description": "id",
                        "name": "id",
                        "in": "path",
                        "required": true
                    }
                ],
                "responses": {
@@ -1618,8 +1613,20 @@
                    "description": "位置名称",
                    "type": "string"
                },
                "nextCount": {
                    "description": "下次盘点",
                    "type": "string"
                },
                "notes": {
                    "description": "外部备注",
                    "type": "string"
                },
                "parentId": {
                    "description": "上级id",
                    "type": "string"
                },
                "recentlyCount": {
                    "description": "最近盘点",
                    "type": "string"
                },
                "replenishLocation": {
@@ -1893,11 +1900,19 @@
                    "description": "默认源位置id",
                    "type": "integer"
                },
                "earlyOperations": {
                    "description": "预填写作业详情",
                    "type": "boolean"
                },
                "id": {
                    "type": "integer"
                },
                "name": {
                    "description": "仓库名称",
                    "type": "string"
                },
                "prefix": {
                    "description": "前缀",
                    "type": "string"
                },
                "printLabel": {
@@ -2150,6 +2165,10 @@
                    "description": "作业类型id",
                    "type": "integer"
                },
                "operationTypeName": {
                    "description": "作业类型名称",
                    "type": "string"
                },
                "sourceNumber": {
                    "description": "源单号",
                    "type": "string"
@@ -2316,6 +2335,10 @@
                    "description": "操作id",
                    "type": "integer"
                },
                "amount": {
                    "description": "数量",
                    "type": "number"
                },
                "productId": {
                    "description": "产品id",
                    "type": "string"
@@ -2323,10 +2346,6 @@
                "productName": {
                    "description": "产品名称",
                    "type": "string"
                },
                "quantity": {
                    "description": "数量",
                    "type": "number"
                },
                "unit": {
                    "type": "string"
@@ -2417,6 +2436,10 @@
                    "description": "作业类型id",
                    "type": "integer"
                },
                "operationTypeName": {
                    "description": "作业类型名称",
                    "type": "string"
                },
                "sourceNumber": {
                    "description": "源单号",
                    "type": "string"