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
93ff9a0e
Commit
93ff9a0e
authored
Jan 28, 2024
by
陆正友
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/remote_dev' into remote_dev
parents
7ee88e56
9eb0a12e
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
90 additions
and
15 deletions
+90
-15
csh_create_entrance_g_csh_req_1_queryfields.js
...youtconfig/csh_create_entrance_g_csh_req_1_queryfields.js
+13
-1
csh_create_entrance_g_csh_req_2_queryfields.js
...youtconfig/csh_create_entrance_g_csh_req_2_queryfields.js
+13
-1
csh_payment_asset_req.lview
...in/webapp/modules/csh/CSH501C/csh_payment_asset_req.lview
+17
-11
prj_project_maintain_wfl_new.lview
...pp/modules/prj/PRJ501N/prj_project_maintain_wfl_new.lview
+47
-2
No files found.
src/main/webapp/WEB-INF/server-script/layoutconfig/csh_create_entrance_g_csh_req_1_queryfields.js
View file @
93ff9a0e
...
@@ -25,6 +25,18 @@ var add_datafilters = [
...
@@ -25,6 +25,18 @@ var add_datafilters = [
name
:
'approval_status'
,
name
:
'approval_status'
,
expression
:
"(t1.approval_status in ('NEW','RETURN','REJECT'))"
expression
:
"(t1.approval_status in ('NEW','RETURN','REJECT'))"
}
];
},
{
name
:
''
,
expression
:
"exists(select 1
\n
"
+
" from csh_payment_req_ln l,con_contract cc,con_contract_cashflow cf
\n
"
+
" where l.payment_req_id = t1.payment_req_id
\n
"
+
" and l.ref_doc_category = 'CONTRACT'
\n
"
+
" and l.ref_doc_id = cc.contract_id
\n
"
+
" and l.ref_doc_line_id = cf.cashflow_id
\n
"
+
" and cf.cf_item in ('0'))"
}
];
add_datafilter
();
add_datafilter
();
override
();
override
();
src/main/webapp/WEB-INF/server-script/layoutconfig/csh_create_entrance_g_csh_req_2_queryfields.js
View file @
93ff9a0e
...
@@ -25,6 +25,18 @@ var add_datafilters = [
...
@@ -25,6 +25,18 @@ var add_datafilters = [
name
:
'approval_status'
,
name
:
'approval_status'
,
expression
:
"(t1.approval_status NOT in ('NEW','RETURN','REJECT','CANCEL'))"
expression
:
"(t1.approval_status NOT in ('NEW','RETURN','REJECT','CANCEL'))"
}
];
},
{
name
:
''
,
expression
:
"exists(select 1
\n
"
+
" from csh_payment_req_ln l,con_contract cc,con_contract_cashflow cf
\n
"
+
" where l.payment_req_id = t1.payment_req_id
\n
"
+
" and l.ref_doc_category = 'CONTRACT'
\n
"
+
" and l.ref_doc_id = cc.contract_id
\n
"
+
" and l.ref_doc_line_id = cf.cashflow_id
\n
"
+
" and cf.cf_item in ('0'))"
}
];
add_datafilter
();
add_datafilter
();
override
();
override
();
src/main/webapp/modules/csh/CSH501C/csh_payment_asset_req.lview
View file @
93ff9a0e
...
@@ -43,7 +43,7 @@
...
@@ -43,7 +43,7 @@
}
}
//如果头id 不为空,就使用自在定义的ds进行查询
//如果头id 不为空,就使用自在定义的ds进行查询
Leaf.onReady(function () {
Leaf.onReady(function () {
if ('${/parameter/@source_type}' == 'WFL'||'${/parameter/@source_type}' == 'WFL_N
') {
if ('${/parameter/@source_type}' == 'WFL'||'${/parameter/@source_type}' == 'WFL_N'||'${/parameter/@source_type}' == 'WFL_ACCT
') {
if(document.getElementById('${/parameter/@layout_code}_save')){
if(document.getElementById('${/parameter/@layout_code}_save')){
document.getElementById('${/parameter/@layout_code}_save').style.display = "none";
document.getElementById('${/parameter/@layout_code}_save').style.display = "none";
}
}
...
@@ -79,6 +79,12 @@
...
@@ -79,6 +79,12 @@
if ('${/parameter/@source_type}' == 'WFL_N') {
if ('${/parameter/@source_type}' == 'WFL_N') {
record.getField('apply_pay_date').setReadOnly(true);
record.getField('apply_pay_date').setReadOnly(true);
}
}
if ('${/parameter/@source_type}' != 'WFL_ACCT') {
var gridId= ds.bindname+'_layout_grid_id';
$(gridId).hideColumn('sbo_num');
$(gridId).hideColumn('journal_date');
}
}
}
}
}
...
...
src/main/webapp/modules/prj/PRJ501N/prj_project_maintain_wfl_new.lview
View file @
93ff9a0e
...
@@ -228,7 +228,35 @@
...
@@ -228,7 +228,35 @@
window['${/parameter/@layout_code}_unlock_layout_dynamic_window']();
window['${/parameter/@layout_code}_unlock_layout_dynamic_window']();
var cal_hd_price_list = record.get('cal_hd_price_list');
var cal_hd_price_list = record.get('cal_hd_price_list');
var price_list = record.get('price_list');
var price_list = record.get('price_list');
if (cal_hd_price_list == price_list) {
//追加二手机报价重算条件,选择了适用或者调整了利率组合则需要重算报价
var cal_hd_user_col_v06 = record.get('cal_hd_user_col_v06');
var hd_user_col_v06 = record.get('hd_user_col_v06');
var cal_btb_int_rate = record.get('cal_btb_int_rate');
var btb_int_rate = record.get('btb_int_rate');
var cal_int_rate_display = record.get('cal_int_rate_display');
var int_rate_display = record.get('int_rate_display');
if(check_empty(cal_hd_user_col_v06)){
cal_hd_user_col_v06='N';
}
if(check_empty(hd_user_col_v06)){
hd_user_col_v06='N';
}
if(check_empty(btb_int_rate)){
btb_int_rate=0;
}
if(check_empty(int_rate_display)){
int_rate_display=0;
}
if(check_empty(cal_btb_int_rate)){
cal_btb_int_rate =0;
}
if(check_empty(cal_int_rate_display)){
cal_int_rate_display=0;
}
if ((cal_hd_price_list == price_list&&'${/parameter/@asset_fee_flag}'=='N')
||(cal_hd_price_list == price_list&&'${/parameter/@asset_fee_flag}'=='Y'&&cal_hd_user_col_v06==hd_user_col_v06
&&cal_btb_int_rate==btb_int_rate&&cal_int_rate_display==int_rate_display)) {
//直接进入报价页面
//直接进入报价页面
var win = new Leaf.Window({
var win = new Leaf.Window({
...
@@ -1169,6 +1197,10 @@
...
@@ -1169,6 +1197,10 @@
if(document.getElementById('${/parameter/@layout_code}_F_RATE_N_component_id')){
if(document.getElementById('${/parameter/@layout_code}_F_RATE_N_component_id')){
document.getElementById('${/parameter/@layout_code}_F_RATE_N_component_id')
.style.display =
'none'
;
document.getElementById('${/parameter/@layout_code}_F_RATE_N_component_id')
.style.display =
'none'
;
}
}
record.getField('hd_user_col_v06').setRequired(false);
record.getField('hd_user_col_v06_n').setRequired(false);
record.getField('asset_id').setRequired(false);
record.getField('asset_id_n').setRequired(false);
if($('PROJECT_WFL_NP_G_CASHFLOW_NS_prj_quotation_layout_grid_id')){
if($('PROJECT_WFL_NP_G_CASHFLOW_NS_prj_quotation_layout_grid_id')){
$('PROJECT_WFL_NP_G_CASHFLOW_NS_prj_quotation_layout_grid_id').hideColumn('btb_interest');
$('PROJECT_WFL_NP_G_CASHFLOW_NS_prj_quotation_layout_grid_id').hideColumn('btb_interest');
$('PROJECT_WFL_NP_G_CASHFLOW_NS_prj_quotation_layout_grid_id').hideColumn('btb_fee');
$('PROJECT_WFL_NP_G_CASHFLOW_NS_prj_quotation_layout_grid_id').hideColumn('btb_fee');
...
@@ -1179,6 +1211,12 @@
...
@@ -1179,6 +1211,12 @@
}
}
}else{
}else{
if
(check_empty(record.get('hd_user_col_v06'))||record.get('hd_user_col_v06')=='N'
)
{
if
(check_empty(record.get('hd_user_col_v06'))||record.get('hd_user_col_v06')=='N'
)
{
record.set('asset_id',
null);
record.set('asset_id_n',
null);
record.set('btb_int_rate',
'');
//record.set('int_rate_display',
'');
record.getField('asset_id').setRequired(false);
record.getField('asset_id_n').setRequired(false);
//隐藏组件
//隐藏组件
if(document.getElementById('${/parameter/@layout_code}_F_RATE_N_component_id')){
if(document.getElementById('${/parameter/@layout_code}_F_RATE_N_component_id')){
document.getElementById('${/parameter/@layout_code}_F_RATE_N_component_id')
.style.display =
'none'
;
document.getElementById('${/parameter/@layout_code}_F_RATE_N_component_id')
.style.display =
'none'
;
...
@@ -1192,6 +1230,8 @@
...
@@ -1192,6 +1230,8 @@
$('PROJECT_WFL_RE_G_CASHFLOW_NS_prj_quotation_layout_grid_id').hideColumn('btb_fee');
$('PROJECT_WFL_RE_G_CASHFLOW_NS_prj_quotation_layout_grid_id').hideColumn('btb_fee');
}
}
}else{
}else{
record.getField('asset_id').setRequired(true);
record.getField('asset_id_n').setRequired(true);
//显示组件
//显示组件
if(document.getElementById('${/parameter/@layout_code}_F_RATE_N_component_id')){
if(document.getElementById('${/parameter/@layout_code}_F_RATE_N_component_id')){
document.getElementById('${/parameter/@layout_code}_F_RATE_N_component_id')
.style.display =
'block'
;
document.getElementById('${/parameter/@layout_code}_F_RATE_N_component_id')
.style.display =
'block'
;
...
@@ -1364,7 +1404,12 @@
...
@@ -1364,7 +1404,12 @@
if
(
name =
=
'hd_user_col_v06')
{
if
(
name =
=
'hd_user_col_v06')
{
if('${/parameter/@asset_fee_flag}'=='Y'){
if('${/parameter/@asset_fee_flag}'=='Y'){
if
(
value=
=
'N'||Ext.isEmpty(value)||
value=
=''||typeof(value)
==
'undefined'||
value=
=null)
{
if
(
value=
=
'N'||Ext.isEmpty(value)||
value=
=''||typeof(value)
==
'undefined'||
value=
=null)
{
record.set('asset_id',
null);
record.set('asset_id_n',
null);
record.set('btb_int_rate',
'');
//record.set('int_rate_display',
'');
record.getField('asset_id').setRequired(false);
record.getField('asset_id_n').setRequired(false);
//隐藏组件
//隐藏组件
if(document.getElementById('${/parameter/@layout_code}_F_RATE_N_component_id')){
if(document.getElementById('${/parameter/@layout_code}_F_RATE_N_component_id')){
document.getElementById('${/parameter/@layout_code}_F_RATE_N_component_id')
.style.display =
'none'
;
document.getElementById('${/parameter/@layout_code}_F_RATE_N_component_id')
.style.display =
'none'
;
...
...
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