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 获取产品
|
||||
@ -89,6 +92,8 @@ type ProductEdit struct {
|
||||
MeasureUnit string // 报关单位
|
||||
InvoiceType int64 // 开票方式 1=按净重 2=按数量
|
||||
InvoiceCount decimal.Decimal // 开票数量
|
||||
ContainerNumber string // 箱号
|
||||
ContainerNumberBoxCount int64 // 装箱数
|
||||
}
|
||||
|
||||
// Edit @TITLE 编辑费用
|
||||
|
Loading…
x
Reference in New Issue
Block a user