feat(erp): 添加新的做账合同审核类型和导出选项
- 在 accounting 结构体中新增 Old 字段- 添加 BusinessTypeAccountingAuditV2 做账合同审核类型- 新增 ExportTypeAccountingV2 和 ExportTypeAccountingFactoryV2 导出类型- 更新常量映射以支持新的业务类型和导出选项
This commit is contained in:
@@ -5,4 +5,5 @@ type Accounting struct {
|
|||||||
Cost cost
|
Cost cost
|
||||||
Product product
|
Product product
|
||||||
Remark remark
|
Remark remark
|
||||||
|
Old old
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -11,6 +11,7 @@ const (
|
|||||||
BusinessTypeShipmentAudit BusinessType = "shipmentAudit" // 订舱单审核
|
BusinessTypeShipmentAudit BusinessType = "shipmentAudit" // 订舱单审核
|
||||||
BusinessTypeShipmentModifyAudit BusinessType = "shipmentModifyAudit" // 订舱单修改单审核
|
BusinessTypeShipmentModifyAudit BusinessType = "shipmentModifyAudit" // 订舱单修改单审核
|
||||||
BusinessTypeAccountingAudit BusinessType = "accountingAudit" // 做账合同审核
|
BusinessTypeAccountingAudit BusinessType = "accountingAudit" // 做账合同审核
|
||||||
|
BusinessTypeAccountingAuditV2 BusinessType = "accountingAuditV2" // 做账合同审核
|
||||||
)
|
)
|
||||||
|
|
||||||
var BusinessTypeName = map[BusinessType]string{
|
var BusinessTypeName = map[BusinessType]string{
|
||||||
@@ -22,6 +23,7 @@ var BusinessTypeName = map[BusinessType]string{
|
|||||||
BusinessTypeShipmentAudit: "订舱单审核",
|
BusinessTypeShipmentAudit: "订舱单审核",
|
||||||
BusinessTypeShipmentModifyAudit: "订舱修改单审核",
|
BusinessTypeShipmentModifyAudit: "订舱修改单审核",
|
||||||
BusinessTypeAccountingAudit: "做账合同审核",
|
BusinessTypeAccountingAudit: "做账合同审核",
|
||||||
|
BusinessTypeAccountingAuditV2: "做账合同审核",
|
||||||
}
|
}
|
||||||
|
|
||||||
type AuditStatus = int64 // 审核状态
|
type AuditStatus = int64 // 审核状态
|
||||||
@@ -58,6 +60,8 @@ const (
|
|||||||
ExportTypeExchangeSettlement = "exchangeSettlement" // 结汇导出
|
ExportTypeExchangeSettlement = "exchangeSettlement" // 结汇导出
|
||||||
ExportTypeAccounting = "accounting" // 做账导出
|
ExportTypeAccounting = "accounting" // 做账导出
|
||||||
ExportTypeAccountingFactory = "accountingFactory" // 做账工厂导出
|
ExportTypeAccountingFactory = "accountingFactory" // 做账工厂导出
|
||||||
|
ExportTypeAccountingV2 = "accountingV2" // 做账导出
|
||||||
|
ExportTypeAccountingFactoryV2 = "accountingFactoryV2" // 做账工厂导出
|
||||||
)
|
)
|
||||||
|
|
||||||
type BanFlag = int64 // 出舱状态
|
type BanFlag = int64 // 出舱状态
|
||||||
|
|||||||
Reference in New Issue
Block a user