Commit 614cfdfa authored by 李贺贺's avatar 李贺贺

授信额度占用功能问题修复

parent ca9ef959
...@@ -956,7 +956,7 @@ ...@@ -956,7 +956,7 @@
credit_record.set('credit_line','TENANT'); credit_record.set('credit_line','TENANT');
credit_record.set('credit_line_n','承租人'); credit_record.set('credit_line_n','承租人');
credit_record.getField('credit_line').setReadOnly(true); credit_record.getField('credit_line').setReadOnly(true);
credit_record.getField('credit_line_n').setReadOnly(true) credit_record.getField('credit_line_n').setReadOnly(true);
credit_record.getField('credit_line').setRequired(false); credit_record.getField('credit_line').setRequired(false);
credit_record.getField('credit_line_n').setRequired(false); credit_record.getField('credit_line_n').setRequired(false);
...@@ -973,6 +973,12 @@ ...@@ -973,6 +973,12 @@
credit_record.getField('credit_line_n').setRequired(false); credit_record.getField('credit_line_n').setRequired(false);
} }
} }
//只读页面隐藏保存按钮
if('${/parameter/@function_usage}' == 'QUERY'){
if(document.getElementById('${/parameter/@layout_code}_save')){
document.getElementById('${/parameter/@layout_code}_save').style.display = "none";
}
}
if (prj_quotation_ds_id == ds.id && prj_quotation_ds_id){ if (prj_quotation_ds_id == ds.id && prj_quotation_ds_id){
var bp_code = '${/model/user_agent_description/record/@bp_code}'; var bp_code = '${/model/user_agent_description/record/@bp_code}';
if (!Ext.isEmpty(bp_code)){ if (!Ext.isEmpty(bp_code)){
...@@ -1011,7 +1017,6 @@ ...@@ -1011,7 +1017,6 @@
} }
} }
} }
document.getElementById('${/parameter/@layout_code}_save').style.display = "none";
}; };
//pdf预览 add by zhuxianfei //pdf预览 add by zhuxianfei
......
...@@ -819,7 +819,9 @@ ...@@ -819,7 +819,9 @@
}else { }else {
document.getElementById('${/parameter/@layout_code}_F_BASIC_INFO_1_PRJ_PROJECT_CREDIT_LINE_prompt').style.display = 'none'; document.getElementById('${/parameter/@layout_code}_F_BASIC_INFO_1_PRJ_PROJECT_CREDIT_LINE_prompt').style.display = 'none';
document.getElementById('${/parameter/@layout_code}_F_BASIC_INFO_1_PRJ_PROJECT_CREDIT_LINE').style.display = 'none'; document.getElementById('${/parameter/@layout_code}_F_BASIC_INFO_1_PRJ_PROJECT_CREDIT_LINE').style.display = 'none';
document.getElementById('${/parameter/@layout_code}_save').style.display = "none"; if(document.getElementById('${/parameter/@layout_code}_save')){
document.getElementById('${/parameter/@layout_code}_save').style.display = "none";
}
} }
if('${/parameter/@editable_flag}' == 'YE'){ if('${/parameter/@editable_flag}' == 'YE'){
document.getElementById('${/parameter/@layout_code}_save').style.display = "block"; document.getElementById('${/parameter/@layout_code}_save').style.display = "block";
......
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