From efea3aaac3a6358cbe74891d47221b835a38d297 Mon Sep 17 00:00:00 2001
From: zhangqian <zhangqian@123.com>
Date: 星期二, 29 八月 2023 19:16:57 +0800
Subject: [PATCH] 增加开票金额,已付金额

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

diff --git a/model/purchase/purchase.go b/model/purchase/purchase.go
index d9f7acd..3163546 100644
--- a/model/purchase/purchase.go
+++ b/model/purchase/purchase.go
@@ -32,6 +32,10 @@
 	PriceAdjustmentType PriceAdjustmentType `json:"priceAdjustmentType" form:"priceAdjustmentType" gorm:"type:decimal(12,2);not null;default '';comment:浠锋牸璋冩暣"` //浠锋牸璋冩暣绫诲瀷
 	PriceAdjustment     decimal.Decimal     `json:"priceAdjustment" form:"priceAdjustment" gorm:"type:decimal(12,2);not null;default '';comment:浠锋牸璋冩暣"`         //浠锋牸璋冩暣鍊�
 	RealTotalPrice      decimal.Decimal     `json:"realTotalPrice" form:"realTotalPrice" gorm:"type:decimal(12,2);not null;default '';comment:鏈�缁堜环鏍�"`           //鏈�缁堜环鏍�
+	InvoiceAmount       decimal.Decimal     `json:"invoiceAmount" form:"invoiceAmount" gorm:"type:decimal(12,2);not null;default '';comment:宸叉敹绁ㄩ噾棰�"`            //宸叉敹绁ㄩ噾棰�
+	UnInvoiceAmount     decimal.Decimal     `json:"unInvoiceAmount" form:"unInvoiceAmount" gorm:"type:decimal(12,2);not null;default '';comment:鏈敹绁ㄩ噾棰�"`        //鏈敹绁ㄩ噾棰�
+	ShouldPayAmount     decimal.Decimal     `json:"shouldPayAmount" form:"shouldPayAmount" gorm:"type:decimal(12,2);not null;default '';comment:搴斾粯閲戦"`         //搴斾粯閲戦
+	PaidAmount          decimal.Decimal     `json:"paidAmount" form:"paidAmount" gorm:"type:decimal(12,2);not null;default '';comment:宸蹭粯閲戦"`                   //宸蹭粯閲戦
 }
 
 type OrderStatus int

--
Gitblit v1.8.0