From 116948bcec330a6dde841708515c222fcebf51a7 Mon Sep 17 00:00:00 2001
From: jiangshuai <291802688@qq.com>
Date: 星期二, 06 二月 2024 10:12:10 +0800
Subject: [PATCH] Merge branch 'master' of http://192.168.5.5:10010/r/aps/crm

---
 model/response/salesDetails.go |   15 ++++++++++++++-
 1 files changed, 14 insertions(+), 1 deletions(-)

diff --git a/model/response/salesDetails.go b/model/response/salesDetails.go
index 80ce00c..2c57379 100644
--- a/model/response/salesDetails.go
+++ b/model/response/salesDetails.go
@@ -1,5 +1,10 @@
 package response
 
+type Info struct {
+	MakeInfo     []WorkOrderInfo `json:"makeInfo"`
+	PurchaseInfo []Purchase      `json:"purchaseInfo"`
+}
+
 type WorkOrderInfo struct {
 	OrderId         string `json:"orderId"`
 	ProductName     string `json:"productName"`
@@ -10,8 +15,16 @@
 	EndTime         string `json:"endTime"`
 }
 
+type Purchase struct {
+	PurchaseNumber string `json:"purchaseNumber"`
+	PurchaseName   string `json:"purchaseName"`
+	SupplierName   string `json:"supplierName"`
+	Amount         int64  `json:"amount"`
+	Status         int64  `json:"status"`
+}
+
 type ProductInfo struct {
-	Id              string `json:"id"`
+	Number          string `json:"number"`
 	Name            string `json:"name"`
 	OrderAmount     string `json:"orderAmount"` //璁㈠崟鏁伴噺
 	Unit            string `json:"unit"`

--
Gitblit v1.8.0