From bd33bea0f3b44e608fcb4d9aa9d1f51a2f5bcf17 Mon Sep 17 00:00:00 2001
From: zhangqian <zhangqian@123.com>
Date: 星期日, 07 四月 2024 19:26:17 +0800
Subject: [PATCH] 新增按仓库分组的发货准备接口

---
 docs/docs.go |  877 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 874 insertions(+), 3 deletions(-)

diff --git a/docs/docs.go b/docs/docs.go
index bf61850..ef7fd5c 100644
--- a/docs/docs.go
+++ b/docs/docs.go
@@ -4917,6 +4917,46 @@
                 }
             }
         },
+        "/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": {
+                                            "$ref": "#/definitions/response.Info"
+                                        }
+                                    }
+                                }
+                            ]
+                        }
+                    }
+                }
+            }
+        },
         "/api/product/info": {
             "get": {
                 "produces": [
@@ -4989,6 +5029,12 @@
                         "type": "string",
                         "description": "浜у搧缂栫爜",
                         "name": "productNumber",
+                        "in": "query"
+                    },
+                    {
+                        "type": "string",
+                        "description": "鎶ヤ环鍗曠紪鐮�",
+                        "name": "quotationNumber",
                         "in": "query"
                     }
                 ],
@@ -5277,6 +5323,40 @@
                 }
             }
         },
+        "/api/quotation/statistics": {
+            "get": {
+                "produces": [
+                    "application/json"
+                ],
+                "tags": [
+                    "Quotation"
+                ],
+                "summary": "鎶ヤ环鍗曠粺璁�",
+                "responses": {
+                    "200": {
+                        "description": "OK",
+                        "schema": {
+                            "allOf": [
+                                {
+                                    "$ref": "#/definitions/contextx.Response"
+                                },
+                                {
+                                    "type": "object",
+                                    "properties": {
+                                        "data": {
+                                            "type": "object",
+                                            "additionalProperties": {
+                                                "type": "integer"
+                                            }
+                                        }
+                                    }
+                                }
+                            ]
+                        }
+                    }
+                }
+            }
+        },
         "/api/quotation/update": {
             "put": {
                 "produces": [
@@ -5510,6 +5590,15 @@
                         "type": "integer",
                         "description": "姣忛〉澶у皬",
                         "name": "pageSize",
+                        "in": "query"
+                    },
+                    {
+                        "type": "array",
+                        "items": {
+                            "type": "integer"
+                        },
+                        "collectionFormat": "csv",
+                        "name": "principleIds",
                         "in": "query"
                     },
                     {
@@ -6919,6 +7008,66 @@
                 }
             }
         },
+        "/api/salesDetails/confirmOutput": {
+            "post": {
+                "produces": [
+                    "application/json"
+                ],
+                "tags": [
+                    "SalesDetails"
+                ],
+                "summary": "纭鍙戣揣",
+                "parameters": [
+                    {
+                        "description": "鏄庣粏缂栫爜",
+                        "name": "object",
+                        "in": "body",
+                        "required": true,
+                        "schema": {
+                            "$ref": "#/definitions/request.ConfirmOutput"
+                        }
+                    }
+                ],
+                "responses": {
+                    "200": {
+                        "description": "OK",
+                        "schema": {
+                            "$ref": "#/definitions/response.ListResponse"
+                        }
+                    }
+                }
+            }
+        },
+        "/api/salesDetails/confirmOutputOver": {
+            "post": {
+                "produces": [
+                    "application/json"
+                ],
+                "tags": [
+                    "SalesDetails"
+                ],
+                "summary": "纭鍙戣揣",
+                "parameters": [
+                    {
+                        "description": "鏄庣粏缂栫爜",
+                        "name": "object",
+                        "in": "body",
+                        "required": true,
+                        "schema": {
+                            "$ref": "#/definitions/request.ConfirmOutputOver"
+                        }
+                    }
+                ],
+                "responses": {
+                    "200": {
+                        "description": "OK",
+                        "schema": {
+                            "$ref": "#/definitions/response.ListResponse"
+                        }
+                    }
+                }
+            }
+        },
         "/api/salesDetails/delete": {
             "delete": {
                 "produces": [
@@ -6977,6 +7126,143 @@
                 }
             }
         },
+        "/api/salesDetails/getApsProjectList": {
+            "get": {
+                "produces": [
+                    "application/json"
+                ],
+                "tags": [
+                    "SalesDetails"
+                ],
+                "summary": "鑾峰彇aps椤圭洰鍒楄〃",
+                "responses": {
+                    "200": {
+                        "description": "OK",
+                        "schema": {
+                            "$ref": "#/definitions/response.Response"
+                        }
+                    }
+                }
+            }
+        },
+        "/api/salesDetails/getDeliveryList": {
+            "post": {
+                "produces": [
+                    "application/json"
+                ],
+                "tags": [
+                    "SalesDetails"
+                ],
+                "summary": "鍙戣揣鏄庣粏",
+                "parameters": [
+                    {
+                        "description": "鏄庣粏缂栫爜",
+                        "name": "object",
+                        "in": "body",
+                        "required": true,
+                        "schema": {
+                            "$ref": "#/definitions/v1.GetWarehouseProductInfoReq"
+                        }
+                    }
+                ],
+                "responses": {
+                    "200": {
+                        "description": "OK",
+                        "schema": {
+                            "$ref": "#/definitions/response.ListResponse"
+                        }
+                    }
+                }
+            }
+        },
+        "/api/salesDetails/getDeliveryPrepareInfo": {
+            "post": {
+                "produces": [
+                    "application/json"
+                ],
+                "tags": [
+                    "SalesDetails"
+                ],
+                "summary": "鑾峰彇浜у搧鍏ュ簱淇℃伅",
+                "parameters": [
+                    {
+                        "description": "鏄庣粏缂栫爜",
+                        "name": "object",
+                        "in": "body",
+                        "required": true,
+                        "schema": {
+                            "$ref": "#/definitions/v1.GetWarehouseProductInfoReq"
+                        }
+                    }
+                ],
+                "responses": {
+                    "200": {
+                        "description": "OK",
+                        "schema": {
+                            "$ref": "#/definitions/response.ListResponse"
+                        }
+                    }
+                }
+            }
+        },
+        "/api/salesDetails/getDeliveryPrepareInfoByWarehouse": {
+            "post": {
+                "produces": [
+                    "application/json"
+                ],
+                "tags": [
+                    "SalesDetails"
+                ],
+                "summary": "鑾峰彇浜у搧鍏ュ簱淇℃伅鎸変粨搴撳垎缁�",
+                "parameters": [
+                    {
+                        "description": "鏄庣粏缂栫爜",
+                        "name": "object",
+                        "in": "body",
+                        "required": true,
+                        "schema": {
+                            "$ref": "#/definitions/v1.GetWarehouseProductInfoReq"
+                        }
+                    }
+                ],
+                "responses": {
+                    "200": {
+                        "description": "OK",
+                        "schema": {
+                            "$ref": "#/definitions/response.ListResponse"
+                        }
+                    }
+                }
+            }
+        },
+        "/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"
+                        }
+                    }
+                }
+            }
+        },
         "/api/salesDetails/list": {
             "post": {
                 "produces": [
@@ -7019,6 +7305,36 @@
                 }
             }
         },
+        "/api/salesDetails/sendSalesDetailsToOtherSystem": {
+            "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/update": {
             "put": {
                 "produces": [
@@ -7036,6 +7352,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"
                         }
                     }
                 ],
@@ -9627,6 +9973,96 @@
                 }
             }
         },
+        "/api/system/getSystemSet": {
+            "get": {
+                "produces": [
+                    "application/json"
+                ],
+                "tags": [
+                    "绯荤粺璁剧疆"
+                ],
+                "summary": "鑾峰彇绯荤粺璁剧疆",
+                "responses": {
+                    "200": {
+                        "description": "鎴愬姛",
+                        "schema": {
+                            "allOf": [
+                                {
+                                    "$ref": "#/definitions/contextx.Response"
+                                },
+                                {
+                                    "type": "object",
+                                    "properties": {
+                                        "data": {
+                                            "type": "object",
+                                            "additionalProperties": true
+                                        }
+                                    }
+                                }
+                            ]
+                        }
+                    }
+                }
+            }
+        },
+        "/api/system/saveSystemSet": {
+            "post": {
+                "produces": [
+                    "application/json"
+                ],
+                "tags": [
+                    "绯荤粺璁剧疆"
+                ],
+                "summary": "淇濆瓨绯荤粺璁剧疆",
+                "parameters": [
+                    {
+                        "description": "鏌ヨ鍙傛暟",
+                        "name": "object",
+                        "in": "body",
+                        "required": true,
+                        "schema": {
+                            "$ref": "#/definitions/request.SaveSystemSet"
+                        }
+                    }
+                ],
+                "responses": {
+                    "200": {
+                        "description": "鎴愬姛",
+                        "schema": {
+                            "$ref": "#/definitions/contextx.Response"
+                        }
+                    }
+                }
+            }
+        },
+        "/api/system/useSystemSet/{modeType}": {
+            "get": {
+                "produces": [
+                    "application/json"
+                ],
+                "tags": [
+                    "绯荤粺璁剧疆"
+                ],
+                "summary": "浣跨敤绯荤粺璁剧疆",
+                "parameters": [
+                    {
+                        "type": "string",
+                        "description": "鏌ヨ鍙傛暟",
+                        "name": "modeType",
+                        "in": "path",
+                        "required": true
+                    }
+                ],
+                "responses": {
+                    "200": {
+                        "description": "OK",
+                        "schema": {
+                            "$ref": "#/definitions/response.ListResponse"
+                        }
+                    }
+                }
+            }
+        },
         "/api/timeSpent/add": {
             "post": {
                 "produces": [
@@ -10359,6 +10795,33 @@
                 "SalesDetailsKeywordTypeSignTime",
                 "SalesDetailsKeywordTypePrincipal",
                 "SalesDetailsKeywordTypeProductName"
+            ]
+        },
+        "constvar.SalesDetailsStatus": {
+            "type": "integer",
+            "enum": [
+                1,
+                2,
+                3,
+                4,
+                5,
+                6
+            ],
+            "x-enum-comments": {
+                "InStock": "澶囪揣涓�",
+                "OverCLose": "宸插叧闂�",
+                "OverOutbound": "鍑哄簱瀹屾垚",
+                "WaitConfirmed": "寰呯‘璁�",
+                "WaitDecompose": "寰呭垎瑙�",
+                "WaitOutbound": "寰呭嚭搴�"
+            },
+            "x-enum-varnames": [
+                "WaitConfirmed",
+                "WaitDecompose",
+                "InStock",
+                "WaitOutbound",
+                "OverOutbound",
+                "OverCLose"
             ]
         },
         "constvar.SalesRefundKeywordType": {
@@ -11150,6 +11613,9 @@
                 "quotationId": {
                     "type": "integer"
                 },
+                "sendTime": {
+                    "type": "string"
+                },
                 "serviceContractStatus": {
                     "$ref": "#/definitions/model.ServiceContractStatus"
                 },
@@ -11660,11 +12126,17 @@
                 "amount": {
                     "type": "number"
                 },
+                "cost": {
+                    "type": "string"
+                },
                 "desc": {
                     "type": "string"
                 },
                 "id": {
                     "type": "integer"
+                },
+                "margin": {
+                    "type": "string"
                 },
                 "name": {
                     "type": "string"
@@ -11675,8 +12147,20 @@
                 "price": {
                     "type": "number"
                 },
+                "profit": {
+                    "type": "string"
+                },
+                "specs": {
+                    "type": "string"
+                },
                 "total": {
                     "type": "number"
+                },
+                "type": {
+                    "type": "string"
+                },
+                "unit": {
+                    "type": "string"
                 }
             }
         },
@@ -11700,6 +12184,10 @@
         "model.Quotation": {
             "type": "object",
             "properties": {
+                "amountTotal": {
+                    "description": "浠锋牸鍚堣",
+                    "type": "number"
+                },
                 "client": {
                     "$ref": "#/definitions/model.Client"
                 },
@@ -12211,6 +12699,9 @@
                         "$ref": "#/definitions/model.Product"
                     }
                 },
+                "projectId": {
+                    "type": "string"
+                },
                 "quotation": {
                     "$ref": "#/definitions/model.Quotation"
                 },
@@ -12231,6 +12722,12 @@
                 },
                 "signTime": {
                     "type": "string"
+                },
+                "source": {
+                    "type": "string"
+                },
+                "status": {
+                    "$ref": "#/definitions/constvar.SalesDetailsStatus"
                 },
                 "updateTime": {
                     "type": "string"
@@ -13140,6 +13637,23 @@
                 }
             }
         },
+        "model.SystemSet": {
+            "type": "object",
+            "properties": {
+                "id": {
+                    "type": "integer"
+                },
+                "modeType": {
+                    "type": "string"
+                },
+                "name": {
+                    "type": "string"
+                },
+                "value": {
+                    "type": "string"
+                }
+            }
+        },
         "model.TimeSpent": {
             "type": "object",
             "properties": {
@@ -13201,6 +13715,10 @@
                     "type": "string"
                 },
                 "realName": {
+                    "type": "string"
+                },
+                "subUserIds": {
+                    "description": "涓嬪睘鍛樺伐鐢ㄦ埛id,鐢ㄩ�楀彿鍒嗗紑",
                     "type": "string"
                 },
                 "userType": {
@@ -13578,7 +14096,7 @@
                     "type": "integer"
                 },
                 "sendTime": {
-                    "description": "鍙戣揣鏃堕棿s",
+                    "description": "鍙戣揣鏃堕棿",
                     "type": "string"
                 },
                 "status_id": {
@@ -14310,11 +14828,17 @@
         "request.AddSalesDetails": {
             "type": "object",
             "properties": {
+                "Member": {
+                    "$ref": "#/definitions/model.User"
+                },
                 "address": {
                     "type": "string"
                 },
                 "addressee": {
                     "type": "string"
+                },
+                "client": {
+                    "$ref": "#/definitions/model.Client"
                 },
                 "clientId": {
                     "type": "integer"
@@ -14357,6 +14881,9 @@
                         "$ref": "#/definitions/model.Product"
                     }
                 },
+                "projectId": {
+                    "type": "string"
+                },
                 "quotationId": {
                     "type": "integer"
                 },
@@ -14371,6 +14898,12 @@
                 },
                 "signTime": {
                     "type": "string"
+                },
+                "source": {
+                    "type": "string"
+                },
+                "status": {
+                    "$ref": "#/definitions/constvar.SalesDetailsStatus"
                 },
                 "wechatOrderStatusId": {
                     "type": "integer"
@@ -15062,6 +15595,41 @@
                 }
             }
         },
+        "request.ConfirmOutput": {
+            "type": "object",
+            "properties": {
+                "products": {
+                    "type": "array",
+                    "items": {
+                        "$ref": "#/definitions/request.ConfirmOutputProducts"
+                    }
+                },
+                "saleDetailNumber": {
+                    "type": "string"
+                }
+            }
+        },
+        "request.ConfirmOutputOver": {
+            "type": "object",
+            "properties": {
+                "saleDetailNumber": {
+                    "type": "string"
+                }
+            }
+        },
+        "request.ConfirmOutputProducts": {
+            "type": "object",
+            "properties": {
+                "number": {
+                    "description": "浜у搧缂栧彿",
+                    "type": "string"
+                },
+                "outputAmount": {
+                    "description": "鏈鍙戣揣鏁伴噺",
+                    "type": "number"
+                }
+            }
+        },
         "request.Contact": {
             "type": "object",
             "properties": {
@@ -15389,6 +15957,9 @@
         "request.GetContractList": {
             "type": "object",
             "properties": {
+                "keyword": {
+                    "type": "string"
+                },
                 "page": {
                     "description": "椤电爜",
                     "type": "integer"
@@ -15454,6 +16025,12 @@
                 "pageSize": {
                     "description": "姣忛〉澶у皬",
                     "type": "integer"
+                },
+                "principalIds": {
+                    "type": "array",
+                    "items": {
+                        "type": "integer"
+                    }
                 },
                 "sourceId": {
                     "type": "integer"
@@ -15568,7 +16145,7 @@
                     "$ref": "#/definitions/constvar.SalesDetailsKeywordType"
                 },
                 "number": {
-                    "description": "閿�鍞瓙鍗曞彿",
+                    "description": "閿�鍞槑缁嗗崟鍙�",
                     "type": "string"
                 },
                 "page": {
@@ -15873,11 +16450,17 @@
         "request.SalesDetails": {
             "type": "object",
             "properties": {
+                "Member": {
+                    "$ref": "#/definitions/model.User"
+                },
                 "address": {
                     "type": "string"
                 },
                 "addressee": {
                     "type": "string"
+                },
+                "client": {
+                    "$ref": "#/definitions/model.Client"
                 },
                 "clientId": {
                     "type": "integer"
@@ -15920,6 +16503,9 @@
                         "$ref": "#/definitions/model.Product"
                     }
                 },
+                "projectId": {
+                    "type": "string"
+                },
                 "quotationId": {
                     "type": "integer"
                 },
@@ -15934,6 +16520,12 @@
                 },
                 "signTime": {
                     "type": "string"
+                },
+                "source": {
+                    "type": "string"
+                },
+                "status": {
+                    "$ref": "#/definitions/constvar.SalesDetailsStatus"
                 },
                 "wechatOrderStatusId": {
                     "type": "integer"
@@ -16046,6 +16638,17 @@
                             "$ref": "#/definitions/constvar.SalesReturnSourceType"
                         }
                     ]
+                }
+            }
+        },
+        "request.SaveSystemSet": {
+            "type": "object",
+            "properties": {
+                "sets": {
+                    "type": "array",
+                    "items": {
+                        "$ref": "#/definitions/model.SystemSet"
+                    }
                 }
             }
         },
@@ -16515,7 +17118,7 @@
                     "type": "integer"
                 },
                 "sendTime": {
-                    "description": "鍙戣揣鏃堕棿s",
+                    "description": "鍙戣揣鏃堕棿",
                     "type": "string"
                 },
                 "status_id": {
@@ -17611,6 +18214,17 @@
                 },
                 "salesDetails": {
                     "$ref": "#/definitions/request.SalesDetails"
+                }
+            }
+        },
+        "request.UpdateSalesDetailsStatus": {
+            "type": "object",
+            "properties": {
+                "id": {
+                    "type": "integer"
+                },
+                "status": {
+                    "$ref": "#/definitions/constvar.SalesDetailsStatus"
                 }
             }
         },
@@ -18898,6 +19512,35 @@
                 }
             }
         },
+        "response.Info": {
+            "type": "object",
+            "properties": {
+                "makeInfo": {
+                    "type": "array",
+                    "items": {
+                        "$ref": "#/definitions/response.WorkOrderInfo"
+                    }
+                },
+                "outsourcingInfo": {
+                    "type": "array",
+                    "items": {
+                        "$ref": "#/definitions/response.OutsourcingInfo"
+                    }
+                },
+                "productInfo": {
+                    "type": "array",
+                    "items": {
+                        "$ref": "#/definitions/response.SalesDetailsProductInfo"
+                    }
+                },
+                "purchaseInfo": {
+                    "type": "array",
+                    "items": {
+                        "$ref": "#/definitions/response.Purchase"
+                    }
+                }
+            }
+        },
         "response.IsInvoiceResponse": {
             "type": "object",
             "properties": {
@@ -18999,6 +19642,49 @@
                 }
             }
         },
+        "response.OutsourcingInfo": {
+            "type": "object",
+            "properties": {
+                "amount": {
+                    "description": "璁㈠崟鏁伴噺",
+                    "type": "integer"
+                },
+                "endTime": {
+                    "type": "string"
+                },
+                "finishAmount": {
+                    "description": "瀹屾垚鏁伴噺",
+                    "type": "integer"
+                },
+                "outsourcingId": {
+                    "description": "濮斿璁㈠崟id",
+                    "type": "string"
+                },
+                "outsourcingStatus": {
+                    "type": "string"
+                },
+                "productId": {
+                    "type": "string"
+                },
+                "productName": {
+                    "type": "string"
+                },
+                "specs": {
+                    "description": "鐗╂枡瑙勬牸",
+                    "type": "string"
+                },
+                "startTime": {
+                    "type": "string"
+                },
+                "supplierName": {
+                    "type": "string"
+                },
+                "unit": {
+                    "description": "鍗曚綅",
+                    "type": "string"
+                }
+            }
+        },
         "response.PlanResponse": {
             "type": "object",
             "properties": {
@@ -19032,6 +19718,45 @@
                     "items": {
                         "$ref": "#/definitions/model.Province"
                     }
+                }
+            }
+        },
+        "response.Purchase": {
+            "type": "object",
+            "properties": {
+                "amount": {
+                    "description": "璁㈠崟鏁伴噺",
+                    "type": "integer"
+                },
+                "finishAmount": {
+                    "description": "瀹屾垚鏁伴噺",
+                    "type": "integer"
+                },
+                "productId": {
+                    "type": "string"
+                },
+                "productName": {
+                    "type": "string"
+                },
+                "purchaseName": {
+                    "type": "string"
+                },
+                "purchaseNumber": {
+                    "type": "string"
+                },
+                "specs": {
+                    "description": "鐗╂枡瑙勬牸",
+                    "type": "string"
+                },
+                "status": {
+                    "type": "integer"
+                },
+                "supplierName": {
+                    "type": "string"
+                },
+                "unit": {
+                    "description": "鍗曚綅",
+                    "type": "string"
                 }
             }
         },
@@ -19115,6 +19840,18 @@
                 }
             }
         },
+        "response.Response": {
+            "type": "object",
+            "properties": {
+                "code": {
+                    "type": "integer"
+                },
+                "data": {},
+                "msg": {
+                    "type": "string"
+                }
+            }
+        },
         "response.SaleChanceResponse": {
             "type": "object",
             "properties": {
@@ -19148,6 +19885,81 @@
                     "items": {
                         "$ref": "#/definitions/model.SaleType"
                     }
+                }
+            }
+        },
+        "response.SalesDetailsProductInfo": {
+            "type": "object",
+            "properties": {
+                "amount": {
+                    "description": "璁㈠崟鏁伴噺",
+                    "type": "number"
+                },
+                "cost": {
+                    "description": "浜у搧鎴愭湰",
+                    "type": "string"
+                },
+                "deliveryAmount": {
+                    "description": "鍙戣揣鏁伴噺",
+                    "type": "integer"
+                },
+                "finishAmount": {
+                    "description": "瀹屾垚鏁伴噺",
+                    "type": "integer"
+                },
+                "makeAmount": {
+                    "description": "鍒堕�犳暟閲�",
+                    "type": "integer"
+                },
+                "makeFinishAmount": {
+                    "description": "鍒堕�犲畬鎴愭暟閲�",
+                    "type": "integer"
+                },
+                "margin": {
+                    "description": "姣涘埄鐜�",
+                    "type": "string"
+                },
+                "outsourcingAmount": {
+                    "description": "濮斿鏁伴噺",
+                    "type": "integer"
+                },
+                "outsourcingFinishAmount": {
+                    "description": "濮斿瀹屾垚鏁伴噺",
+                    "type": "integer"
+                },
+                "price": {
+                    "description": "浜у搧浠锋牸",
+                    "type": "number"
+                },
+                "productId": {
+                    "type": "string"
+                },
+                "productName": {
+                    "type": "string"
+                },
+                "profit": {
+                    "description": "姣涘埄",
+                    "type": "string"
+                },
+                "purchaseAmount": {
+                    "description": "閲囪喘鏁伴噺",
+                    "type": "integer"
+                },
+                "purchaseFinishAmount": {
+                    "description": "閲囪喘瀹屾垚鏁伴噺",
+                    "type": "integer"
+                },
+                "specs": {
+                    "description": "鐗╂枡瑙勬牸",
+                    "type": "string"
+                },
+                "total": {
+                    "description": "浜у搧鎬讳环",
+                    "type": "number"
+                },
+                "unit": {
+                    "description": "鍗曚綅",
+                    "type": "string"
                 }
             }
         },
@@ -19328,6 +20140,65 @@
                     }
                 }
             }
+        },
+        "response.WorkOrderInfo": {
+            "type": "object",
+            "properties": {
+                "amount": {
+                    "description": "璁㈠崟鏁伴噺",
+                    "type": "integer"
+                },
+                "endTime": {
+                    "type": "string"
+                },
+                "finishAmount": {
+                    "description": "瀹屾垚鏁伴噺",
+                    "type": "integer"
+                },
+                "orderId": {
+                    "type": "string"
+                },
+                "orderStatus": {
+                    "type": "string"
+                },
+                "productId": {
+                    "type": "string"
+                },
+                "productName": {
+                    "type": "string"
+                },
+                "specs": {
+                    "description": "鐗╂枡瑙勬牸",
+                    "type": "string"
+                },
+                "startTime": {
+                    "type": "string"
+                },
+                "unit": {
+                    "description": "鍗曚綅",
+                    "type": "string"
+                },
+                "workOrderId": {
+                    "type": "string"
+                },
+                "workOrderStatus": {
+                    "type": "string"
+                }
+            }
+        },
+        "v1.GetWarehouseProductInfoReq": {
+            "type": "object",
+            "properties": {
+                "groupByWarehouse": {
+                    "type": "boolean"
+                },
+                "saleDetailID": {
+                    "type": "integer"
+                },
+                "saleDetailNumber": {
+                    "type": "string"
+                }
+            }
         }
     }
 }`

--
Gitblit v1.8.0