From 2809a780b52c788576cfed69206848a25542804a Mon Sep 17 00:00:00 2001 From: kanade Date: Tue, 25 Feb 2025 09:57:43 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=AD=97=E6=AE=B5=E7=B1=BB?= =?UTF-8?q?=E5=9E=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- erp/shipment.go | 2 +- erp/shipment/bean.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/erp/shipment.go b/erp/shipment.go index 4f14d5e..921ad1e 100644 --- a/erp/shipment.go +++ b/erp/shipment.go @@ -72,7 +72,7 @@ type ShipmentAdd struct { VouchingClerkId int64 // 单证id EstSailingDate *time.Time // 预计船期 InvoiceSerial string // 发票号 - InvoiceDate time.Time // 发票日期 + InvoiceDate *time.Time // 发票日期 ContractDate *time.Time // 合同日期 TradeType string // 贸易类型 OurCompany string // 我方公司 diff --git a/erp/shipment/bean.go b/erp/shipment/bean.go index ab64c6f..dce3f2e 100644 --- a/erp/shipment/bean.go +++ b/erp/shipment/bean.go @@ -13,7 +13,7 @@ type ReplyShipmentInfo struct { CustomShortName string `json:"customShortName"` EstSailingDate *time.Time `json:"estSailingDate"` InvoiceSerial string `json:"invoiceSerial"` - InvoiceDate time.Time `json:"invoiceDate"` + InvoiceDate *time.Time `json:"invoiceDate"` ContractDate *time.Time `json:"contractDate"` TradeType string `json:"tradeType"` OurCompany string `json:"ourCompany"`