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
68309d13
Commit
68309d13
authored
Aug 16, 2024
by
18083
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
新增代理店北京慧珠
parent
b79fe1a6
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
90 additions
and
40 deletions
+90
-40
con_re_print_entrance.lview
...in/webapp/modules/cont/CON311/con_re_print_entrance.lview
+90
-40
No files found.
src/main/webapp/modules/cont/CON311/con_re_print_entrance.lview
View file @
68309d13
...
...
@@ -15,6 +15,8 @@
<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=
"${/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"
url=
"${/request/@context_path}/modules/cont/CON505/con_contract_modify.lview"
/>
<a:link
id=
"car_modify_special_link"
url=
"${/request/@context_path}/modules/prj/PRJ501N/prj_project_maintain.lview"
/>
...
...
@@ -22,6 +24,8 @@
<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,6 +54,7 @@
function open_contract_win(ds_id, record_id) {
var record = $(ds_id).findById(record_id);
var param = record.data;
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';
...
...
@@ -66,6 +71,23 @@
hls_doc_get_layout_code('con_contract_get_layout_code_link_id', param, '${/parameter/@layout_code}con_contract_query_link', ds_id);
}
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);
}
}
function open_project_Window(record_id, ds_id) {
var record = $(ds_id).findById(record_id);
var param = record.data;
...
...
@@ -79,6 +101,7 @@
/* param['window_open_flag'] = 'Y';
param['show_history_flag'] = 'Y'; */
param['url_title'] = '${l:HLS.PROJECT_MAITAIN}';
if(record.get('division')!='95'){
if(record.get('is_constru_unit') == 'N'){
//不是虚拟店
param['function_code'] = 'PRJ501_WFL';
...
...
@@ -88,6 +111,10 @@
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}');
}
...
...
@@ -173,10 +200,28 @@
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
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=
='D00010031'){
Leaf.showErrorMessage('提示','当前合同不支持打印纸质合同文本!');
return;
}
}
var
record=
records[0];
new
Leaf.Window({
id:
'con_contract_update_print_detail_winid',
...
...
@@ -197,6 +242,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