Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
F
fns_backend
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Zhang Xiaojie
fns_backend
Commits
d033ee93
Commit
d033ee93
authored
Oct 19, 2021
by
lshan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改
parent
8cbcee2a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
3 deletions
+11
-3
index.vue
src/views/Root/OutletManagement/index.vue
+9
-2
index.vue
src/views/Root/index.vue
+2
-1
No files found.
src/views/Root/OutletManagement/index.vue
View file @
d033ee93
...
@@ -772,10 +772,15 @@ export default Vue.extend({
...
@@ -772,10 +772,15 @@ export default Vue.extend({
this
.
formData
.
openDays
.
push
(
"7"
);
this
.
formData
.
openDays
.
push
(
"7"
);
}
}
const
arr2
=
transfterStrToDate
(
record
.
opening_hours
);
const
arr2
=
transfterStrToDate
(
record
.
opening_hours
);
console
.
log
(
arr2
,
'arr2'
);
if
(
arr2
?.
length
===
2
)
{
if
(
arr2
?.
length
===
2
)
{
const
[
startDate
,
endDate
]
=
arr2
;
const
[
startDate
,
endDate
]
=
arr2
;
this
.
formData
.
startTime
=
moment
(
startDate
);
this
.
formData
.
startTime
=
moment
(
startDate
,
"HH:mm"
)
this
.
formData
.
endTime
=
moment
(
endDate
);
this
.
formData
.
endTime
=
moment
(
endDate
,
"HH:mm"
);
console
.
log
(
this
.
formData
.
startTime
,
'this.formData.startTime'
);
console
.
log
(
startDate
,
'is'
);
}
}
const
ret
=
await
AddressService
.
getInstance
().
note
(
record
.
id
);
const
ret
=
await
AddressService
.
getInstance
().
note
(
record
.
id
);
if
(
ret
.
code
===
200
)
{
if
(
ret
.
code
===
200
)
{
...
@@ -1046,6 +1051,8 @@ export default Vue.extend({
...
@@ -1046,6 +1051,8 @@ export default Vue.extend({
clickAddOutlet
()
{
clickAddOutlet
()
{
this
.
formData
.
startTime
=
moment
(
"00:00"
,
"HH:mm"
);
this
.
formData
.
startTime
=
moment
(
"00:00"
,
"HH:mm"
);
this
.
formData
.
endTime
=
moment
(
"23:00"
,
"HH:mm"
);
this
.
formData
.
endTime
=
moment
(
"23:00"
,
"HH:mm"
);
console
.
log
(
this
.
formData
.
startTime
,
'this.formData.startTime'
);
(
this
.
$refs
.
headerselect3
as
any
)?.
init
();
(
this
.
$refs
.
headerselect3
as
any
)?.
init
();
this
.
visible
=
true
;
this
.
visible
=
true
;
this
.
modalType
=
eModalType
.
create
;
this
.
modalType
=
eModalType
.
create
;
...
...
src/views/Root/index.vue
View file @
d033ee93
...
@@ -228,6 +228,6 @@ export default Vue.extend({
...
@@ -228,6 +228,6 @@ export default Vue.extend({
background: #fff;
background: #fff;
}
}
.hover:hover{
.hover:hover{
color: #43
c46e
;
color: #43
45c4
;
}
}
</
style
>
</
style
>
\ No newline at end of file
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