jiangshuai
2023-09-21 ee20ffe2a2d1494af0a1285440605d67a5846da6
docs/docs.go
@@ -467,6 +467,34 @@
                }
            }
        },
        "/api-wms/v1/operation/finish/{id}": {
            "put": {
                "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/operation": {
            "get": {
                "consumes": [
@@ -537,7 +565,7 @@
            }
        },
        "/api-wms/v1/operation/operation/{id}": {
            "put": {
            "post": {
                "produces": [
                    "application/json"
                ],
@@ -605,7 +633,7 @@
                    "application/json"
                ],
                "tags": [
                    "作业类型"
                    "业务类型"
                ],
                "summary": "查询作业类型列表",
                "parameters": [
@@ -656,7 +684,7 @@
                    "application/json"
                ],
                "tags": [
                    "作业类型"
                    "业务类型"
                ],
                "summary": "添加作业类型",
                "parameters": [
@@ -686,7 +714,7 @@
                    "application/json"
                ],
                "tags": [
                    "作业类型"
                    "业务类型"
                ],
                "summary": "编辑作业类型",
                "parameters": [
@@ -721,7 +749,7 @@
                    "application/json"
                ],
                "tags": [
                    "作业类型"
                    "业务类型"
                ],
                "summary": "删除作业类型",
                "parameters": [
@@ -1622,10 +1650,6 @@
        "models.Material": {
            "type": "object",
            "properties": {
                "HSCode": {
                    "description": "HS编码",
                    "type": "string"
                },
                "amount": {
                    "description": "数量",
                    "type": "number"
@@ -1679,14 +1703,14 @@
                    "type": "number"
                },
                "deliveryAdvanceTime": {
                    "description": "交货提前时间(天)",
                    "type": "integer"
                    "description": "客户前置时间(天)",
                    "type": "number"
                },
                "id": {
                    "type": "string"
                },
                "inStorageExplain": {
                    "description": "入库说明",
                    "description": "HSCode                  string                     ` + "`" + `gorm:\"type:varchar(255);comment:HS编码\" json:\"HSCode\"` + "`" + `                    //HS编码\nOriginCountryId         int                        ` + "`" + `gorm:\"type:int(11);comment:原产地id\" json:\"originCountryId\"` + "`" + `               //原产地id\nOriginCountryName       string                     ` + "`" + `gorm:\"type:varchar(255);comment:原产地名称\" json:\"originCountryName\"` + "`" + `        //原产地名称",
                    "type": "string"
                },
                "internalNotes": {
@@ -1713,6 +1737,10 @@
                    "description": "PurchaseType      constvar.PurchaseType ` + "`" + `gorm:\"type:int(11);comment:采购类型\" json:\"purchaseType\"` + "`" + `",
                    "type": "boolean"
                },
                "makeAdvanceTime": {
                    "description": "制造前置时间(天)",
                    "type": "number"
                },
                "maxInventory": {
                    "description": "最大库存",
                    "type": "number"
@@ -1737,6 +1765,10 @@
                    "description": "物料名称",
                    "type": "string"
                },
                "orderAdvanceTime": {
                    "description": "订单准备天数(天)",
                    "type": "number"
                },
                "orderCreation": {
                    "description": "订单创建",
                    "allOf": [
@@ -1744,14 +1776,6 @@
                            "$ref": "#/definitions/constvar.OrderCreation"
                        }
                    ]
                },
                "originCountryId": {
                    "description": "原产地id",
                    "type": "integer"
                },
                "originCountryName": {
                    "description": "原产地名称",
                    "type": "string"
                },
                "outStorageExplain": {
                    "description": "出库说明",
@@ -2089,22 +2113,24 @@
        "request.AddOperation": {
            "type": "object",
            "properties": {
                "carrierID": {
                    "type": "integer"
                },
                "carrierName": {
                "comment": {
                    "description": "备注",
                    "type": "string"
                },
                "companyID": {
                    "description": "公司ID-客户",
                    "type": "integer"
                },
                "companyName": {
                    "description": "公司名称-客户名称",
                    "type": "string"
                },
                "contacterID": {
                    "description": "联系人ID-非必填",
                    "type": "integer"
                },
                "contacterName": {
                    "description": "联系人姓名-非必填",
                    "type": "string"
                },
                "details": {
@@ -2125,6 +2151,7 @@
                    "type": "string"
                },
                "operationDate": {
                    "description": "安排日期",
                    "type": "string"
                },
                "operationTypeId": {
@@ -2146,15 +2173,6 @@
                "toLocationId": {
                    "description": "目标位置id",
                    "type": "integer"
                },
                "tracking": {
                    "type": "string"
                },
                "transferWeight": {
                    "type": "number"
                },
                "weight": {
                    "type": "number"
                }
            }
        },
@@ -2302,13 +2320,13 @@
        "request.OperationDetails": {
            "type": "object",
            "properties": {
                "finishQuantity": {
                    "description": "完成数量",
                    "type": "number"
                "OperationId": {
                    "description": "操作id",
                    "type": "integer"
                },
                "productId": {
                    "description": "产品id",
                    "type": "integer"
                    "type": "string"
                },
                "productName": {
                    "description": "产品名称",
@@ -2317,6 +2335,9 @@
                "quantity": {
                    "description": "数量",
                    "type": "number"
                },
                "unit": {
                    "type": "string"
                }
            }
        },
@@ -2359,22 +2380,24 @@
        "request.UpdateOperation": {
            "type": "object",
            "properties": {
                "carrierID": {
                    "type": "integer"
                },
                "carrierName": {
                "comment": {
                    "description": "备注",
                    "type": "string"
                },
                "companyID": {
                    "description": "公司ID-客户",
                    "type": "integer"
                },
                "companyName": {
                    "description": "公司名称-客户名称",
                    "type": "string"
                },
                "contacterID": {
                    "description": "联系人ID-非必填",
                    "type": "integer"
                },
                "contacterName": {
                    "description": "联系人姓名-非必填",
                    "type": "string"
                },
                "details": {
@@ -2395,6 +2418,7 @@
                    "type": "string"
                },
                "operationDate": {
                    "description": "安排日期",
                    "type": "string"
                },
                "operationTypeId": {
@@ -2416,15 +2440,6 @@
                "toLocationId": {
                    "description": "目标位置id",
                    "type": "integer"
                },
                "tracking": {
                    "type": "string"
                },
                "transferWeight": {
                    "type": "number"
                },
                "weight": {
                    "type": "number"
                }
            }
        },
@@ -2546,8 +2561,6 @@
   Description:      "",
   InfoInstanceName: "swagger",
   SwaggerTemplate:  docTemplate,
   LeftDelim:        "{{",
   RightDelim:       "}}",
}
func init() {