From 370bdb26ddaa827f89de5125dbe0d6d54bf19fa3 Mon Sep 17 00:00:00 2001 From: yinbentan <yinbentan@live.com> Date: 星期五, 28 六月 2024 16:05:35 +0800 Subject: [PATCH] 调拨、入库、出库按类型配置字典类(1 调拨 2 入库 3 出库) --- models/operation_details.go | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/models/operation_details.go b/models/operation_details.go index eff3996..16f65f4 100644 --- a/models/operation_details.go +++ b/models/operation_details.go @@ -30,8 +30,8 @@ Remark string `gorm:"type:varchar(1024);comment:澶囨敞" json:"remark"` IsInternalOutput bool `json:"isInternalOutput"` //鏄惁璋冩嫧浜х敓鐨勫嚭搴� - Cost decimal.Decimal `json:"cost" gorm:"-"` //鎴愭湰鍗曚环 - SalePrice decimal.Decimal `json:"salePrice" gorm:"-"` //閿�鍞崟浠� + Cost decimal.Decimal `json:"cost" ` //鎴愭湰鍗曚环 + SalePrice decimal.Decimal `json:"salePrice" ` //閿�鍞崟浠� } OperationDetailsSearch struct { -- Gitblit v1.8.0