From 4af540bc284454a6889ded0e8c99c40ae9516e0a Mon Sep 17 00:00:00 2001
From: zhangqian <zhangqian@123.com>
Date: 星期二, 30 七月 2024 14:45: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