feat(accounting): 增加产品箱号和装箱数字段
- 在 ProductInfo 结构中添加 ContainerNumber 和 ContainerNumberBoxCount 字段 - 在 ProductEdit 结构中添加 ContainerNumber 和 ContainerNumberBoxCount 字段 - 这些新增字段用于记录产品的箱号和装箱数信息
This commit is contained in:
parent
d17d438407
commit
2d57b61a14
@ -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 编辑费用
|
||||
|
Loading…
x
Reference in New Issue
Block a user