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
b465c16a
Commit
b465c16a
authored
Jun 22, 2020
by
niminmin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[fix]合同查询超链接页面跳转修改
parent
b0a184fa
Pipeline
#6903
canceled with stages
Changes
3
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
30 additions
and
8 deletions
+30
-8
con_ccr_repo_modify_entrance.lview
...dules/cont/CON_REPO003/con_ccr_repo_modify_entrance.lview
+1
-1
hls_fin_calculator_n.lview
...ain/webapp/modules/hls/HLS500N/hls_fin_calculator_n.lview
+15
-4
hls_fin_calculator_update_n.lview
...app/modules/hls/HLS500N/hls_fin_calculator_update_n.lview
+14
-3
No files found.
src/main/webapp/modules/cont/CON_REPO003/con_ccr_repo_modify_entrance.lview
View file @
b465c16a
...
...
@@ -14,7 +14,7 @@
function open_contract_win(ds_id, record_id) {
var record = $(ds_id).findById(record_id);
var param = record.data;
param['function_code'] = 'CON3
01
';
param['function_code'] = 'CON3
200Q
';
param['function_usage'] = 'QUERY';
param['contract_id'] = record.get('normal_contract_id');
param['download'] = 'Y';
...
...
src/main/webapp/modules/hls/HLS500N/hls_fin_calculator_n.lview
View file @
b465c16a
...
...
@@ -65,12 +65,13 @@
}
function hls_hls500_save() {
debugger;
Leaf.Masker.mask(body, '${l:HLS.SAVING}');
if (!$('hls_fin_calculator_hd_ds').validate() || !$('hls_fin_calculator_ln_ds').validate()) {
Leaf.Masker.unmask(body);
return;
}
var H1;
var H1
,H159
;
var temp_head_records = $('hls_fin_calculator_hd_ds').getAll();
for (var i = 0;i < temp_head_records.length;i++) {
if (!$('temp_hd_attribute_ds').find('column_code', temp_head_records[i].get('column_code'))) {
...
...
@@ -79,12 +80,22 @@
if (temp_head_records[i].get('column_code') == 'H1') {
H1 = temp_head_records[i].get('column_value') || 0;
}
else if (temp_head_records[i].get('column_code') == 'H159') {
H159 = temp_head_records[i].get('column_value_c');
}
}
if(H1==1&&(H159=='HL_PRICR_NTEST'||H159=='HL_PRICR_TEST')){
Leaf.showMessage('${l:PROMPT}', '均等还款期数应大于1期');
Leaf.Masker.unmask(body);
return false;
}
// if(H1<2){
// alert(1111);
// Leaf.showMessage('${l:PROMPT}', '系统暂时不支持还款期数小于2期的租金计划');
// Leaf.Masker.unmask(body);
// return false;
// }
if(H1
<2
){
Leaf.showMessage('${l:PROMPT}', '
系统暂时不支持还款期数小于2期的租金计划
');
if(H1
>
51
){
Leaf.showMessage('${l:PROMPT}', '
还款期数应小于51期
');
Leaf.Masker.unmask(body);
return false;
}
...
...
src/main/webapp/modules/hls/HLS500N/hls_fin_calculator_update_n.lview
View file @
b465c16a
...
...
@@ -1458,7 +1458,7 @@ debugger;
function hls_hls500_save_new(nextStep, source_procedure) {
var temp_head_records = $('hls_fin_calculator_hd_ds').getAll();
var H1,H54;
var H1,H54
,H159
;
for (var i = 0; i
< temp_head_records.length
;
i++)
{
if
(temp_head_records[i].get('column_code')
==
'H1')
{
H1 =
temp_head_records[i].get('column_value')
||
0;
...
...
@@ -1467,15 +1467,26 @@ debugger;
H54 =
temp_head_records[i].get('column_value')
||
0;
H54=
minus(H54,4.75);
}
else
if
(temp_head_records[i].get('column_code')
==
'H159')
{
H159 =
temp_head_records[i].get('column_value_c');
}
}
if(H1<2){
Leaf.showMessage('${l:PROMPT}',
'系统暂时不支持还款期数小于2期的租金计划');
//
if(H1<2){
//
Leaf.showMessage('${l:PROMPT}',
'系统暂时不支持还款期数小于2期的租金计划');
//
return
false;
//
}
if(H1
>
51){
Leaf.showMessage('${l:PROMPT}', '还款期数应小于51期');
return false;
}
if(H54
<0
){
Leaf.showMessage('${l:PROMPT}',
'利率最低值不能低于4.75');
return
false;
}
if(
H1=
=1&&(H159=='HL_PRICR_NTEST'||H159=='HL_PRICR_TEST')){
Leaf.showMessage('${l:PROMPT}',
'均等还款期数应大于1期');
return
false;
}
lock_calc_current_window('${l:HLS.CALCULATING}');
if
(!$('hls_fin_calculator_hd_ds').validate()
||
!$('hls_fin_calculator_ln_ds').validate())
{
...
...
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