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
fb07369a
Commit
fb07369a
authored
Apr 08, 2024
by
38823
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
佣金政策(代理店)测试问题修复
parent
d614bfdb
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
bp_agent_bounty_detail.lview
...in/webapp/modules/hls/HLS303/bp_agent_bounty_detail.lview
+2
-2
No files found.
src/main/webapp/modules/hls/HLS303/bp_agent_bounty_detail.lview
View file @
fb07369a
...
@@ -127,7 +127,7 @@
...
@@ -127,7 +127,7 @@
if(
res.result.record.length =
=undefined){
if(
res.result.record.length =
=undefined){
var
resStartDate=
RetimestampToTime(Date.parse(res.result.record.calc_start_date));
var
resStartDate=
RetimestampToTime(Date.parse(res.result.record.calc_start_date));
var
resEndDate=
RetimestampToTime(Date.parse(res.result.record.calc_end_date));
var
resEndDate=
RetimestampToTime(Date.parse(res.result.record.calc_end_date));
if(
resStartDate<calcStartDate<resEndDate
||
resStartDate<calcEndDate<resEndDate
){
if(
(resStartDate<calcStartDate
&&
calcStartDate<resEndDate)
||
(resStartDate<calcEndDate
&&
calcEndDate<resEndDate)
){
$L.showErrorMessage('提示','该代理店项下存在重叠的政策时间,请先检查!');
$L.showErrorMessage('提示','该代理店项下存在重叠的政策时间,请先检查!');
return;
return;
}
}
...
@@ -135,7 +135,7 @@
...
@@ -135,7 +135,7 @@
for(var
i=
0;i<res.result.record.length;i++){
for(var
i=
0;i<res.result.record.length;i++){
var
resStartDate=
RetimestampToTime(Date.parse(res.result.record[i].calc_start_date));
var
resStartDate=
RetimestampToTime(Date.parse(res.result.record[i].calc_start_date));
var
resEndDate=
RetimestampToTime(Date.parse(res.result.record[i].calc_end_date));
var
resEndDate=
RetimestampToTime(Date.parse(res.result.record[i].calc_end_date));
if(
resStartDate<calcStartDate<resEndDate
||
resStartDate<calcEndDate<resEndDate
){
if(
(resStartDate<calcStartDate
&&
calcStartDate<resEndDate)
||
(resStartDate<calcEndDate
&&
calcEndDate<resEndDate)
){
$L.showErrorMessage('提示','该代理店项下存在重叠的政策时间,请先检查!');
$L.showErrorMessage('提示','该代理店项下存在重叠的政策时间,请先检查!');
return;
return;
}
}
...
...
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