Commit bc431f19 authored by stone's avatar stone

[fix]增加报价按钮

parent 8b6cabde
...@@ -7,9 +7,9 @@ ...@@ -7,9 +7,9 @@
--> -->
<a:screen xmlns:a="http://www.leaf-framework.org/application" customizationEnabled="true" dynamiccreateenabled="true" <a:screen xmlns:a="http://www.leaf-framework.org/application" customizationEnabled="true" dynamiccreateenabled="true"
trace="true"> trace="true">
<!-- <a:init-procedure>--> <a:init-procedure>
<!-- <a:model-query model="cont.CON620.get_sys_role" rootPath="role_info"/>--> <a:model-query model="cont.CON620.get_sys_role" rootPath="role_info"/>
<!-- </a:init-procedure>--> </a:init-procedure>
<a:view> <a:view>
<a:link id="prj_project_get_layout_code_link_id" model="cont.CON500.con_contract_get_layout_code" <a:link id="prj_project_get_layout_code_link_id" model="cont.CON500.con_contract_get_layout_code"
modelaction="update"/> modelaction="update"/>
...@@ -175,10 +175,6 @@ ...@@ -175,10 +175,6 @@
var project_id = $(ds_id).getSelected()[0].get('project_id'); var project_id = $(ds_id).getSelected()[0].get('project_id');
//根据是否是代理店打印不同的文本 //根据是否是代理店打印不同的文本
var templet_code=''; var templet_code='';
// if("${/model/role_info/record/@role_code}"!="0018"&&"${/model/role_info/record/@role_code}"!="0019") {
// templet_code='PROJECT_QUOTATION_N';
// }
templet_code = 'PROJECT_QUOTATION_N'; templet_code = 'PROJECT_QUOTATION_N';
var url=$('prj_quotation_print_link').getUrl() + '?project_id=' + project_id + '&templet_code=' + templet_code; var url=$('prj_quotation_print_link').getUrl() + '?project_id=' + project_id + '&templet_code=' + templet_code;
window.open(url, '_self'); window.open(url, '_self');
...@@ -191,7 +187,15 @@ ...@@ -191,7 +187,15 @@
} }
}; };
Leaf.onReady(function(){
//上级 btn4 可见
if("${/model/role_info/record/@role_code}"=="0019") {
$('PROJECT_MODIFY_ENTRANCE_user_button4').hide();
}else if("${/model/role_info/record/@role_code}"=="0018"){
$('PROJECT_MODIFY_ENTRANCE_user_button3').hide();
}
})
function check_isload() { function check_isload() {
} }
......
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