Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
leaf-hlcm
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
hlcm
leaf-hlcm
Commits
a49cb774
Commit
a49cb774
authored
Aug 16, 2024
by
18083
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
新增代理店北京慧珠及费用合并报表调整
parent
2915dac6
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
310 additions
and
22 deletions
+310
-22
rpt_asset_commission_split.lwm
...EB-INF/classes/rpt/RPT7100/rpt_asset_commission_split.lwm
+239
-0
con_re_print_entrance.lview
...in/webapp/modules/cont/CON311/con_re_print_entrance.lview
+71
-22
No files found.
src/main/webapp/WEB-INF/classes/rpt/RPT7100/rpt_asset_commission_split.lwm
0 → 100644
View file @
a49cb774
This diff is collapsed.
Click to expand it.
src/main/webapp/modules/cont/CON311/con_re_print_entrance.lview
View file @
a49cb774
...
...
@@ -17,11 +17,14 @@
<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"
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=
"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"
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=
"operate_readonly_link"
url=
"${/request/@context_path}/modules/prj/PRJ501N/prj_project_maintain_opreat.lview"
/>
<script
type=
"text/javascript"
>
<![CDATA[
...
...
@@ -50,24 +53,42 @@
function open_contract_win(ds_id, record_id) {
var record = $(ds_id).findById(record_id);
var param = record.data;
if(record.get('sign_contract_status')=='NEW' || record.get('sign_contract_status')=='SIGN_RETURN'){
param['function_code'] = 'CON301MM';
param['function_usage'] = 'MODIFY';
if(record.get('division')!='95'){
if(record.get('sign_contract_status')=='NEW' || record.get('sign_contract_status')=='SIGN_RETURN'){
param['function_code'] = 'CON301MM';
param['function_usage'] = 'MODIFY';
}
else{
param['function_code'] = 'CON301';
param['function_usage'] = 'QUERY';
//add by 24976
param['sign_contract_status'] = record.get('sign_contract_status');
param['contract_status'] = record.get('contract_status');
}
param['winid'] = 'con_contract_modify_win_id';
param['url_title'] = '${l:CON301.CONTRACT_DETAIL}';
hls_doc_get_layout_code('con_contract_get_layout_code_link_id', param, '${/parameter/@layout_code}con_contract_query_link', ds_id);
}
else{
param['function_code'] = 'CON301';
param['function_usage'] = 'QUERY';
//add by 24976
param['sign_contract_status'] = record.get('sign_contract_status');
param['contract_status'] = record.get('contract_status');
if(record.get('division')=='95'){
if(record.get('sign_contract_status')=='NEW' || record.get('sign_contract_status')=='SIGN_RETURN'){
param['function_code'] = 'CON301MM_OP';
param['function_usage'] = 'MODIFY';
}
else{
param['function_code'] = 'CON301OP';
param['function_usage'] = 'QUERY';
param['sign_contract_status'] = record.get('sign_contract_status');
param['contract_status'] = record.get('contract_status');
}
param['winid'] = 'con_contract_modify_op_win_id';
param['url_title'] = '${l:CON301.CONTRACT_DETAIL}';
hls_doc_get_layout_code('con_contract_get_layout_code_link_id', param, '${/parameter/@layout_code}con_contract_query_op_link', ds_id);
}
param['winid'] = 'con_contract_modify_win_id';
param['url_title'] = '${l:CON301.CONTRACT_DETAIL}';
hls_doc_get_layout_code('con_contract_get_layout_code_link_id', param, '${/parameter/@layout_code}con_contract_query_link', 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 url;
param['hide_flag'] = 'Y';
...
...
@@ -79,14 +100,19 @@
/* param['window_open_flag'] = 'Y';
param['show_history_flag'] = 'Y'; */
param['url_title'] = '${l:HLS.PROJECT_MAITAIN}';
if(record.get('is_constru_unit') == 'N'){
//不是虚拟店
param['function_code'] = 'PRJ501_WFL';
url = 'car_modify_special_link';
}else{
//虚拟店
param['function_code'] = 'PRJ501Q_CONSTRU';
url = 'car_modify_link_readonly_c';
if(record.get('division')!='95'){
if(record.get('is_constru_unit') == 'N'){
//不是虚拟店
param['function_code'] = 'PRJ501_WFL';
url = 'car_modify_special_link';
}else{
//虚拟店
param['function_code'] = 'PRJ501Q_CONSTRU';
url = 'car_modify_link_readonly_c';
}
}else {
param['function_code'] = 'PRJ501_OPERAT_WFL';
url = 'operate_readonly_link';
}
hls_doc_get_layout_code('con_contract_get_layout_code_link_id', param, url, ds_id, '${/parameter/@layout_code}');
}
...
...
@@ -171,12 +197,30 @@
}
};*/
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
division=
records[0].data.division;
var
division_detail =
records[0].data.division_detail;
var
bp_id_agent_code =
records[0].data.bp_id_agent_code;
if(
division =
=
'95'){
Leaf.showErrorMessage('提示','经营性租赁暂不支持线上生成合同文本!');
return;
}
if
(records.length
!=
1)
{
Leaf.showMessage('${l:PROMPT}','${l:HLS.SELECT_RECORD}');
return;
}
if(
division =
=
'70'){
if(
division_detail=
='03'){
Leaf.showErrorMessage('提示','当前合同不支持打印纸质合同文本!');
return;
}
//代理店北京慧珠不支持打印纸质合同文本
if(
bp_id_agent_code=
='D00010038'){
Leaf.showErrorMessage('提示','当前合同不支持打印纸质合同文本!');
return;
}
}
var
record=
records[0];
new
Leaf.Window({
id:
'con_contract_update_print_detail_winid',
...
...
@@ -197,6 +241,11 @@
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
records =
$(ds_id).getSelected();
var
division=
records[0].data.division;
if(
division =
=
'95'){
Leaf.showErrorMessage('提示','经营性租赁暂不支持线上生成用印信息!');
return;
}
if
(records.length
!=
1)
{
Leaf.showMessage('${l:PROMPT}','${l:HLS.SELECT_RECORD}');
return;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment