This commit is contained in:
守护自己的云 2024-09-23 17:23:47 +08:00
parent 6210802493
commit afabe1816b
2 changed files with 12 additions and 5 deletions

View File

@ -3,8 +3,8 @@ package erp
type BusinessType = string // 业务类型 type BusinessType = string // 业务类型
const ( const (
BusinessTypeSaleAudit BusinessType = "saleAudit" // 销售合同审核 BusinessTypeSaleAudit BusinessType = "saleAudit" // 销售合同审核
BusinessTypePurchaseAudit BusinessType = "purchaseAudit" // 销售合同审核 BusinessTypePurchaseAudit BusinessType = "purchaseAudit" // 采购合同审核
BusinessTypeShipmentAudit BusinessType = "shipmentAudit" // 销售合同审核 BusinessTypeShipmentAudit BusinessType = "shipmentAudit" // 订舱单审核
) )
var BusinessTypeName = map[BusinessType]string{ var BusinessTypeName = map[BusinessType]string{
@ -31,7 +31,12 @@ const (
type ExportType = string // 导出类型 type ExportType = string // 导出类型
const ( const (
ExportTypeSalePi = "salePi" // 销售pi导出 ExportTypeSalePi = "salePi" // 销售pi导出
ExportTypeSaleBenefit = "saleBenefit" // 效益测算导出 ExportTypeSaleBenefit = "saleBenefit" // 效益测算导出
ExportTypePurchase = "purchase" // 采购导出 ExportTypePurchase = "purchase" // 采购导出
ExportTypeShipment = "shipment" // 订舱导出
ExportTypeShipmentInfo = "shipmentInfo" // 出运明细导出
ExportTypeSerial = "serial" // 商检导出
ExportTypeCustoms = "customs" // 报关导出
ExportTypeExchangeSettlement = "exchangeSettlement" // 结汇导出
) )

View File

@ -62,6 +62,8 @@ type SaleProductItem struct {
Remark6 string `json:"remark6"` Remark6 string `json:"remark6"`
ContainerNumber string `json:"containerNumber"` ContainerNumber string `json:"containerNumber"`
SealNumber string `json:"sealNumber"` SealNumber string `json:"sealNumber"`
PurchasePrice decimal.Decimal `json:"purchasePrice"`
PurchaseAmount decimal.Decimal `json:"purchaseAmount"`
CreatedAt *time.Time `json:"createdAt"` CreatedAt *time.Time `json:"createdAt"`
UpdatedAt *time.Time `json:"updatedAt"` UpdatedAt *time.Time `json:"updatedAt"`
} }