Commit 69d9fb77 authored by stone's avatar stone

【fix】删除sbo信息展示

parent 8d3bd131
...@@ -13,6 +13,7 @@ ...@@ -13,6 +13,7 @@
<a:link id="con311_create_entrusts_link" model="cont.CON311.create_entrusts" modelaction="execute"/> <a:link id="con311_create_entrusts_link" model="cont.CON311.create_entrusts" modelaction="execute"/>
<a:link id="${/parameter/@layout_code}${/parameter/@pre_layout}zj_wfl_approve_history_check" url="${/request/@context_path}/modules/zjwfl/zj_wfl_approve_history_check.lview"/> <a:link id="${/parameter/@layout_code}${/parameter/@pre_layout}zj_wfl_approve_history_check" url="${/request/@context_path}/modules/zjwfl/zj_wfl_approve_history_check.lview"/>
<a:link id="con_contract_get_layout_code_link_id" model="cont.CON500.con_contract_get_layout_code" modelaction="update"/> <a:link id="con_contract_get_layout_code_link_id" model="cont.CON500.con_contract_get_layout_code" modelaction="update"/>
<a:link id="con_contract_get_identify_link" model="hls.HLS214N.hls_bp_master_modify_user" modelaction="query"/>
<a:link id="con_contract_modify_link" url="${/request/@context_path}/modules/cont/CON311/con_re_print_modify.lview"/> <a:link id="con_contract_modify_link" url="${/request/@context_path}/modules/cont/CON311/con_re_print_modify.lview"/>
<a:link id="${/parameter/@layout_code}con_contract_query_link" <a:link id="${/parameter/@layout_code}con_contract_query_link"
url="${/request/@context_path}/modules/cont/CON505/con_contract_modify.lview"/> url="${/request/@context_path}/modules/cont/CON505/con_contract_modify.lview"/>
...@@ -22,20 +23,28 @@ ...@@ -22,20 +23,28 @@
url="${/request/@context_path}/modules/cont/CON620/create_content_for_collection.lsc"/> url="${/request/@context_path}/modules/cont/CON620/create_content_for_collection.lsc"/>
<script type="text/javascript"><![CDATA[ <script type="text/javascript"><![CDATA[
Leaf.onReady(function() { Leaf.onReady(function() {
if("${/model/role_info/record/@role_code}"!="0018"&&"${/model/role_info/record/@role_code}"!="0019") { if("${/model/role_info/record/@role_code}"!="0018"&&"${/model/role_info/record/@role_code}"!="0019") {
// document.getElementById("CONTRACT_QUERY_ENTRANCE_F_QUERY_NULL_AGENT_EXTRA_NAM_prompt").style.display = ""; // document.getElementById("CONTRACT_QUERY_ENTRANCE_F_QUERY_NULL_AGENT_EXTRA_NAM_prompt").style.display = "";
// document.getElementById("CONTRACT_QUERY_ENTRANCE_F_QUERY_NULL_AGENT_EXTRA_NAM").style.display = ""; // document.getElementById("CONTRACT_QUERY_ENTRANCE_F_QUERY_NULL_AGENT_EXTRA_NAM").style.display = "";
document.getElementById("CONTRACT_PRINT_ENTRANCE_F_QUERY_NULL_BP_ID_AGENT_LEVEL1_prompt").style.display = ""; document.getElementById("CONTRACT_PRINT_ENTRANCE_F_QUERY_NULL_BP_ID_AGENT_LEVEL1_prompt").style.display = "";
document.getElementById("CONTRACT_PRINT_ENTRANCE_F_QUERY_NULL_BP_ID_AGENT_LEVEL1").style.display = ""; document.getElementById("CONTRACT_PRINT_ENTRANCE_F_QUERY_NULL_BP_ID_AGENT_LEVEL1").style.display = "";
} else { } else {
// document.getElementById("CONTRACT_QUERY_ENTRANCE_F_QUERY_NULL_AGENT_EXTRA_NAM_prompt").style.display = "none"; // document.getElementById("CONTRACT_QUERY_ENTRANCE_F_QUERY_NULL_AGENT_EXTRA_NAM_prompt").style.display = "none";
// document.getElementById("CONTRACT_QUERY_ENTRANCE_F_QUERY_NULL_AGENT_EXTRA_NAM").style.display = "none"; // document.getElementById("CONTRACT_QUERY_ENTRANCE_F_QUERY_NULL_AGENT_EXTRA_NAM").style.display = "none";
document.getElementById("CONTRACT_PRINT_ENTRANCE_F_QUERY_NULL_BP_ID_AGENT_LEVEL1_prompt").style.display = "none"; document.getElementById("CONTRACT_PRINT_ENTRANCE_F_QUERY_NULL_BP_ID_AGENT_LEVEL1_prompt").style.display = "none";
document.getElementById("CONTRACT_PRINT_ENTRANCE_F_QUERY_NULL_BP_ID_AGENT_LEVEL1").style.display = "none"; document.getElementById("CONTRACT_PRINT_ENTRANCE_F_QUERY_NULL_BP_ID_AGENT_LEVEL1").style.display = "none";
$('CONTRACT_PRINT_ENTRANCE_user_button2').hide();
} }
}); });
function open_contract_win(ds_id, record_id) { function open_contract_win(ds_id, record_id) {
var record = $(ds_id).findById(record_id); var record = $(ds_id).findById(record_id);
var param = record.data; var param = record.data;
...@@ -188,6 +197,7 @@ ...@@ -188,6 +197,7 @@
return; return;
} }
}; };
]]></script> ]]></script>
<a:screen-include screen="modules/cont/CON500/con_contract_authority_list_validate.lview?document_category=CONTRACT&amp;function_code=CON501"/> <a:screen-include screen="modules/cont/CON500/con_contract_authority_list_validate.lview?document_category=CONTRACT&amp;function_code=CON501"/>
<a:screen-include screen="modules/cont/CON500/con_contract_get_layout_code.lview"/> <a:screen-include screen="modules/cont/CON500/con_contract_get_layout_code.lview"/>
......
...@@ -529,8 +529,7 @@ ...@@ -529,8 +529,7 @@
$(ds_id).setQueryParameter('contract_id','${/parameter/@contract_id}'); $(ds_id).setQueryParameter('contract_id','${/parameter/@contract_id}');
$(ds_id).query(); $(ds_id).query();
console.log($(ds_id));
console.log('${/parameter/@contract_id}');
}) })
]]></script> ]]></script>
......
...@@ -48,9 +48,11 @@ ...@@ -48,9 +48,11 @@
/* record.getField('payment_frequency_n').setReadOnly(true);*/ /* record.getField('payment_frequency_n').setReadOnly(true);*/
record.getField('payment_period').setReadOnly(true); record.getField('payment_period').setReadOnly(true);
record.set('payment_period', 1); record.set('payment_period', 1);
record.set('payment_frequency', 'MONTH'); // record.set('payment_frequency', 'MONTH');
record.set('payment_frequency_n', 'MONTH'); // record.set('payment_frequency_n', '按月');
} }
record.set('payment_frequency', 'MONTH');
record.set('payment_frequency_n', '按月');
}; };
// window['${/parameter/@layout_code}_SAVE_LAYOUT_DYNAMIC_CLICK'] = function () { // window['${/parameter/@layout_code}_SAVE_LAYOUT_DYNAMIC_CLICK'] = function () {
// $('${/parameter/@layout_code}_save').disable(); //按钮不可用 // $('${/parameter/@layout_code}_save').disable(); //按钮不可用
...@@ -68,7 +70,7 @@ ...@@ -68,7 +70,7 @@
var ds_id = get_dsid_by_tabcode_basetable(window['${/parameter/@layout_code}_layoutDataSetList'],'F_BASE_01', 'con_contract'); var ds_id = get_dsid_by_tabcode_basetable(window['${/parameter/@layout_code}_layoutDataSetList'],'F_BASE_01', 'con_contract');
if (ds == $(ds_id)) { if (ds == $(ds_id)) {
var repurchase_types = record.get('repurchase_types'); var repurchase_types = record.get('repurchase_types');
if (name != 'repurchase_types_n') { if (name != 'repurchase_types_n' &&name!='payment_frequency'&&name!='payment_frequency_n') {
if (repurchase_types == null || repurchase_types == undefined) { if (repurchase_types == null || repurchase_types == undefined) {
Leaf.showMessage('${l:HLS.PROMPT}', '请先维护基本信息中的回购类型!'); Leaf.showMessage('${l:HLS.PROMPT}', '请先维护基本信息中的回购类型!');
return; return;
...@@ -86,7 +88,7 @@ ...@@ -86,7 +88,7 @@
record.getField('payment_frequency_n').setReadOnly(true); record.getField('payment_frequency_n').setReadOnly(true);
record.getField('payment_period').setReadOnly(true); record.getField('payment_period').setReadOnly(true);
record.set('payment_period', 1); record.set('payment_period', 1);
record.set('payment_frequency', 'MONTH'); // record.set('payment_frequency', 'MONTH');
if (name == 'ccr_due_amount') { if (name == 'ccr_due_amount') {
var due_amount = record.get('due_amount') || 0; var due_amount = record.get('due_amount') || 0;
if (due_amount < value) { if (due_amount < value) {
...@@ -119,8 +121,8 @@ ...@@ -119,8 +121,8 @@
record.getField('payment_frequency_n').setRequired(true); record.getField('payment_frequency_n').setRequired(true);
record.getField('payment_frequency').setRequired(true); record.getField('payment_frequency').setRequired(true);
record.getField('payment_period').setRequired(true); record.getField('payment_period').setRequired(true);
record.getField('payment_frequency_n').setReadOnly(false); record.getField('payment_frequency_n').setReadOnly(true);
record.getField('payment_period').setReadOnly(false); record.getField('payment_period').setReadOnly(true);
// 回购价款总额 = 逾期租金 + 逾期罚息(调整后)+ 剩余本金 + 留购价 + 手续费 + 资金占用费 // 回购价款总额 = 逾期租金 + 逾期罚息(调整后)+ 剩余本金 + 留购价 + 手续费 + 资金占用费
// sum_overdue_amount+ccr_due_amount+sum_unreceived_principal+residual_value+repurchase_service_charges+fund_possession_cost // sum_overdue_amount+ccr_due_amount+sum_unreceived_principal+residual_value+repurchase_service_charges+fund_possession_cost
// 回购价款计算基数 = 逾期租金 + 逾期罚息(调整后)+ 剩余本金 + 留购价 // 回购价款计算基数 = 逾期租金 + 逾期罚息(调整后)+ 剩余本金 + 留购价
......
...@@ -7,6 +7,9 @@ ...@@ -7,6 +7,9 @@
--> -->
<a:screen xmlns:a="http://www.leaf-framework.org/application" xmlns:s="leaf.plugin.script" customizationEnabled="true" dynamiccreateenabled="true" <a:screen xmlns:a="http://www.leaf-framework.org/application" xmlns:s="leaf.plugin.script" customizationEnabled="true" dynamiccreateenabled="true"
trace="true"> trace="true">
<a:init-procedure>
<a:model-query model="cont.CON620.get_sys_role" rootPath="role_info"/>
</a:init-procedure>
<a:view> <a:view>
<a:link id="con_contract_get_layout_code_link_id" model="cont.CON500.con_contract_get_layout_code" <a:link id="con_contract_get_layout_code_link_id" model="cont.CON500.con_contract_get_layout_code"
modelaction="update"/> modelaction="update"/>
...@@ -129,25 +132,34 @@ ...@@ -129,25 +132,34 @@
//异步打印 //异步打印
// ds.setQueryParameter('__async__', 'Y'); // ds.setQueryParameter('__async__', 'Y');
}; };
window.addEventListener("load", function (_event) { // window.addEventListener("load", function (_event) {
Leaf.request({ // Leaf.request({
url: $('identify_cert_link').getUrl(), // url: $('identify_cert_link').getUrl(),
para: {}, // para: {},
success: function(res) { // success: function(res) {
var code=res.result.record.employee_type_id; // var code=res.result.record.employee_type_id;
if(code==64){ // if(code==64){
//代理店进行隐藏 // //代理店进行隐藏
//
// }
// },
// failure: function() {
// },
// error: function() {
// },
// scope: this
// });
// });
Leaf.onReady(function() {
if("${/model/role_info/record/@role_code}"!="0018"&&"${/model/role_info/record/@role_code}"!="0019") {
} else {
$('BP_MODIFY_ENTRANCE_G_BP_RESULT_hls_bp_master_layout_grid_id').hideColumn('SBO_BP_MESSAGE');
var elements=document.querySelector('td[title="SBO反馈信息"]'); var elements=document.querySelector('td[title="SBO反馈信息"]');
elements.remove(); elements.remove();
$('BP_MODIFY_ENTRANCE_G_BP_RESULT_hls_bp_master_layout_grid_id').hideColumn('SBO_BP_MESSAGE');
} }
},
failure: function() {
},
error: function() {
},
scope: this
});
}); });
]]></script> ]]></script>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment