From d78af4ff717ddde07fe3f95eb8c1f87b1b18245d Mon Sep 17 00:00:00 2001
From: wanghaomei <86whm@163.com>
Date: Wed, 31 Jul 2024 17:56:32 +0800
Subject: [PATCH] =?UTF-8?q?ERP=E4=BB=A3=E7=A0=81=E5=85=81=E8=AE=B8?=
=?UTF-8?q?=E7=BC=96=E8=BE=91=E5=8F=82=E6=95=B0?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
Myshipping.Core/Const/TenantParamCode.cs | 5 +++++
Myshipping.Core/Myshipping.Core.xml | 5 +++++
Myshipping.Core/Service/Auth/AuthService.cs | 2 +-
3 files changed, 11 insertions(+), 1 deletion(-)
diff --git a/Myshipping.Core/Const/TenantParamCode.cs b/Myshipping.Core/Const/TenantParamCode.cs
index a078f2aa..87c52d2b 100644
--- a/Myshipping.Core/Const/TenantParamCode.cs
+++ b/Myshipping.Core/Const/TenantParamCode.cs
@@ -60,5 +60,10 @@
/// 订舱台账显示退舱
///
public const string BOOKING_LIST_SHOW_CANCEL = "BOOKING_LIST_SHOW_CANCEL";
+
+ ///
+ /// ERP代码字段是否可编辑
+ ///
+ public const string ERP_CODE_CAN_EDIT = "ERP_CODE_CAN_EDIT";
}
}
diff --git a/Myshipping.Core/Myshipping.Core.xml b/Myshipping.Core/Myshipping.Core.xml
index e81aeb31..e611ecb6 100644
--- a/Myshipping.Core/Myshipping.Core.xml
+++ b/Myshipping.Core/Myshipping.Core.xml
@@ -933,6 +933,11 @@
订舱台账显示退舱
+
+
+ ERP代码字段是否可编辑
+
+
代码
diff --git a/Myshipping.Core/Service/Auth/AuthService.cs b/Myshipping.Core/Service/Auth/AuthService.cs
index 0a531368..1186da2b 100644
--- a/Myshipping.Core/Service/Auth/AuthService.cs
+++ b/Myshipping.Core/Service/Auth/AuthService.cs
@@ -263,7 +263,7 @@ public class AuthService : IAuthService, IDynamicApiController, ITransient
// 返回前端需要使用的租户参数
var paraCodeArr = new string[] { TenantParamCode.ENABLE_SLOT_ABILITY, TenantParamCode.ENABLE_FEE_ABILITY, TenantParamCode.VESSEL_FROM_CONFIG_ONLY,
TenantParamCode.BOOKING_CHANNEL_SELECT_SHOW, TenantParamCode.BC_TASK_CREATE_ORDER,TenantParamCode.BOOKING_SUB_TENANT,TenantParamCode.DESCRIP_CAN_CHINESE,
- TenantParamCode.BOOKING_LIST_SHOW_CANCEL};
+ TenantParamCode.BOOKING_LIST_SHOW_CANCEL,TenantParamCode.ERP_CODE_CAN_EDIT};
loginOutput.TenantParams = await _djyTenantParamService.GetParaCodeWithValue(paraCodeArr);
//多账号关联