From 5c61bdb147458adbb0a87b27c2299f86f739da0a Mon Sep 17 00:00:00 2001 From: zhangqian <zhangqian@123.com> Date: 星期一, 29 七月 2024 20:33:53 +0800 Subject: [PATCH] 新增出入库调拨操作时明细支持多单位传参 --- request/operation.go | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/request/operation.go b/request/operation.go index f01efd0..a88d06b 100644 --- a/request/operation.go +++ b/request/operation.go @@ -3,6 +3,7 @@ import ( "github.com/shopspring/decimal" "wms/constvar" + "wms/models" ) type AddOperation struct { @@ -62,6 +63,9 @@ SalePrice decimal.Decimal `json:"salePrice"` //閿�鍞崟浠� SilkMarket string `json:"silkMarket"` // 搴勫彛 SilkMarketClose string `json:"silkMarketClose"` // 搴勫彛鍏抽棴 + + MoreUnitList []models.UnitItems `json:"moreUnitList" gorm:"-"` + MoreUnitValue string `json:"-" gorm:"type:varchar(255);comment:澶氬崟浣嶅��"` } type OperationList struct { -- Gitblit v1.8.0