feat(erp): 采购单新增批次号字段

- 在 Purchase 和 PurchaseDetail 结构体中添加 BatchNo 字段
- 用于记录采购单的批次号,提高数据管理的精确度
This commit is contained in:
守护自己的云 2025-07-09 17:32:39 +08:00
parent f762c25b7b
commit 121dafa2f9

View File

@ -39,6 +39,7 @@ type PurchaseItem struct {
SaleId int64 `json:"saleId"`
PiSerial string `json:"piSerial"`
PoSerial string `json:"poSerial"`
BatchNo int64 `json:"batchNo"`
Remark string `json:"remark"`
CustomName string `json:"customName"`
CustomShortName string `json:"customShortName"`
@ -111,6 +112,7 @@ type ReplyPurchaseInfo struct {
AdvancePayment *decimal.Decimal `json:"advancePayment"`
PoSerial string `json:"poSerial"`
PiSerial string `json:"piSerial"`
BatchNo int64 `json:"batchNo"`
Remark string `json:"remark"`
WorkflowId int64 `json:"workflowId"`
WorkflowStatus int64 `json:"workflowStatus"`