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
1ea0d2e9
Commit
1ea0d2e9
authored
Dec 19, 2019
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
景点页面修改
parent
78cdb044
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
30 additions
and
20 deletions
+30
-20
admissionStatisticsDetails.vue
src/components/scenicSpot/admissionStatisticsDetails.vue
+30
-20
No files found.
src/components/scenicSpot/admissionStatisticsDetails.vue
View file @
1ea0d2e9
...
@@ -9,7 +9,8 @@
...
@@ -9,7 +9,8 @@
</
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>
...
@@ -49,7 +50,9 @@
...
@@ -49,7 +50,9 @@
<table
class=
"scenicTable"
>
<table
class=
"scenicTable"
>
<tr>
<tr>
<td
colspan=
"2"
style=
"text-align:left;padding-left:8px;"
>
<td
colspan=
"2"
style=
"text-align:left;padding-left:8px;"
>
{{
subItem
.
ScenicName
}}
<span
class=
"spanlink"
@
click=
"goUrl('ticketManagement',subItem,'门票管理')"
>
{{
subItem
.
ScenicName
}}
</span>
</td>
</td>
</tr>
</tr>
<tr>
<tr>
...
@@ -88,24 +91,31 @@
...
@@ -88,24 +91,31 @@
@
input=
'calculationPrice(subItem)'
@
keyup
.
native=
"checkInteger(childItem,'Discount')"
></el-input>
@
input=
'calculationPrice(subItem)'
@
keyup
.
native=
"checkInteger(childItem,'Discount')"
></el-input>
</td>
</td>
<td>
<td>
<span
class=
"spanlink"
v-if=
'childItem.PeoplePrice==0'
<template
v-if=
"CurrentUserInfo.EmployeeId==615"
>
@
click=
"goUrl('ticketManagement',subItem,'门票管理')"
>
设置
</span>
<el-input
class=
'w135'
v-model=
'childItem.PeoplePrice'
<span
v-else
>
@
keyup
.
native=
"checkPrice(childItem,'PeoplePrice')"
type=
"text"
></el-input>
<template
v-if=
"CurrentUserInfo.EmployeeId==615"
>
</
template
>
<el-input
class=
'w135'
v-model=
'childItem.PeoplePrice'
@
keyup
.
native=
"checkPrice(childItem,'PeoplePrice')"
type=
"text"
></el-input>
<
template
v-else
>
</
template
>
<span
class=
"spanlink"
v-if=
'childItem.PeoplePrice==0'
<
template
v-else
>
@
click=
"goUrl('ticketManagement',subItem,'门票管理')"
>
设置
</span>
{{
childItem
.
PeoplePrice
}}
<span
v-else
>
</
template
>
{{
childItem
.
PeoplePrice
}}
</span>
</span>
</
template
>
</td>
</td>
<td>
<td>
{{(childItem.UsePeopleNum-childItem.Discount)*childItem.PeoplePrice}}
{{(childItem.UsePeopleNum-childItem.Discount)*childItem.PeoplePrice}}
</td>
</td>
<td>
<td>
<span
class=
"spanlink"
v-if=
'childItem.DiscountPrice==0'
<
template
v-if=
"CurrentUserInfo.EmployeeId==615"
>
@
click=
"goUrl('scenicSpotInfoManage',subItem,'景区列表')"
>
设置
</span>
<el-input
class=
'w135'
v-model=
'childItem.DiscountPrice'
<span
v-if=
'childItem.DiscountPrice!=0'
>
{{childItem.DiscountPrice}}%
</span>
@
keyup
.
native=
"checkPrice(childItem,'DiscountPrice')"
type=
"text"
></el-input>
</
template
>
<
template
v-else
>
<span
class=
"spanlink"
v-if=
'childItem.DiscountPrice==0'
@
click=
"goUrl('scenicSpotInfoManage',subItem,'景区列表')"
>
设置
</span>
<span
v-if=
'childItem.DiscountPrice!=0'
>
{{
childItem
.
DiscountPrice
}}
%
</span>
</
template
>
</td>
</td>
<td
v-if=
"childIndex==0"
:rowspan=
"3"
>
<td
v-if=
"childIndex==0"
:rowspan=
"3"
>
{{subItem.TotalPrice}}
{{subItem.TotalPrice}}
...
@@ -160,9 +170,9 @@
...
@@ -160,9 +170,9 @@
loading
:
false
,
loading
:
false
,
IsOperation
:
''
,
IsOperation
:
''
,
//当前登录人信息
//当前登录人信息
CurrentUserInfo
:{},
CurrentUserInfo
:
{},
//是否禁用按钮
//是否禁用按钮
IsDisabled
:
false
,
IsDisabled
:
false
,
}
}
},
},
methods
:
{
methods
:
{
...
@@ -215,7 +225,7 @@
...
@@ -215,7 +225,7 @@
},
err
=>
{})
},
err
=>
{})
},
},
saveList
(
type
)
{
saveList
(
type
)
{
this
.
IsDisabled
=
true
;
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
=>
{
...
@@ -250,9 +260,9 @@
...
@@ -250,9 +260,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
;
this
.
IsDisabled
=
false
;
}
else
{
}
else
{
this
.
IsDisabled
=
false
;
this
.
IsDisabled
=
false
;
this
.
$message
.
error
(
res
.
data
.
message
);
this
.
$message
.
error
(
res
.
data
.
message
);
}
}
},
err
=>
{})
},
err
=>
{})
...
...
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