From 7d80867c1d2d8340da8e106b4af2ceaba3fc9fc1 Mon Sep 17 00:00:00 2001 From: zhangqian <zhangqian@123.com> Date: 星期二, 19 三月 2024 19:16:50 +0800 Subject: [PATCH] 增加发货完成按钮 --- model/request/salesDetails.go | 17 +++++++++++++++++ 1 files changed, 17 insertions(+), 0 deletions(-) diff --git a/model/request/salesDetails.go b/model/request/salesDetails.go index ed2b4b6..33ac99e 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,19 @@ ClientId int `json:"clientId"` //瀹㈡埛id Number string `json:"number"` //閿�鍞槑缁嗗崟鍙� } + +// ConfirmOutput 鍙戣揣 +type ConfirmOutput struct { + SaleDetailNumber string `json:"saleDetailNumber"` + Products []ConfirmOutputProducts `json:"products"` +} + +// ConfirmOutputOver 纭鍙戣揣瀹屾垚 +type ConfirmOutputOver struct { + SaleDetailNumber string `json:"saleDetailNumber"` +} + +type ConfirmOutputProducts struct { + Number string `json:"number"` //浜у搧缂栧彿 + OutputAmount decimal.Decimal `json:"outputAmount"` //鏈鍙戣揣鏁伴噺 +} -- Gitblit v1.8.0