From f2058e9d66b00861cca39191f77a8624ee4b7f16 Mon Sep 17 00:00:00 2001 From: kanade Date: Tue, 14 Jul 2026 15:33:00 +0800 Subject: [PATCH] =?UTF-8?q?feat(shipment):=20=E6=B7=BB=E5=8A=A0=E9=94=80?= =?UTF-8?q?=E5=94=AE=E4=BA=A7=E5=93=81=E4=BB=B7=E6=A0=BC=E7=9B=B8=E5=85=B3?= =?UTF-8?q?=E5=AD=97=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 在saleProduct结构体中添加SalePrice销售单价字段 - 在saleProduct结构体中添加CustomsPrice报关价格字段 - 在saleProduct结构体中添加CustomsAmount报关总价字段 - 同步更新modify包中的saleProduct结构体定义 --- erp/shipment/modify/saleProduct.go | 3 +++ erp/shipment/saleProduct.go | 3 +++ 2 files changed, 6 insertions(+) diff --git a/erp/shipment/modify/saleProduct.go b/erp/shipment/modify/saleProduct.go index dbebfb5..27c5346 100644 --- a/erp/shipment/modify/saleProduct.go +++ b/erp/shipment/modify/saleProduct.go @@ -150,6 +150,9 @@ type SaleProductAdd struct { TotalCustomsNetWeight decimal.Decimal // 报关总净重 CustomsGrossWeight decimal.Decimal // 报关毛重 TotalCustomsGrossWeight decimal.Decimal // 报关总毛重 + SalePrice decimal.Decimal // 销售单价 + CustomsPrice decimal.Decimal // 报关价格 + CustomsAmount decimal.Decimal // 报关总价 CustomsBrand string // 品牌 DomesticSupply string // 货源地 FactoryName string // 工厂名称 diff --git a/erp/shipment/saleProduct.go b/erp/shipment/saleProduct.go index 8984166..3dc532c 100644 --- a/erp/shipment/saleProduct.go +++ b/erp/shipment/saleProduct.go @@ -152,6 +152,9 @@ type SaleProductAdd struct { TotalCustomsNetWeight decimal.Decimal // 报关总净重 CustomsGrossWeight decimal.Decimal // 报关毛重 TotalCustomsGrossWeight decimal.Decimal // 报关总毛重 + SalePrice decimal.Decimal // 销售单价 + CustomsPrice decimal.Decimal // 报关价格 + CustomsAmount decimal.Decimal // 报关总价 CustomsBrand string // 品牌 DomesticSupply string // 货源地 FactoryName string // 工厂名称