From 093c9ab35998d9f4163aa5fe6d3432d9e1a1a522 Mon Sep 17 00:00:00 2001 From: zhangqian <zhangqian@123.com> Date: 星期五, 11 八月 2023 14:20:58 +0800 Subject: [PATCH] 新增、修改服务合同时更改价税合计,应收金额,未开票金额 --- model/serviceContract.go | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/model/serviceContract.go b/model/serviceContract.go index 93ec9c8..05eed61 100644 --- a/model/serviceContract.go +++ b/model/serviceContract.go @@ -39,6 +39,7 @@ AmountReceived decimal.Decimal `gorm:"column:amount_received;type:decimal(12,2);comment:宸叉敹閲戦" json:"amountReceived"` // 宸叉敹閲戦 AmountInvoiced decimal.Decimal `gorm:"column:amount_invoiced;type:decimal(12,2);comment:宸插紑绁ㄩ噾棰�" json:"amountInvoiced"` // 宸插紑绁ㄩ噾棰� AmountUnInvoiced decimal.Decimal `gorm:"column:amount_not_invoiced;type:decimal(12,2);comment:鏈紑绁ㄩ噾棰�" json:"amountUnInvoiced"` // 鏈紑绁ㄩ噾棰� + AmountTotal decimal.Decimal `gorm:"column:amount_total;type:decimal(12,2);comment:浠风◣鍚堣" json:"amountTotal"` // 浠风◣鍚堣 Products []*Product `json:"products" gorm:"many2many:service_contract_product;"` gorm.Model `json:"-"` } -- Gitblit v1.8.0