zhangqian
2024-06-14 c73d79fe050e21bc53b3e94b6ca79fd3761d4d17
docs/docs.go
@@ -624,6 +624,58 @@
                }
            }
        },
        "/api-wms/v1/forms/downloadMonthStats": {
            "post": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "报表"
                ],
                "summary": "下载月度统计库存报表",
                "parameters": [
                    {
                        "description": "查询参数",
                        "name": "object",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/request.GetMonthStats"
                        }
                    },
                    {
                        "type": "string",
                        "description": "token",
                        "name": "Authorization",
                        "in": "header",
                        "required": true
                    }
                ],
                "responses": {
                    "200": {
                        "description": "成功",
                        "schema": {
                            "allOf": [
                                {
                                    "$ref": "#/definitions/util.ResponseList"
                                },
                                {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "type": "array",
                                            "items": {
                                                "$ref": "#/definitions/models.MonthStats"
                                            }
                                        }
                                    }
                                }
                            ]
                        }
                    }
                }
            }
        },
        "/api-wms/v1/forms/getHistory": {
            "post": {
                "produces": [
@@ -1822,6 +1874,12 @@
                        "type": "integer",
                        "description": "每页大小",
                        "name": "pageSize",
                        "in": "query"
                    },
                    {
                        "type": "integer",
                        "description": "仓库id",
                        "name": "warehouseId",
                        "in": "query"
                    }
                ],
@@ -3393,6 +3451,18 @@
                "ReservationNever"
            ]
        },
        "gorm.DeletedAt": {
            "type": "object",
            "properties": {
                "time": {
                    "type": "string"
                },
                "valid": {
                    "description": "Valid is true if Time is not NULL",
                    "type": "boolean"
                }
            }
        },
        "inventory_order.WorkerInfo": {
            "type": "object",
            "properties": {
@@ -3421,6 +3491,46 @@
                },
                "id": {
                    "type": "integer"
                }
            }
        },
        "models.Attribute": {
            "type": "object",
            "properties": {
                "createdAt": {
                    "type": "string"
                },
                "dataType": {
                    "description": "值类型(1字符串 2 int 3 下拉框 )",
                    "type": "integer"
                },
                "deletedAt": {
                    "$ref": "#/definitions/gorm.DeletedAt"
                },
                "entityType": {
                    "description": "给谁用的 1 物料(产品)",
                    "type": "integer"
                },
                "id": {
                    "type": "integer"
                },
                "name": {
                    "description": "属性名称",
                    "type": "string"
                },
                "selectValues": {
                    "description": "dateType=3时用",
                    "type": "array",
                    "items": {
                        "type": "string"
                    }
                },
                "updatedAt": {
                    "type": "string"
                },
                "value": {
                    "description": "从AttributeValue取到的value",
                    "type": "string"
                }
            }
        },
@@ -3660,6 +3770,13 @@
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/models.Attachment"
                    }
                },
                "attributes": {
                    "description": "动态属性",
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/models.Attribute"
                    }
                },
                "autoIncr": {
@@ -4097,6 +4214,12 @@
                        }
                    ]
                },
                "checkedAt": {
                    "type": "string"
                },
                "checkedBy": {
                    "type": "string"
                },
                "comment": {
                    "type": "string"
                },
@@ -4110,6 +4233,9 @@
                    "type": "integer"
                },
                "contacterName": {
                    "type": "string"
                },
                "createBy": {
                    "type": "string"
                },
                "createTime": {
@@ -4264,6 +4390,9 @@
                },
                "id": {
                    "type": "integer"
                },
                "note": {
                    "type": "string"
                },
                "operationId": {
                    "description": "操作id",
@@ -4439,6 +4568,7 @@
                    "type": "number"
                },
                "floating": {
                    "description": "是否浮动利率",
                    "type": "boolean"
                },
                "unit": {
@@ -5622,9 +5752,23 @@
                    "description": "在库数量",
                    "type": "number"
                },
                "amountMoreUnits": {
                    "description": "在库数量多单位",
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/models.UnitItems"
                    }
                },
                "availableNumber": {
                    "description": "可用库存",
                    "type": "number"
                },
                "availableNumberMoreUnits": {
                    "description": "可用库存多单位",
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/models.UnitItems"
                    }
                },
                "cost": {
                    "description": "成本",
@@ -5634,9 +5778,23 @@
                    "description": "入库",
                    "type": "number"
                },
                "inMoreUnits": {
                    "description": "入库多单位",
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/models.UnitItems"
                    }
                },
                "out": {
                    "description": "出库",
                    "type": "number"
                },
                "outMoreUnits": {
                    "description": "出库多单位",
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/models.UnitItems"
                    }
                },
                "produceId": {
                    "description": "产品id",
@@ -5667,6 +5825,13 @@
                    "description": "数量",
                    "type": "number"
                },
                "amountMoreUnits": {
                    "description": "在库数量多单位",
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/models.UnitItems"
                    }
                },
                "locationId": {
                    "description": "位置id",
                    "type": "integer"