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
2e3ce2ba
Commit
2e3ce2ba
authored
Sep 17, 2019
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
页面修改
parent
ee2f4965
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
19 additions
and
7 deletions
+19
-7
bookDinnerStatisticsDetails.vue
src/components/Restaurant/bookDinnerStatisticsDetails.vue
+14
-2
dmcTotalTable.vue
src/components/dmc/manager/dmcTotalTable.vue
+5
-5
No files found.
src/components/Restaurant/bookDinnerStatisticsDetails.vue
View file @
2e3ce2ba
...
...
@@ -4,8 +4,8 @@
<ul>
<li>
<template
v-if=
"IsOperation != 1"
>
<input
type=
"button"
class=
"fr normalBtn mb30"
value=
"保存"
@
click=
"saveList(1)"
:disabled=
"IsDisabled"
/>
<input
type=
"button"
class=
"fr normalBtn mb30"
value=
"保存草稿"
@
click=
"saveList(0)"
:disabled=
"IsDisabled"
/>
<input
v-if=
"IsEditDinner==1"
type=
"button"
class=
"fr normalBtn mb30"
value=
"保存"
@
click=
"saveList(1)"
:disabled=
"IsDisabled"
/>
<input
v-if=
"IsEditDinner==0"
type=
"button"
class=
"fr normalBtn mb30"
value=
"保存草稿"
@
click=
"saveList(0)"
:disabled=
"IsDisabled"
/>
</
template
>
<
template
v-else
>
<span
style=
"color:red;font-size:14px;"
>
已制单,不能在修改!
</span>
...
...
@@ -229,6 +229,7 @@
export
default
{
data
()
{
return
{
IsEditDinner
:
0
,
//1有权限操作餐配
defaultSelectValue
:
0
,
list
:
[],
roomList
:
[],
...
...
@@ -460,8 +461,19 @@
}
})
},
GetAuth
()
{
this
.
apipost
(
'dmcstatistics_get_GetGetDmcTotalTablePageAuth'
,
{},
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
//this.IsDMCIsOpenHotel = res.data.data.IsDMCIsOpenHotel;
this
.
IsEditDinner
=
res
.
data
.
data
.
IsEditDinner
;
}
else
{
this
.
$message
.
error
(
res
.
data
.
message
);
}
},
err
=>
{})
}
},
mounted
()
{
this
.
GetAuth
();
let
userInfo
=
this
.
getLocalStorage
();
this
.
CurrentUserInfo
=
userInfo
;
this
.
TCNUM
=
this
.
$route
.
query
.
TCNUM
;
...
...
src/components/dmc/manager/dmcTotalTable.vue
View file @
2e3ce2ba
...
...
@@ -670,7 +670,7 @@
},
methods
:
{
goDinnerUrl
(
obj
,
outItem
)
{
if
(
this
.
IsEditDinner
==
1
)
{
//
if (this.IsEditDinner == 1) {
this
.
$router
.
push
({
name
:
'bookDinnerStatisticsDetails'
,
query
:
{
...
...
@@ -686,10 +686,10 @@
blank
:
'y'
,
tab
:
"餐厅详情"
}
})
}
else
{
this
.
Error
(
"请联系地接部操作!"
);
}
})
//
} else {
//
this.Error("请联系地接部操作!");
//
}
},
getLeaderTypeStr
:
function
(
clas
)
{
if
(
clas
==
1
)
{
...
...
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