Commit e3cab322 authored by 18083's avatar 18083

新建代理店广东鑫众

parent e6791ace
...@@ -148,7 +148,10 @@ select fa.file_name,fa.file_path,fa.attachment_id ...@@ -148,7 +148,10 @@ select fa.file_name,fa.file_path,fa.attachment_id
'CSH_PAYMENT_REQ_TJ_RE','CSH_PAYMENT_REQ_TJ_E', 'CSH_PAYMENT_REQ_TJ_RE','CSH_PAYMENT_REQ_TJ_E',
--'CSH_PAYMENT_REQ_KJ_1_RE','CSH_PAYMENT_REQ_KJ_1_E', --'CSH_PAYMENT_REQ_KJ_1_RE','CSH_PAYMENT_REQ_KJ_1_E',
'CSH_PAYMENT_REQ_KJ_1_RE','CSH_PAYMENT_REQ_TJ_E', 'CSH_PAYMENT_REQ_KJ_1_RE','CSH_PAYMENT_REQ_TJ_E',
'CSH_LEASEBACK_YNTQ_RE','CSH_PAYMENT_REQ_TJ_E' 'CSH_LEASEBACK_YNTQ_RE','CSH_PAYMENT_REQ_TJ_E',
--广东鑫源 保证函(广东鑫众实控人)
'FINANCE_LEASE_CONTRACT_GXZ_S_E','FINANCE_LEASE_CONTRACT_GXZ_S_E',
'GUA_PERSONAL_CREDIT_MJ_SE','PERSONAL_CREDIT'
) )
from con_ele_signer_file cf, con_contract_ele_signer cs from con_ele_signer_file cf, con_contract_ele_signer cs
where cf.con_ele_signer_id = cs.con_ele_signer_id where cf.con_ele_signer_id = cs.con_ele_signer_id
......
...@@ -64,7 +64,8 @@ select fa.file_name, fa.file_path, fa.file_size, ct.order_seq ...@@ -64,7 +64,8 @@ select fa.file_name, fa.file_path, fa.file_size, ct.order_seq
from con_contract_bp cb, hls_bp_master hm from con_contract_bp cb, hls_bp_master hm
where cb.bp_id = hm.bp_id where cb.bp_id = hm.bp_id
and hm.social_code = ${@id_no} and hm.social_code = ${@id_no}
and cb.contract_id = cc.contract_id))) and cb.contract_id = cc.contract_id))
and cf.templet_code not in('FINANCE_LEASE_CONTRACT_GXZ_S_E','GUA_PERSONAL_CREDIT_MJ_SE'))
order by ct.order_seq order by ct.order_seq
]]></bm:query-sql> ]]></bm:query-sql>
</bm:operation> </bm:operation>
......
<?xml version="1.0" encoding="UTF-8"?>
<bm:model xmlns:bm="http://www.leaf-framework.org/schema/bm">
<bm:operations>
<bm:operation name="query">
<bm:query-sql><![CDATA[
select decode(v.exc_num, 0, 'N', 'Y') statusFlag
from (select count(1) exc_num
from sign_auth_exc t
where t.id_no = ${@id_no}
and t.bp_name = ${@bp_name}
and t.agent_bp_code='D00010039') v
]]></bm:query-sql>
</bm:operation>
</bm:operations>
<bm:fields>
<bm:field name="statusFlag"/>
</bm:fields>
</bm:model>
...@@ -15,17 +15,16 @@ ...@@ -15,17 +15,16 @@
<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_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_op_link"
url="${/request/@context_path}/modules/cont/CON505/con_contract_op_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"/>
<a:link id="${/parameter/@layout_code}con_contract_query_op_link"
url="${/request/@context_path}/modules/cont/CON505/con_contract_op_modify.lview"/>
<a:link id="car_modify_special_link" url="${/request/@context_path}/modules/prj/PRJ501N/prj_project_maintain.lview"/> <a:link id="car_modify_special_link" url="${/request/@context_path}/modules/prj/PRJ501N/prj_project_maintain.lview"/>
<a:link id="con_contract_update_print_detail_link_id" url="${/request/@context_path}/modules/cont/CON311/con_contract_update_print_word_detail.lview"/> <a:link id="con_contract_update_print_detail_link_id" url="${/request/@context_path}/modules/cont/CON311/con_contract_update_print_word_detail.lview"/>
<a:link id="con_lease_org_print_link" <a:link id="con_lease_org_print_link"
url="${/request/@context_path}/modules/cont/CON620/create_content_for_collection.lsc"/> url="${/request/@context_path}/modules/cont/CON620/create_content_for_collection.lsc"/>
<a:link id="car_modify_link_readonly_c" url="${/request/@context_path}/modules/prj/PRJ501N/prj_project_maintain_constru.lview"/> <a:link id="car_modify_link_readonly_c" url="${/request/@context_path}/modules/prj/PRJ501N/prj_project_maintain_constru.lview"/>
<a:link id="operate_readonly_link" url="${/request/@context_path}/modules/prj/PRJ501N/prj_project_maintain_opreat.lview"/> <a:link id="operate_readonly_link" url="${/request/@context_path}/modules/prj/PRJ501N/prj_project_maintain_opreat.lview"/>
<script type="text/javascript"><![CDATA[ <script type="text/javascript"><![CDATA[
...@@ -88,20 +87,20 @@ ...@@ -88,20 +87,20 @@
} }
} }
function open_project_Window(record_id, ds_id) { function open_project_Window(record_id, ds_id) {
var record = $(ds_id).findById(record_id); var record = $(ds_id).findById(record_id);
var param = record.data; var param = record.data;
var url; var url;
param['hide_flag'] = 'Y'; param['hide_flag'] = 'Y';
param['company_id'] = record.get('company_id'); param['company_id'] = record.get('company_id');
param['project_id'] = record.get('project_id'); param['project_id'] = record.get('project_id');
param['function_usage'] = 'QUERY'; param['function_usage'] = 'QUERY';
param['bp_class'] = record.get('bp_class'); param['bp_class'] = record.get('bp_class');
param['maintain_type'] = 'QUERY'; param['maintain_type'] = 'QUERY';
/* param['window_open_flag'] = 'Y'; /* param['window_open_flag'] = 'Y';
param['show_history_flag'] = 'Y'; */ param['show_history_flag'] = 'Y'; */
param['url_title'] = '${l:HLS.PROJECT_MAITAIN}'; param['url_title'] = '${l:HLS.PROJECT_MAITAIN}';
if(record.get('division')!='95'){ if(record.get('division')!='95'){
if(record.get('is_constru_unit') == 'N'){ if(record.get('is_constru_unit') == 'N'){
//不是虚拟店 //不是虚拟店
param['function_code'] = 'PRJ501_WFL'; param['function_code'] = 'PRJ501_WFL';
...@@ -115,8 +114,8 @@ ...@@ -115,8 +114,8 @@
param['function_code'] = 'PRJ501_OPERAT_WFL'; param['function_code'] = 'PRJ501_OPERAT_WFL';
url = 'operate_readonly_link'; url = 'operate_readonly_link';
} }
hls_doc_get_layout_code('con_contract_get_layout_code_link_id', param, url, ds_id, '${/parameter/@layout_code}'); hls_doc_get_layout_code('con_contract_get_layout_code_link_id', param, url, ds_id, '${/parameter/@layout_code}');
} }
function open_bs_Window(record_id, ds_id) { function open_bs_Window(record_id, ds_id) {
var record = $(ds_id).findById(record_id); var record = $(ds_id).findById(record_id);
...@@ -144,14 +143,14 @@ ...@@ -144,14 +143,14 @@
}; };
window['${/parameter/@layout_code}_on_layout_dynamic_grid_query'] = function(ds, qpara, bp_seq) { window['${/parameter/@layout_code}_on_layout_dynamic_grid_query'] = function(ds, qpara, bp_seq) {
var ds_id = get_dsid_by_basetable(window['${/parameter/@layout_code}_layoutDataSetList'], 'con_contract'); var ds_id = get_dsid_by_basetable(window['${/parameter/@layout_code}_layoutDataSetList'], 'con_contract');
if (ds == $(ds_id)) { if (ds == $(ds_id)) {
aut_authority_list_validate_query(ds, qpara); aut_authority_list_validate_query(ds, qpara);
} }
}; };
//单据跟踪 //单据跟踪
window['${/parameter/@layout_code}_user_button3_layout_dynamic_click'] = function() { window['${/parameter/@layout_code}_user_button3_layout_dynamic_click'] = function() {
// var prj_project_ds_id = get_dsid_by_basetable(window['${/parameter/@layout_code}_layoutDataSetList'], 'prj_project'); // var prj_project_ds_id = get_dsid_by_basetable(window['${/parameter/@layout_code}_layoutDataSetList'], 'prj_project');
...@@ -198,11 +197,11 @@ ...@@ -198,11 +197,11 @@
} }
};*/ };*/
window['${/parameter/@layout_code}_user_button1_layout_dynamic_click'] = function() { window['${/parameter/@layout_code}_user_button1_layout_dynamic_click'] = function() {
var ds_id = get_dsid_by_basetable(window['${/parameter/@layout_code}_layoutDataSetList'], 'con_contract'); var ds_id = get_dsid_by_basetable(window['${/parameter/@layout_code}_layoutDataSetList'], 'con_contract');
var records = $(ds_id).getSelected(); var records = $(ds_id).getSelected();
var division=records[0].data.division; var division=records[0].data.division;
var division_detail = records[0].data.division_detail; var division_detail = records[0].data.division_detail;
var bp_id_agent_code = records[0].data.bp_id_agent_code; var bp_id_agent_code = records[0].data.bp_id_agent_code;
if(division == '95'){ if(division == '95'){
Leaf.showErrorMessage('提示','经营性租赁暂不支持线上生成合同文本!'); Leaf.showErrorMessage('提示','经营性租赁暂不支持线上生成合同文本!');
return; return;
...@@ -216,8 +215,8 @@ ...@@ -216,8 +215,8 @@
Leaf.showErrorMessage('提示','当前合同不支持打印纸质合同文本!'); Leaf.showErrorMessage('提示','当前合同不支持打印纸质合同文本!');
return; return;
} }
//代理店北京慧珠不支持打印纸质合同文本 //代理店北京慧珠不支持打印纸质合同文本
if(bp_id_agent_code=='D00010031'||bp_id_agent_code=='D00010021'){ if(bp_id_agent_code=='D00010038'||bp_id_agent_code=='D00010023'||bp_id_agent_code=='D00010039'){
Leaf.showErrorMessage('提示','当前合同不支持打印纸质合同文本!'); Leaf.showErrorMessage('提示','当前合同不支持打印纸质合同文本!');
return; return;
} }
...@@ -242,7 +241,7 @@ ...@@ -242,7 +241,7 @@
window['${/parameter/@layout_code}_user_button2_layout_dynamic_click'] = function () { window['${/parameter/@layout_code}_user_button2_layout_dynamic_click'] = function () {
var ds_id = get_dsid_by_basetable(window['${/parameter/@layout_code}_layoutDataSetList'], 'con_contract'); var ds_id = get_dsid_by_basetable(window['${/parameter/@layout_code}_layoutDataSetList'], 'con_contract');
var records = $(ds_id).getSelected(); var records = $(ds_id).getSelected();
var division=records[0].data.division; var division=records[0].data.division;
if(division == '95'){ if(division == '95'){
Leaf.showErrorMessage('提示','经营性租赁暂不支持线上生成用印信息!'); Leaf.showErrorMessage('提示','经营性租赁暂不支持线上生成用印信息!');
return; return;
......
This source diff could not be displayed because it is too large. You can view the blob instead.
<?xml version="1.0" encoding="UTF-8"?>
<a:service xmlns:ns1="leaf.application.action" xmlns:p="uncertain.proc" xmlns:a="http://www.leaf-framework.org/application" xmlns:s="leaf.plugin.script" trace="true">
<a:init-procedure>
<s:server-script import="app/app_login_check.js"><![CDATA[
function sign_auth_status_query() {
var statusFlag_map;
var statusFlag;
try {
var statusFlag_query = $bm('wx.WX100.sign_auth_status_query');
statusFlag_map = statusFlag_query.queryAsMap({
id_no:$ctx.parameter.idNo,
bp_name:$ctx.parameter.name
});
var statusFlag_details = statusFlag_map.getChildren();
statusFlag = statusFlag_details[0].statusFlag;
$ctx.parameter.return_status = '0';
$ctx.parameter.return_message = '执行成功';
} catch (e) {
$ctx.success = "false";
$ctx.parameter.return_status = '1';
$ctx.parameter.return_message = String(e);
statusFlag = 'Y'
}
//返回结果
var result = {
code: $ctx.parameter.return_status,
message: $ctx.parameter.return_message,
statusFlag: statusFlag
};
$ctx.parameter.json = JSON.stringify(result);
}
if ($ctx.parameter.return_status != 'E' && $ctx.parameter.return_status != 'TIMEOUT') {
sign_auth_status_query();
}
]]></s:server-script>
</a:init-procedure>
<a:service-output output="/parameter/@json"/>
</a:service>
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