diff --git a/erp/accounting.go b/erp/accounting.go index 0985dd9..58bbb3f 100644 --- a/erp/accounting.go +++ b/erp/accounting.go @@ -118,31 +118,34 @@ func (a *accounting) Gen(ctx context.Context, args ArgsAccountingGen) (err error } type ReplyAccountingInfo struct { - Id int64 `json:"id"` - CustomId int64 `json:"customId"` - CustomShortName string `json:"customShortName"` - CustomName string `json:"customName"` - ShipmentId int64 `json:"shipmentId"` - InvoiceDate *time.Time `json:"invoiceDate"` - InvoiceDateEnd *time.Time `json:"invoiceDateEnd"` - InvoiceSerial string `json:"invoiceSerial"` - AccountingSerial string `json:"accountingSerial"` - Currency string `json:"currency"` - CurrencyName string `json:"currencyName"` - CurrencySymbol string `json:"currencySymbol"` - CurrencyRate decimal.Decimal `json:"currencyRate"` - Remark string `json:"remark"` - WorkflowId int64 `json:"workflowId"` - WorkflowStatus int64 `json:"workflowStatus"` - WorkflowReason string `json:"workflowReason"` - BanFlag int64 `json:"banFlag"` - CreatedStaffId int64 `json:"createdStaffId"` - CreatedAt *time.Time `json:"createdAt"` - TotalBoxCount int64 `json:"totalBoxCount"` - TotalAmount decimal.Decimal `json:"totalAmount"` - TotalVolume decimal.Decimal `json:"totalVolume"` - TotalGrossWeight decimal.Decimal `json:"totalGrossWeight"` - TotalNetWeight decimal.Decimal `json:"totalNetWeight"` + Id int64 `json:"id"` + CustomId int64 `json:"customId"` + CustomShortName string `json:"customShortName"` + CustomName string `json:"customName"` + ShipmentId int64 `json:"shipmentId"` + InvoiceDate *time.Time `json:"invoiceDate"` + InvoiceDateEnd *time.Time `json:"invoiceDateEnd"` + InvoiceSerial string `json:"invoiceSerial"` + AccountingSerial string `json:"accountingSerial"` + Currency string `json:"currency"` + CurrencyName string `json:"currencyName"` + CurrencySymbol string `json:"currencySymbol"` + CurrencyRate decimal.Decimal `json:"currencyRate"` + Remark string `json:"remark"` + DomesticShippingCost decimal.Decimal `json:"domesticShippingCost"` + ForeignShippingCost decimal.Decimal `json:"foreignShippingCost"` + ForeignCommission decimal.Decimal `json:"foreignCommission"` + WorkflowId int64 `json:"workflowId"` + WorkflowStatus int64 `json:"workflowStatus"` + WorkflowReason string `json:"workflowReason"` + BanFlag int64 `json:"banFlag"` + CreatedStaffId int64 `json:"createdStaffId"` + CreatedAt *time.Time `json:"createdAt"` + TotalBoxCount int64 `json:"totalBoxCount"` + TotalAmount decimal.Decimal `json:"totalAmount"` + TotalVolume decimal.Decimal `json:"totalVolume"` + TotalGrossWeight decimal.Decimal `json:"totalGrossWeight"` + TotalNetWeight decimal.Decimal `json:"totalNetWeight"` } // Info @TITLE 详情 @@ -161,14 +164,17 @@ type ArgsAccountingEdit struct { } type AccountingEdit struct { - InvoiceDate *time.Time // 发票日期 - InvoiceDateEnd *time.Time // 开票期限 - AccountingSerial string // 做账合同号 - Remark string // 备注 - Currency string // 币种 - CurrencyName string // 币种名称 - CurrencySymbol string // 币种符号 - CurrencyRate decimal.Decimal // 币种汇率 + InvoiceDate *time.Time // 发票日期 + InvoiceDateEnd *time.Time // 开票期限 + AccountingSerial string // 做账合同号 + Remark string // 备注 + Currency string // 币种 + CurrencyName string // 币种名称 + CurrencySymbol string // 币种符号 + CurrencyRate decimal.Decimal // 币种汇率 + DomesticShippingCost decimal.Decimal // 国内运费 + ForeignShippingCost decimal.Decimal // 国外运费 + ForeignCommission decimal.Decimal // 国外佣金 } // Edit @TITLE 编辑