From c4e6bf4b1fdb872ba514ab03efa3c53333d1a120 Mon Sep 17 00:00:00 2001 From: zhangqian <zhangqian@123.com> Date: 星期一, 18 三月 2024 10:11:03 +0800 Subject: [PATCH] 确认发货 --- model/request/salesDetails.go | 12 ++++++++++++ 1 files changed, 12 insertions(+), 0 deletions(-) diff --git a/model/request/salesDetails.go b/model/request/salesDetails.go index ed2b4b6..29f6fb2 100644 --- a/model/request/salesDetails.go +++ b/model/request/salesDetails.go @@ -3,6 +3,7 @@ import ( "aps_crm/constvar" "aps_crm/model" + "github.com/shopspring/decimal" ) type AddSalesDetails struct { @@ -55,3 +56,14 @@ ClientId int `json:"clientId"` //瀹㈡埛id Number string `json:"number"` //閿�鍞槑缁嗗崟鍙� } + +// ConfirmOutput 鍙戣揣 +type ConfirmOutput struct { + SaleDetailNumber string `json:"saleDetailNumber"` + Products []ConfirmOutputProducts `json:"products"` +} + +type ConfirmOutputProducts struct { + Number string `json:"number"` //浜у搧缂栧彿 + OutputAmount decimal.Decimal `json:"outputAmount"` //鏈鍙戣揣鏁伴噺 +} -- Gitblit v1.8.0