From 121dafa2f9de86b8c6a920e434bf8bf1209aa43f Mon Sep 17 00:00:00 2001 From: kanade Date: Wed, 9 Jul 2025 17:32:39 +0800 Subject: [PATCH] =?UTF-8?q?feat(erp):=20=E9=87=87=E8=B4=AD=E5=8D=95?= =?UTF-8?q?=E6=96=B0=E5=A2=9E=E6=89=B9=E6=AC=A1=E5=8F=B7=E5=AD=97=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 在 Purchase 和 PurchaseDetail 结构体中添加 BatchNo 字段 - 用于记录采购单的批次号,提高数据管理的精确度 --- erp/purchase.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/erp/purchase.go b/erp/purchase.go index 60a8286..b59bd07 100644 --- a/erp/purchase.go +++ b/erp/purchase.go @@ -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"`