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
376a7ee4
Commit
376a7ee4
authored
May 19, 2022
by
gzj34291
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
会计核销违约金
parent
129d81bb
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
35 additions
and
3 deletions
+35
-3
contract_query_inc_g_cashflow_1_queryfields.js
...youtconfig/contract_query_inc_g_cashflow_1_queryfields.js
+13
-0
con_re_incept_modify.lview
...in/webapp/modules/cont/CON3200/con_re_incept_modify.lview
+21
-2
con_contract_modify.lview
...main/webapp/modules/cont/CON505/con_contract_modify.lview
+1
-1
No files found.
src/main/webapp/WEB-INF/server-script/layoutconfig/contract_query_inc_g_cashflow_1_queryfields.js
0 → 100644
View file @
376a7ee4
var
add_datafilters
=
[{
name
:
'authority_flag'
,
expression
:
"((CF_ITEM_N !='会计核销违约金' and exists (SELECT 1 FROM sys_role sr
\n
"
+
"where (sr.role_code ='0018'
\n
"
+
"or sr.role_code = '0019')
\n
"
+
"and sr.role_id=${/session/@role_id})) or ( not exists (SELECT 1 FROM sys_role sr
\n
"
+
"where (sr.role_code ='0018'
\n
"
+
"or sr.role_code = '0019')
\n
"
+
"and sr.role_id=${/session/@role_id})))"
}];
add_datafilter
();
src/main/webapp/modules/cont/CON3200/con_re_incept_modify.lview
View file @
376a7ee4
...
...
@@ -8,6 +8,7 @@
<a:screen
xmlns:a=
"http://www.leaf-framework.org/application"
xmlns:s=
"leaf.plugin.script"
customizationEnabled=
"true"
dynamiccreateenabled=
"true"
trace=
"true"
>
<a:init-procedure>
<a:model-query
model=
"cont.CON620.get_sys_role"
rootPath=
"role_info"
/>
<a:model-query
fetchAll=
"true"
model=
"cont.CON500.con_contract_get_guid_file_name"
rootPath=
"file_name_path"
/>
<s:server-script
import=
"contract_print_path.js"
>
<![CDATA[
$ctx.parameter.file_path = con_print_path['con_print_path'];
...
...
@@ -124,6 +125,8 @@
document.getElementById('${/parameter/@layout_code}_LEASE_FIN_INFO_1_CON_CONTRACT_OTHER_FEE2_prompt').style.display = 'none';
document.getElementById('${/parameter/@layout_code}_LEASE_FIN_INFO_1_CON_CONTRACT_OTHER_FEE2').style.display = 'none';
}
if (record.get('business_type') == 'LEASE') {
document.getElementById('${/parameter/@layout_code}_F_BASIC_1_CON_CONTRACT_ENTRUSTED_AMOUNT_prompt').style.display = 'none';
document.getElementById('${/parameter/@layout_code}_F_BASIC_1_CON_CONTRACT_ENTRUSTED_AMOUNT').style.display = 'none';
...
...
@@ -142,8 +145,8 @@
}
}
//新增 “限制金额”字段;
//“扣款限额”:“租金支付方式”为“建行扣款
(三方)
”时展示;
if (record.get('pay_method') == 'CCB_THREE') {
//“扣款限额”:“租金支付方式”为“建行扣款”时展示;
if (record.get('pay_method') == 'CCB_THREE'
||record.get('pay_method') == 'CCB_TWO'
) {
document.getElementById('${/parameter/@layout_code}_F_BASIC_1_CON_CONTRACT_DEDUCTION_LIMIT_prompt').style.display = 'block';
document.getElementById('${/parameter/@layout_code}_F_BASIC_1_CON_CONTRACT_DEDUCTION_LIMIT').style.display = 'block';
} else {
...
...
@@ -731,6 +734,22 @@
$(gridId).hideColumn('ownership_flag_n');
$(gridId).hideColumn('created_by_n');
}
if(
record.data.division=
='30'||record.data.division=='50'||record.data.division=='80'){
record.getField('set_number').setRequired(true);
}else{
record.getField('set_number').setReadOnly(true);
if(Ext.isEmpty(record.get('set_number'))){
record.set('set_number',1);
}
}
}
var
cashflow_ds_id =
get_dsid_by_tabcode_basetable(window['${/parameter/@layout_code}_layoutDataSetList'],
'G_CASHFLOW_1',
'con_contract_cashflow');
if(
ds.id =
=
cashflow_ds_id&&cashflow_ds_id){
var
gridId=
ds.bindname+'_layout_grid_id';
if("${/model/role_info/record/@role_code}"
=="0018"
||
"${/model/role_info/record/@role_code}"
=="0019"
){
$(gridId).hideColumn('gld_received_amount');
}
}
};
...
...
src/main/webapp/modules/cont/CON505/con_contract_modify.lview
View file @
376a7ee4
This source diff could not be displayed because it is too large. You can
view the blob
instead.
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