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
c9277772
Commit
c9277772
authored
Aug 05, 2019
by
华国豪
🙄
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://gitlab.oytour.com/luochao/superman
parents
076536ab
ef141874
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
31 additions
and
12 deletions
+31
-12
leaderPerformance.vue
src/components/LeaderManagement/leaderPerformance.vue
+6
-2
leaderReimbursement.vue
src/components/LeaderManagement/leaderReimbursement.vue
+7
-4
bookDinnerStatisticsDetails.vue
src/components/Restaurant/bookDinnerStatisticsDetails.vue
+10
-4
admissionStatisticsDetails.vue
src/components/scenicSpot/admissionStatisticsDetails.vue
+8
-2
No files found.
src/components/LeaderManagement/leaderPerformance.vue
View file @
c9277772
...
@@ -326,6 +326,7 @@
...
@@ -326,6 +326,7 @@
<el-option
label=
"年榜"
:value=
'3'
></el-option>
<el-option
label=
"年榜"
:value=
'3'
></el-option>
<el-option
label=
"总榜"
:value=
'1'
></el-option>
<el-option
label=
"总榜"
:value=
'1'
></el-option>
<el-option
label=
"人均"
:value=
'4'
></el-option>
<el-option
label=
"人均"
:value=
'4'
></el-option>
<el-option
label=
"回佣人均"
:value=
'5'
></el-option>
</el-option>
</el-option>
</el-select>
</el-select>
</span>
</span>
...
@@ -364,6 +365,10 @@
...
@@ -364,6 +365,10 @@
人均
人均
<i></i>
<i></i>
</li>
</li>
<li
:class=
"msg.Type==5?'Day_active':''"
@
click=
"msg.Type=5,getStatis()"
>
回佣人均
<i></i>
</li>
</ul>
</ul>
<div
class=
"ChampionsLeague clearfix"
>
<div
class=
"ChampionsLeague clearfix"
>
<div
class=
"championList"
v-for=
"item in yajun"
:key=
"item.subCode"
>
<div
class=
"championList"
v-for=
"item in yajun"
:key=
"item.subCode"
>
...
@@ -490,7 +495,7 @@
...
@@ -490,7 +495,7 @@
QMonthStr
:
this
.
msg
.
MonthStr
,
QMonthStr
:
this
.
msg
.
MonthStr
,
ShoppingID
:
this
.
msg
.
ShoppingID
ShoppingID
:
this
.
msg
.
ShoppingID
};
};
if
(
msg
.
Type
==
4
)
if
(
msg
.
Type
==
4
||
msg
.
Type
==
5
)
{
{
msg
.
QMonthStr
=
this
.
msg
.
Year
+
","
+
this
.
msg
.
Month
;
msg
.
QMonthStr
=
this
.
msg
.
Year
+
","
+
this
.
msg
.
Month
;
}
}
...
@@ -516,7 +521,6 @@
...
@@ -516,7 +521,6 @@
err
=>
{}
err
=>
{}
);
);
},
},
//获取工作类型(值获取领兼地和导游)
//获取工作类型(值获取领兼地和导游)
getWorkType
()
{
getWorkType
()
{
this
.
apipost
(
this
.
apipost
(
...
...
src/components/LeaderManagement/leaderReimbursement.vue
View file @
c9277772
...
@@ -125,7 +125,7 @@
...
@@ -125,7 +125,7 @@
</tr>
</tr>
<tr
v-if=
"TotalNav.reimburseTotalPrice"
>
<tr
v-if=
"TotalNav.reimburseTotalPrice"
>
<td>
总金额
</td>
<td>
总金额
</td>
<td
colspan=
"1
5
"
>
<td
colspan=
"1
6
"
>
<span
v-for=
"item in TotalNav.busPrice"
>
{{
item
.
Str
+
':'
+
item
.
TotalPrice
}}
</span>
<span
v-for=
"item in TotalNav.busPrice"
>
{{
item
.
Str
+
':'
+
item
.
TotalPrice
}}
</span>
</td>
</td>
</tr>
</tr>
...
@@ -222,7 +222,8 @@
...
@@ -222,7 +222,8 @@
<td
style=
"white-space:nowrap; "
>
<td
style=
"white-space:nowrap; "
>
<p
class=
"cursorpointer text-decoration"
<p
class=
"cursorpointer text-decoration"
@
click=
"goHotelDetail(subItem.TCID, subItem.NewCombinationNum, subItem.TCNUM, 'roomReservationsDetails')"
>
@
click=
"goHotelDetail(subItem.TCID, subItem.NewCombinationNum, subItem.TCNUM, 'roomReservationsDetails')"
>
{{subItem.PayStyle === 1 ? moneyFormat(childItem.UnitPrice) : 0}}
<!-- {{subItem.PayStyle === 1 ? moneyFormat(childItem.UnitPrice) : 0}} -->
{{moneyFormat(childItem.UnitPrice)}}
</p>
</p>
</td>
</td>
<td
style=
"white-space:nowrap; "
>
<td
style=
"white-space:nowrap; "
>
...
@@ -375,7 +376,8 @@
...
@@ -375,7 +376,8 @@
<td>
<td>
<p
class=
"cursorpointer text-decoration"
<p
class=
"cursorpointer text-decoration"
@
click=
"goHotelDetail(subItem.TCID, subItem.NewCombinationNum, subItem.TCNUM, 'bookDinnerStatisticsDetails')"
>
@
click=
"goHotelDetail(subItem.TCID, subItem.NewCombinationNum, subItem.TCNUM, 'bookDinnerStatisticsDetails')"
>
{{
subItem
.
PayStyle
===
1
?
moneyFormat
(
childItem
.
PeoplePrice
)
:
0
}}
{{
moneyFormat
(
childItem
.
PeoplePrice
)
}}
<!--
{{
subItem
.
PayStyle
===
1
?
moneyFormat
(
childItem
.
PeoplePrice
)
:
0
}}
-->
</p>
</p>
</td>
</td>
<td>
<td>
...
@@ -447,7 +449,8 @@
...
@@ -447,7 +449,8 @@
<td>
<td>
<p
class=
"cursorpointer text-decoration"
<p
class=
"cursorpointer text-decoration"
@
click=
"goHotelDetail(subItem.TCID, subItem.NewCombinationNum, subItem.TCNUM, 'admissionStatisticsDetails')"
>
@
click=
"goHotelDetail(subItem.TCID, subItem.NewCombinationNum, subItem.TCNUM, 'admissionStatisticsDetails')"
>
{{
subItem
.
PayStyle
===
1
?
moneyFormat
(
childItem
.
PeoplePrice
)
:
0
}}
<!--
{{
subItem
.
PayStyle
===
1
?
moneyFormat
(
childItem
.
PeoplePrice
)
:
0
}}
-->
{{
moneyFormat
(
childItem
.
PeoplePrice
)
}}
</p>
</p>
</td>
</td>
<td>
<td>
...
...
src/components/Restaurant/bookDinnerStatisticsDetails.vue
View file @
c9277772
...
@@ -4,12 +4,13 @@
...
@@ -4,12 +4,13 @@
<ul>
<ul>
<li>
<li>
<template
v-if=
"IsOperation != 1"
>
<template
v-if=
"IsOperation != 1"
>
<input
type=
"button"
class=
"fr normalBtn mb30"
value=
"保存"
@
click=
"saveList(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)"
/>
<input
type=
"button"
class=
"fr normalBtn mb30"
value=
"保存草稿"
@
click=
"saveList(0)"
:disabled=
"IsDisabled"
/>
</
template
>
</
template
>
<
template
v-else
>
<
template
v-else
>
<span
style=
"color:red;font-size:14px;"
>
已制单,不能在修改!
</span>
<span
style=
"color:red;font-size:14px;"
>
已制单,不能在修改!
</span>
<input
v-if=
"CurrentUserInfo.EmployeeId==615"
type=
"button"
class=
"fr normalBtn mb30"
value=
"保存"
@
click=
"saveList(1)"
/>
<input
v-if=
"CurrentUserInfo.EmployeeId==615"
type=
"button"
class=
"fr normalBtn mb30"
value=
"保存"
@
click=
"saveList(1)"
/>
</
template
>
</
template
>
</li>
</li>
</ul>
</ul>
...
@@ -193,7 +194,9 @@
...
@@ -193,7 +194,9 @@
loading
:
false
,
loading
:
false
,
IsOperation
:
''
,
IsOperation
:
''
,
//当前登录人信息
//当前登录人信息
CurrentUserInfo
:{},
CurrentUserInfo
:
{},
//是否禁用按钮
IsDisabled
:
false
,
};
};
},
},
methods
:
{
methods
:
{
...
@@ -281,6 +284,7 @@
...
@@ -281,6 +284,7 @@
obj
.
TotalPrice
=
totalPrice
.
toFixed
(
2
);
obj
.
TotalPrice
=
totalPrice
.
toFixed
(
2
);
},
},
saveList
(
type
)
{
saveList
(
type
)
{
this
.
IsDisabled
=
true
;
if
(
type
==
0
)
{
if
(
type
==
0
)
{
this
.
list
.
forEach
(
item
=>
{
this
.
list
.
forEach
(
item
=>
{
item
.
DiningSummaryList
.
forEach
(
insideItem
=>
{
item
.
DiningSummaryList
.
forEach
(
insideItem
=>
{
...
@@ -313,7 +317,9 @@
...
@@ -313,7 +317,9 @@
if
(
res
.
data
.
resultCode
==
1
)
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
$message
.
success
(
res
.
data
.
message
);
this
.
$message
.
success
(
res
.
data
.
message
);
this
.
getList
();
this
.
getList
();
this
.
IsDisabled
=
false
;
}
else
{
}
else
{
this
.
IsDisabled
=
false
;
this
.
$message
.
error
(
res
.
data
.
message
);
this
.
$message
.
error
(
res
.
data
.
message
);
}
}
},
err
=>
{})
},
err
=>
{})
...
...
src/components/scenicSpot/admissionStatisticsDetails.vue
View file @
c9277772
...
@@ -4,8 +4,8 @@
...
@@ -4,8 +4,8 @@
<ul>
<ul>
<li>
<li>
<template
v-if=
"IsOperation !=1"
>
<template
v-if=
"IsOperation !=1"
>
<input
type=
"button"
class=
"fr normalBtn mb30"
value=
"保存"
@
click=
"saveList(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)"
/>
<input
type=
"button"
class=
"fr normalBtn mb30"
value=
"保存草稿"
@
click=
"saveList(0)"
:disabled=
"IsDisabled"
/>
</
template
>
</
template
>
<
template
v-else
>
<
template
v-else
>
<span
style=
"color:red;font-size:14px;"
>
已制单,不能在修改!
</span>
<span
style=
"color:red;font-size:14px;"
>
已制单,不能在修改!
</span>
...
@@ -161,6 +161,8 @@
...
@@ -161,6 +161,8 @@
IsOperation
:
''
,
IsOperation
:
''
,
//当前登录人信息
//当前登录人信息
CurrentUserInfo
:{},
CurrentUserInfo
:{},
//是否禁用按钮
IsDisabled
:
false
,
}
}
},
},
methods
:
{
methods
:
{
...
@@ -213,6 +215,7 @@
...
@@ -213,6 +215,7 @@
},
err
=>
{})
},
err
=>
{})
},
},
saveList
(
type
)
{
saveList
(
type
)
{
this
.
IsDisabled
=
true
;
if
(
type
==
0
)
{
if
(
type
==
0
)
{
this
.
DataList
.
forEach
(
item
=>
{
this
.
DataList
.
forEach
(
item
=>
{
item
.
ScenicStatisticsList
.
forEach
(
insideItem
=>
{
item
.
ScenicStatisticsList
.
forEach
(
insideItem
=>
{
...
@@ -247,10 +250,13 @@
...
@@ -247,10 +250,13 @@
if
(
res
.
data
.
resultCode
==
1
)
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
$message
.
success
(
res
.
data
.
message
);
this
.
$message
.
success
(
res
.
data
.
message
);
this
.
getList
();
this
.
getList
();
this
.
IsDisabled
=
false
;
}
else
{
}
else
{
this
.
IsDisabled
=
false
;
this
.
$message
.
error
(
res
.
data
.
message
);
this
.
$message
.
error
(
res
.
data
.
message
);
}
}
},
err
=>
{})
},
err
=>
{})
},
},
},
},
mounted
()
{
mounted
()
{
...
...
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