From 0fd3231799d9185af352dcbc4f8e14df5e0f0233 Mon Sep 17 00:00:00 2001
From: liujiandao <274878379@qq.com>
Date: 星期五, 22 三月 2024 10:53:38 +0800
Subject: [PATCH] 采购单到货与质检信息操作

---
 model/purchase/request/purchase.go |   27 +++++++++++++++++++++++++++
 1 files changed, 27 insertions(+), 0 deletions(-)

diff --git a/model/purchase/request/purchase.go b/model/purchase/request/purchase.go
index 3315919..1612ce1 100644
--- a/model/purchase/request/purchase.go
+++ b/model/purchase/request/purchase.go
@@ -51,3 +51,30 @@
 	Principal           string                       `json:"principal" form:"principal" gorm:"type:varchar(255);not null;default '';comment:浠撳簱璐熻矗浜�"`                      //浠撳簱璐熻矗浜�
 	SourceOrder         string                       `json:"sourceOrder" gorm:"type:varchar(255);comment:鏉ユ簮鍗曟嵁"`                                                          //鏉ユ簮鍗曟嵁
 }
+
+type PurchaseProductConfirmInfo struct {
+	PurchaseNumber       string          `json:"purchaseNumber" gorm:"type:varchar(255);comment:閲囪喘鍗曠紪鍙�"`
+	ProductId            string          `json:"productId"  gorm:"type:varchar(255);comment:浜у搧缂栫爜"`
+	ProductName          string          `json:"productName"  gorm:"type:varchar(255);comment:浜у搧鍚�"`
+	Principal            string          `json:"principal" gorm:"type:varchar(255);comment:鏀惰揣浜�"`
+	Unit                 string          `json:"unit" gorm:"type:varchar(255);comment:璁¢噺鍗曚綅"`
+	Specs                string          `json:"specs" gorm:"type:varchar(255);comment:瑙勬牸"`
+	Type                 string          `json:"type" gorm:"type:varchar(255);comment:鍨嬪彿"`
+	Amount               decimal.Decimal `json:"amount" gorm:"type:decimal(12,4);not null;comment:閲囪喘鏁伴噺"`
+	OverReceiveAmount    decimal.Decimal `json:"overReceiveAmount" gorm:"type:decimal(12,4);comment:宸叉敹璐ф暟閲�"`
+	NotReceiveAmount     decimal.Decimal `json:"notReceiveAmount" gorm:"type:decimal(12,4);comment:鏈敹璐ф暟閲�"`
+	NowReceiveAmount     decimal.Decimal `json:"nowReceiveAmount" gorm:"type:decimal(12,4);comment:鏈鏀惰揣鏁伴噺"`
+	SurplusReceiveAmount decimal.Decimal `json:"surplusReceiveAmount" gorm:"type:decimal(12,4);comment:鍓╀綑鏀惰揣鏁伴噺"`
+}
+
+type GetQualityInspectionInfo struct {
+	PurchaseNumber string   `json:"purchaseNumber"`
+	Status         []int    `json:"status"`
+	Times          []string `json:"times"`
+}
+
+type SaveQualityInspectionInfo struct {
+	PurchaseId uint  `json:"purchaseId"`
+	Ids        []int `json:"ids"`
+	Status     int   `json:"status"`
+}

--
Gitblit v1.8.0