Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
CRM
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
华国豪
CRM
Commits
b692d6ef
Commit
b692d6ef
authored
Apr 29, 2022
by
罗超
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no message
parent
aec43193
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
22 additions
and
10 deletions
+22
-10
customerOrder.vue
src/components/customerManage/customerOrder.vue
+12
-0
router.js
src/router.js
+10
-10
No files found.
src/components/customerManage/customerOrder.vue
View file @
b692d6ef
...
@@ -245,6 +245,18 @@
...
@@ -245,6 +245,18 @@
}
}
},
},
mounted
()
{
mounted
()
{
var
date
=
new
Date
();
var
today
=
date
.
getDate
();
if
(
parseInt
(
today
)
<
10
){
today
=
'0'
+
today
;
}
var
dataMonth
=
date
.
getMonth
()
+
1
;
if
(
parseInt
(
dataMonth
)
<
10
){
dataMonth
=
'0'
+
dataMonth
;
}
var
newdate
=
date
.
getFullYear
()
+
'-'
+
dataMonth
+
'-'
+
today
+
' '
+
'00:00:00'
;
var
lastDate
=
date
.
getFullYear
()
+
'-'
+
dataMonth
+
'-'
+
today
+
' '
+
'23:59:59'
;
this
.
timeList
=
[
newdate
,
lastDate
]
// erp自动登陆传过来的参数
// erp自动登陆传过来的参数
if
(
this
.
$route
.
query
.
erpOrderObj
){
if
(
this
.
$route
.
query
.
erpOrderObj
){
let
data
=
JSON
.
parse
(
this
.
$route
.
query
.
erpOrderObj
)
let
data
=
JSON
.
parse
(
this
.
$route
.
query
.
erpOrderObj
)
...
...
src/router.js
View file @
b692d6ef
...
@@ -43,6 +43,16 @@ export default new Router({
...
@@ -43,6 +43,16 @@ export default new Router({
content
:
"IE=Edge,chrome=1"
content
:
"IE=Edge,chrome=1"
}
}
},
},
{
path
:
"/"
,
name
:
"automaticLogin"
,
component
:
automaticLogin
,
meta
:
{
title
:
"欢迎使用CRM系统-请登录使用"
,
"http-equiv"
:
"X-UA-Compatible"
,
content
:
"IE=Edge,chrome=1"
}
},
{
{
path
:
"/index"
,
path
:
"/index"
,
name
:
"index"
,
name
:
"index"
,
...
@@ -439,16 +449,6 @@ export default new Router({
...
@@ -439,16 +449,6 @@ export default new Router({
}
}
]
]
},
},
{
path
:
"/"
,
name
:
"automaticLogin"
,
component
:
automaticLogin
,
meta
:
{
title
:
"欢迎使用CRM系统-请登录使用"
,
"http-equiv"
:
"X-UA-Compatible"
,
content
:
"IE=Edge,chrome=1"
}
},
{
{
path
:
'/table'
,
path
:
'/table'
,
name
:
'table'
,
name
:
'table'
,
...
...
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