Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
SuperMan
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
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
罗超
SuperMan
Commits
0f56fbe8
Commit
0f56fbe8
authored
Sep 18, 2021
by
罗超
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
06d693cb
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
7 deletions
+10
-7
enrollTotal.vue
src/components/SalesModule/enrollTotal.vue
+10
-7
No files found.
src/components/SalesModule/enrollTotal.vue
View file @
0f56fbe8
...
...
@@ -1283,16 +1283,20 @@ export default {
},
});
},
// 结束日期不能
大
于开始日期
// 结束日期不能
小
于开始日期
dataDui
()
{
if
(
this
.
msg
.
CStartDate
>
this
.
msg
.
CEndDate
&&
this
.
msg
.
CEndDate
!==
""
)
{
this
.
$message
.
error
(
"结束日期不能
大
于开始日期"
);
this
.
$message
.
error
(
"结束日期不能
小
于开始日期"
);
this
.
msg
.
CEndDate
=
""
;
}
},
dataDuiQ
()
{
if
(
this
.
msg
.
QStartDate
>
this
.
msg
.
QEndDate
&&
this
.
msg
.
QEndDate
!==
""
)
{
this
.
$message
.
error
(
"结束日期不能大于开始日期"
);
if
(
new
Date
(
this
.
msg
.
QStartDate
).
getTime
()
>
new
Date
(
this
.
msg
.
QEndDate
).
getTime
()
&&
this
.
msg
.
QEndDate
!==
""
)
{
this
.
$message
.
error
(
"结束日期不能小于开始日期"
);
this
.
msg
.
QEndDate
=
""
;
}
},
...
...
@@ -1530,9 +1534,8 @@ export default {
this
.
msg
.
QEndDate
===
""
&&
!
this
.
msg
.
tempOrderId
)
{
let
nowDay
=
new
Date
().
toLocaleDateString
();
this
.
msg
.
QStartDate
=
nowDay
;
this
.
msg
.
QEndDate
=
nowDay
;
this
.
msg
.
QStartDate
=
new
Date
();
this
.
msg
.
QEndDate
=
new
Date
();
}
if
(
this
.
$route
.
query
.
orderId
)
{
this
.
msg
.
tempOrderId
=
this
.
$route
.
query
.
orderId
;
...
...
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