From 120a60eac0e1250d8564522f1499cfafa59bf521 Mon Sep 17 00:00:00 2001 From: kanade Date: Thu, 28 May 2026 15:05:07 +0800 Subject: [PATCH] =?UTF-8?q?feat(erp):=20=E6=B7=BB=E5=8A=A0=E5=A2=83?= =?UTF-8?q?=E5=86=85=E8=B4=A7=E6=BA=90=E5=9C=B0=E5=AD=97=E6=AE=B5=E5=88=B0?= =?UTF-8?q?=E9=87=87=E8=B4=AD=E6=A8=A1=E5=9D=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 在采购结构体中添加 DomesticSupply 字段 - 为采购实体增加境内货源地支持 - 更新相关数据模型以包含境内货源信息 --- erp/purchase.go | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/erp/purchase.go b/erp/purchase.go index 54f5df6..83d3956 100644 --- a/erp/purchase.go +++ b/erp/purchase.go @@ -2,11 +2,12 @@ package erp import ( "context" + "time" + "git.kumo.work/shama/service/client" purchase2 "git.kumo.work/shama/service/erp/purchase" "git.kumo.work/shama/service/lib/bean" "github.com/shopspring/decimal" - "time" ) type purchase struct { @@ -106,6 +107,7 @@ type ReplyPurchaseInfo struct { FactoryContact string `json:"factoryContact"` FactoryPhone string `json:"factoryPhone"` FactoryFax string `json:"factoryFax"` + DomesticSupply string `json:"domesticSupply"` DeliveryDate *time.Time `json:"deliveryDate"` DeliveryDateEnd *time.Time `json:"deliveryDateEnd"` DeliveryPlace string `json:"deliveryPlace"` @@ -165,6 +167,7 @@ type ArgsPurchaseEdit struct { CurrencyName string // 币种名称 CurrencySymbol string // 币种符号 CurrencyRate decimal.Decimal // 币种汇率 + DomesticSupply string // 境内货源地 } // Edit @TITLE 编辑采购合同