From 4f526b034a6e13a521ad71dcbdbea97043d6ea19 Mon Sep 17 00:00:00 2001
From: zhangqian <zhangqian@123.com>
Date: 星期三, 20 三月 2024 19:21:20 +0800
Subject: [PATCH] 发货信息字段完善

---
 docs/docs.go |  350 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 348 insertions(+), 2 deletions(-)

diff --git a/docs/docs.go b/docs/docs.go
index 1455302..875b1b9 100644
--- a/docs/docs.go
+++ b/docs/docs.go
@@ -7008,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": [
@@ -7085,6 +7145,66 @@
                 }
             }
         },
+        "/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/getProductInventoryInfo/{number}": {
             "get": {
                 "produces": [
@@ -7093,7 +7213,7 @@
                 "tags": [
                     "SalesDetails"
                 ],
-                "summary": "鑾峰彇浜у搧搴撳瓨淇℃伅",
+                "summary": "鑾峰彇浜у搧鍙戣揣淇℃伅",
                 "parameters": [
                     {
                         "type": "string",
@@ -10653,16 +10773,22 @@
                 1,
                 2,
                 3,
-                4
+                4,
+                5,
+                6
             ],
             "x-enum-comments": {
+                "InStock": "澶囪揣涓�",
                 "OverCLose": "宸插叧闂�",
                 "OverOutbound": "鍑哄簱瀹屾垚",
                 "WaitConfirmed": "寰呯‘璁�",
+                "WaitDecompose": "寰呭垎瑙�",
                 "WaitOutbound": "寰呭嚭搴�"
             },
             "x-enum-varnames": [
                 "WaitConfirmed",
+                "WaitDecompose",
+                "InStock",
                 "WaitOutbound",
                 "OverOutbound",
                 "OverCLose"
@@ -11994,8 +12120,14 @@
                 "profit": {
                     "type": "string"
                 },
+                "specs": {
+                    "type": "string"
+                },
                 "total": {
                     "type": "number"
+                },
+                "type": {
+                    "type": "string"
                 },
                 "unit": {
                     "type": "string"
@@ -15430,6 +15562,41 @@
                     "items": {
                         "type": "integer"
                     }
+                }
+            }
+        },
+        "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"
                 }
             }
         },
@@ -19324,6 +19491,18 @@
                         "$ref": "#/definitions/response.WorkOrderInfo"
                     }
                 },
+                "outsourcingInfo": {
+                    "type": "array",
+                    "items": {
+                        "$ref": "#/definitions/response.OutsourcingInfo"
+                    }
+                },
+                "productInfo": {
+                    "type": "array",
+                    "items": {
+                        "$ref": "#/definitions/response.SalesDetailsProductInfo"
+                    }
+                },
                 "purchaseInfo": {
                     "type": "array",
                     "items": {
@@ -19433,6 +19612,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": {
@@ -19473,7 +19695,18 @@
             "type": "object",
             "properties": {
                 "amount": {
+                    "description": "璁㈠崟鏁伴噺",
                     "type": "integer"
+                },
+                "finishAmount": {
+                    "description": "瀹屾垚鏁伴噺",
+                    "type": "integer"
+                },
+                "productId": {
+                    "type": "string"
+                },
+                "productName": {
+                    "type": "string"
                 },
                 "purchaseName": {
                     "type": "string"
@@ -19481,10 +19714,18 @@
                 "purchaseNumber": {
                     "type": "string"
                 },
+                "specs": {
+                    "description": "鐗╂枡瑙勬牸",
+                    "type": "string"
+                },
                 "status": {
                     "type": "integer"
                 },
                 "supplierName": {
+                    "type": "string"
+                },
+                "unit": {
+                    "description": "鍗曚綅",
                     "type": "string"
                 }
             }
@@ -19614,6 +19855,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"
                 }
             }
         },
@@ -19798,8 +20114,16 @@
         "response.WorkOrderInfo": {
             "type": "object",
             "properties": {
+                "amount": {
+                    "description": "璁㈠崟鏁伴噺",
+                    "type": "integer"
+                },
                 "endTime": {
                     "type": "string"
+                },
+                "finishAmount": {
+                    "description": "瀹屾垚鏁伴噺",
+                    "type": "integer"
                 },
                 "orderId": {
                     "type": "string"
@@ -19807,10 +20131,21 @@
                 "orderStatus": {
                     "type": "string"
                 },
+                "productId": {
+                    "type": "string"
+                },
                 "productName": {
                     "type": "string"
                 },
+                "specs": {
+                    "description": "鐗╂枡瑙勬牸",
+                    "type": "string"
+                },
                 "startTime": {
+                    "type": "string"
+                },
+                "unit": {
+                    "description": "鍗曚綅",
                     "type": "string"
                 },
                 "workOrderId": {
@@ -19820,6 +20155,17 @@
                     "type": "string"
                 }
             }
+        },
+        "v1.GetWarehouseProductInfoReq": {
+            "type": "object",
+            "properties": {
+                "saleDetailID": {
+                    "type": "integer"
+                },
+                "saleDetailNumber": {
+                    "type": "string"
+                }
+            }
         }
     }
 }`

--
Gitblit v1.8.0