From 69a06df79860e2b72bad0a62a54f6bc9760171db Mon Sep 17 00:00:00 2001 From: ddlucky Date: Thu, 5 Jan 2023 13:38:16 +0800 Subject: [PATCH] 20230105-1 --- .../Viewsjs/Chfee_Audit/Chfee_AuditLR.js | 21 +++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/DSWeb/Areas/Account/Viewsjs/Chfee_Audit/Chfee_AuditLR.js b/DSWeb/Areas/Account/Viewsjs/Chfee_Audit/Chfee_AuditLR.js index db37fe35..8cd2d9a1 100644 --- a/DSWeb/Areas/Account/Viewsjs/Chfee_Audit/Chfee_AuditLR.js +++ b/DSWeb/Areas/Account/Viewsjs/Chfee_Audit/Chfee_AuditLR.js @@ -2612,6 +2612,7 @@ Ext.extend(Shipping.MsChfeeAudit, Ext.Panel, { scope: this }, '-', { text: Zi.LAN.Costlock, //费用锁定 + id: Zi.LAN.Costlock, tooltip: '费用锁定', menu: [ @@ -3984,7 +3985,27 @@ Ext.extend(Shipping.MsChfeeAudit, Ext.Panel, { scope: this }); + Ext.Ajax.request({ + waitMsg: '', + url: '/MvcShipping/MsBaseInfo/GetUserModuleEnable', + params: { + modulename: "modFeeAuditNoFEEClock" + }, + callback: function (options, success, response) { + if (success) { + var result = Ext.JSON.decode(response.responseText); + if (result.Success != true) { + } else { + var btnFeeLock = Ext.getCmp(Zi.LAN.Costlock); + btnFeeLock.setVisible(false); + } + } else { + + } + }, + scope: this + }); }, //end initUIComponents