diff --git a/erp/accounting/product.go b/erp/accounting/product.go index 544b2ac..9490759 100644 --- a/erp/accounting/product.go +++ b/erp/accounting/product.go @@ -2,6 +2,7 @@ package accounting import ( "context" + "git.kumo.work/shama/service/client" "github.com/shopspring/decimal" ) @@ -40,6 +41,8 @@ type ProductItem struct { FactoryName string `json:"factoryName"` SaleProductAccountingCount int64 `json:"saleProductAccountingCount"` SaleProductPurchasedCount int64 `json:"saleProductPurchasedCount"` + ContainerNumber string `json:"containerNumber"` + ContainerNumberBoxCount int64 `json:"containerNumberBoxCount"` } // All @TITLE 获取产品 @@ -80,15 +83,17 @@ type ArgsProductEdit struct { } type ProductEdit struct { - AccountingProductId int64 // 做账产品id - Sort int64 // 排序 - AccountingCount int64 // 做账数量 - CustomsSerial string // hs编码 - CustomsName string // 报关名称 - CustomsInvoiceUnit string // 开票单位 - MeasureUnit string // 报关单位 - InvoiceType int64 // 开票方式 1=按净重 2=按数量 - InvoiceCount decimal.Decimal // 开票数量 + AccountingProductId int64 // 做账产品id + Sort int64 // 排序 + AccountingCount int64 // 做账数量 + CustomsSerial string // hs编码 + CustomsName string // 报关名称 + CustomsInvoiceUnit string // 开票单位 + MeasureUnit string // 报关单位 + InvoiceType int64 // 开票方式 1=按净重 2=按数量 + InvoiceCount decimal.Decimal // 开票数量 + ContainerNumber string // 箱号 + ContainerNumberBoxCount int64 // 装箱数 } // Edit @TITLE 编辑费用