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
42287e07
Commit
42287e07
authored
Nov 19, 2024
by
18083
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
批量下载解约通知函、连带责任函、拖车授权委托书按钮权限调整
parent
ba731d6f
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
30 additions
and
1 deletion
+30
-1
con_contract_rent_dun_query.lview
...app/modules/cont/CON620/con_contract_rent_dun_query.lview
+29
-1
create_content_for_collection_download_signatures.lsc
...620/create_content_for_collection_download_signatures.lsc
+1
-0
No files found.
src/main/webapp/modules/cont/CON620/con_contract_rent_dun_query.lview
View file @
42287e07
...
...
@@ -2,6 +2,7 @@
<a:screen
xmlns:a=
"http://www.leaf-framework.org/application"
customizationEnabled=
"true"
>
<a:init-procedure>
<a:model-query
model=
"cont.CON620.get_sys_role"
rootPath=
"role_info"
/>
<a:model-query
defaultWhereClause=
"t1.user_id=${/session/@user_id}"
model=
"prj.PRJ501N.get_user_info"
rootPath=
"user_name_path"
/>
</a:init-procedure>
<a:view>
<a:link
id=
"con_dun_record_id"
url=
"${/request/@context_path}/modules/cont/CON620/con_dun_record.lview"
/>
...
...
@@ -365,6 +366,17 @@
$('CON601_con_contract_grid_ds').hideColumn('account_due_amount');
$('CON601_con_contract_grid_ds').hideColumn('ac_received_amount');
$('CON601_con_contract_grid_ds').hideColumn('ac_unreceived_amount');
}
if("${/model/role_info/record/@role_code}"!="0018"
&&
"${/model/role_info/record/@role_code}"!="0019") {
document.getElementById('CON601_joint_responsibility_id').style.display = "";
document.getElementById('CON601_trailer_letter_id').style.display = "";
} else {
document.getElementById("CON601_joint_responsibility_id").style.display = "none";
document.getElementById("CON601_trailer_letter_id").style.display = "none";
if("${/model/user_name_path/record/@user_name}"=="ZLSY001"||"${/model/user_name_path/record/@user_name}"=="ZLSY002"){
document.getElementById("CON601_con_contract_download_btn").style.display = "none";
document.getElementById("CON601_notice_of_termination_id").style.display = "none";
}
}
//document.getElementById("repur_select_id").style.backgroundColor = '#657efe';
//jQuery(".aaaa").css("color","#657efe");
...
...
@@ -592,6 +604,10 @@
var r_map = new Map();
for (var i = 0; i
< records.length
;
i++)
{
if(records[i].get('division')
==
'95'){
$L.showInfoMessage('提示','经营性租赁业务不支持批量下载催收函!');
return;
}
if(!r_map.has(records[i].get('contract_id'))){
var
arr =
new
Array();
arr.add(records[i].get('contract_id'));
...
...
@@ -631,6 +647,10 @@
var datas = [];
var templet_code = 'CON_LEASE_CONFIRM';
for (var i = 0;i
< records.length
;i++)
{
if(records[i].get('division')
==
'95'){
$L.showInfoMessage('提示','经营性租赁业务不支持批量下载解约通知函!');
return;
}
var
obj =
{};
obj['contract_id']
=
records[i].get('contract_id');
obj['templet_code']
=
templet_code;
...
...
@@ -693,6 +713,10 @@
var datas = [];
var templet_code = 'CON_LEASE';
for (var i = 0;i
< records.length
;i++)
{
if(records[i].get('division')
==
'95'){
$L.showInfoMessage('提示','经营性租赁业务不支持批量下载连带责任函!');
return;
}
var
obj =
{};
obj['contract_id']
=
records[i].get('contract_id');
obj['templet_code']
=
templet_code;
...
...
@@ -755,6 +779,10 @@
var datas = [];
var templet_code = 'LEASE_RETURN';
for (var i = 0;i
< records.length
;i++)
{
if(records[i].get('division')
==
'95'){
$L.showInfoMessage('提示','经营性租赁业务不支持批量下载拖车授权委托书!');
return;
}
var
obj =
{};
obj['contract_id']
=
records[i].get('contract_id');
obj['templet_code']
=
templet_code;
...
...
src/main/webapp/modules/cont/CON620/create_content_for_collection_download_signatures.lsc
View file @
42287e07
...
...
@@ -87,6 +87,7 @@
var to_file_path = (sys_file_path + y + "\/" + m + "\/").toString();
FileUtils.forceMkdir(new File(to_file_path)); //根据日期创建目录
for (var i = 0;i < from_file_data.length;i++) {
var to_file_path = (sys_file_path + y + "\/" + m + "\/").toString();
var record_data = from_file_data[i];
var to_file_name = record_data.to_file_name;
...
...
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