From 5c9472ba8de74b8d12834a4646cc0ed2efdd4654 Mon Sep 17 00:00:00 2001 From: lishihai <dslsh@dscom> Date: 星期三, 19 六月 2024 15:38:01 +0800 Subject: [PATCH] /api-wms/v1/operation/operation =>取消请填入源单号验证 --- models/material.go | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/models/material.go b/models/material.go index fe9e42a..5350fc2 100644 --- a/models/material.go +++ b/models/material.go @@ -86,6 +86,7 @@ NetWeight decimal.Decimal `json:"netWeight" gorm:"type:decimal(20,3);comment:鍑�閲�"` GrossUnit string `json:"grossUnit" gorm:"type:varchar(255);comment:姣涢噸鍗曚綅"` NetUnit string `json:"netUnit" gorm:"type:varchar(255);comment:鍑�閲嶅崟浣�"` + Attributes []Attribute `json:"attributes" gorm:"-"` //鍔ㄦ�佸睘鎬� //浠ヤ笅涓轰笉瀛樺簱鐨勫瓧娈� AttachmentIDs []uint `json:"attachmentIDs" gorm:"-"` @@ -95,6 +96,7 @@ MinInventoryRule decimal.Decimal `json:"minInventoryRule" gorm:"-"` //鏈�灏忓簱瀛� MaxInventoryRule decimal.Decimal `json:"maxInventoryRule" gorm:"-"` //鏈�澶у簱瀛� + CreateBy string `gorm:"type:varchar(255);comment:瀵煎叆浜恒�佸垱寤轰汉" json:"createBy"` //鍒涘缓浜� } MaterialSearch struct { @@ -120,7 +122,7 @@ UnitItems struct { Amount decimal.Decimal `json:"amount"` Unit string `json:"unit"` - Floating bool `json:"floating"` + Floating bool `json:"floating"` //鏄惁娴姩鍒╃巼 } ) -- Gitblit v1.8.0