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
d486eb06
Commit
d486eb06
authored
Mar 26, 2024
by
38823
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
代理店(佣金政策开发)测试问题修复
parent
2b05420d
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
2 deletions
+14
-2
bp_agent_bounty_detail.lview
...in/webapp/modules/hls/HLS303/bp_agent_bounty_detail.lview
+14
-2
No files found.
src/main/webapp/modules/hls/HLS303/bp_agent_bounty_detail.lview
View file @
d486eb06
...
@@ -54,10 +54,22 @@
...
@@ -54,10 +54,22 @@
}
}
}
}
}
}
if(name == 'finance_amount_from'){
if(result_record.length>1){
var amountTo=result_record[i].get('finance_amount_to');
if(i+1
<result_record.length
&&
result_record[i+1].data.finance_amount_from
!=undefined){
var
amountFrom=
result_record[i+1].get('finance_amount_from');
if(amountTo
>
amountFrom){
$L.showMessage('提示','当前佣金政策的融资额范围存在重叠/空缺,请先修改!');
return;
}
}
}
}
if(name == 'comsn_rate'){
if(name == 'comsn_rate'){
if(result_record[i].get('comsn_rate') == 0){
if(result_record[i].get('comsn_rate') == 0){
$L.showMessage('提示','佣金比例不能为0!');
$L.showMessage('提示','佣金比例不能为0!');
return;
;
return;
}
}
}
}
}
}
...
@@ -161,7 +173,7 @@
...
@@ -161,7 +173,7 @@
if(
record.isNew=
=true
&&
record.get('wfl_status')
!='APPROVING'
&&
record.get('policy_name')
==
undefined){
if(
record.isNew=
=true
&&
record.get('wfl_status')
!='APPROVING'
&&
record.get('policy_name')
==
undefined){
var
calcStartDate =
timestampToTime(Date.parse(record.get('calc_start_date')));
var
calcStartDate =
timestampToTime(Date.parse(record.get('calc_start_date')));
var
calcEndDate =
timestampToTime(Date.parse(record.get('calc_end_date')));
var
calcEndDate =
timestampToTime(Date.parse(record.get('calc_end_date')));
record.set('policy_name','${/parameter/@extra_nam}'+'-'+division
+'
'
+calcStartDate+'-'+calcEndDate);
record.set('policy_name','${/parameter/@extra_nam}'+'-'+division+calcStartDate+'-'+calcEndDate);
return
check_flag;
return
check_flag;
}
}
}
}
...
...
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