diff --git a/erp/accounting/accounting.go b/erp/accounting/accounting.go index 127212e..c32a805 100644 --- a/erp/accounting/accounting.go +++ b/erp/accounting/accounting.go @@ -5,4 +5,5 @@ type Accounting struct { Cost cost Product product Remark remark + Old old } diff --git a/erp/constant.go b/erp/constant.go index d4ce85d..36c1204 100644 --- a/erp/constant.go +++ b/erp/constant.go @@ -11,6 +11,7 @@ const ( BusinessTypeShipmentAudit BusinessType = "shipmentAudit" // 订舱单审核 BusinessTypeShipmentModifyAudit BusinessType = "shipmentModifyAudit" // 订舱单修改单审核 BusinessTypeAccountingAudit BusinessType = "accountingAudit" // 做账合同审核 + BusinessTypeAccountingAuditV2 BusinessType = "accountingAuditV2" // 做账合同审核 ) var BusinessTypeName = map[BusinessType]string{ @@ -22,6 +23,7 @@ var BusinessTypeName = map[BusinessType]string{ BusinessTypeShipmentAudit: "订舱单审核", BusinessTypeShipmentModifyAudit: "订舱修改单审核", BusinessTypeAccountingAudit: "做账合同审核", + BusinessTypeAccountingAuditV2: "做账合同审核", } type AuditStatus = int64 // 审核状态 @@ -48,16 +50,18 @@ const ( type ExportType = string // 导出类型 const ( - ExportTypeSalePi = "salePi" // 销售pi导出 - ExportTypeSaleBenefit = "saleBenefit" // 效益测算导出 - ExportTypePurchase = "purchase" // 采购导出 - ExportTypeShipment = "shipment" // 订舱导出 - ExportTypeShipmentInfo = "shipmentInfo" // 出运明细导出 - ExportTypeSerial = "serial" // 商检导出 - ExportTypeCustoms = "customs" // 报关导出 - ExportTypeExchangeSettlement = "exchangeSettlement" // 结汇导出 - ExportTypeAccounting = "accounting" // 做账导出 - ExportTypeAccountingFactory = "accountingFactory" // 做账工厂导出 + ExportTypeSalePi = "salePi" // 销售pi导出 + ExportTypeSaleBenefit = "saleBenefit" // 效益测算导出 + ExportTypePurchase = "purchase" // 采购导出 + ExportTypeShipment = "shipment" // 订舱导出 + ExportTypeShipmentInfo = "shipmentInfo" // 出运明细导出 + ExportTypeSerial = "serial" // 商检导出 + ExportTypeCustoms = "customs" // 报关导出 + ExportTypeExchangeSettlement = "exchangeSettlement" // 结汇导出 + ExportTypeAccounting = "accounting" // 做账导出 + ExportTypeAccountingFactory = "accountingFactory" // 做账工厂导出 + ExportTypeAccountingV2 = "accountingV2" // 做账导出 + ExportTypeAccountingFactoryV2 = "accountingFactoryV2" // 做账工厂导出 ) type BanFlag = int64 // 出舱状态