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
dd2ff9f6
Commit
dd2ff9f6
authored
May 27, 2021
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
页面修改
parent
27c7066e
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
489 additions
and
802 deletions
+489
-802
domesticTicketManagement.vue
src/components/scenicSpot/domesticTicketManagement.vue
+489
-802
No files found.
src/components/scenicSpot/domesticTicketManagement.vue
View file @
dd2ff9f6
<
style
>
<
style
>
.domesticticketManagement
.singeRowTable
tr
:nth-child
(
n
+
2
)
:hover
{
.domesticticketManagement
.singeRowTable
tr
:nth-child
(
n
+
2
)
:hover
{
background-color
:
white
;
background-color
:
white
;
box-shadow
:
0px
0px
14px
0px
#adadad
;
box-shadow
:
0px
0px
14px
0px
#adadad
;
z-index
:
10
;
z-index
:
10
;
position
:
relative
;
position
:
relative
;
}
}
.domesticticketManagement
.DaysInfo
span
{
.domesticticketManagement
.DaysInfo
span
{
display
:
inline-block
;
display
:
inline-block
;
background-color
:
#2aaef2
;
background-color
:
#2aaef2
;
color
:
white
;
color
:
white
;
...
@@ -14,58 +14,58 @@
...
@@ -14,58 +14,58 @@
padding
:
0
10px
;
padding
:
0
10px
;
height
:
30px
;
height
:
30px
;
line-height
:
30px
;
line-height
:
30px
;
}
}
.domesticticketManagement
.DaysInfo
span
i
{
.domesticticketManagement
.DaysInfo
span
i
{
margin-right
:
10px
;
margin-right
:
10px
;
}
}
.domesticticketManagement
.singeRowTable
tr
:nth-child
(
n
+
2
)
{
.domesticticketManagement
.singeRowTable
tr
:nth-child
(
n
+
2
)
{
height
:
80px
;
height
:
80px
;
text-align
:
center
;
text-align
:
center
;
}
}
.domesticticketManagement
.detailsIT
.singeRowTable
tr
:nth-child
(
n
+
2
)
:hover
{
.domesticticketManagement
.detailsIT
.singeRowTable
tr
:nth-child
(
n
+
2
)
:hover
{
background-color
:
white
;
background-color
:
white
;
box-shadow
:
0px
0px
14px
0px
#adadad
;
box-shadow
:
0px
0px
14px
0px
#adadad
;
z-index
:
10
;
z-index
:
10
;
position
:
relative
;
position
:
relative
;
}
}
.domesticticketManagement
.Ldata
{
.domesticticketManagement
.Ldata
{
color
:
#333333
;
color
:
#333333
;
margin-top
:
5px
;
margin-top
:
5px
;
}
}
.domesticticketManagement
.LP
{
.domesticticketManagement
.LP
{
color
:
#e95252
;
color
:
#e95252
;
}
}
.domesticticketManagement
.HP
{
.domesticticketManagement
.HP
{
color
:
#2aaef2
;
color
:
#2aaef2
;
text-align
:
left
;
text-align
:
left
;
font-size
:
14px
;
font-size
:
14px
;
font-weight
:
bold
;
font-weight
:
bold
;
padding-left
:
5px
;
padding-left
:
5px
;
display
:
inline-block
;
display
:
inline-block
;
}
}
.domesticticketManagement
.T1
{
.domesticticketManagement
.T1
{
text-align
:
right
;
text-align
:
right
;
color
:
#666666
;
color
:
#666666
;
display
:
inline-block
;
display
:
inline-block
;
}
}
.domesticticketManagement
.T2
{
.domesticticketManagement
.T2
{
text-align
:
left
;
text-align
:
left
;
color
:
#e95252
;
color
:
#e95252
;
font-size
:
14px
;
font-size
:
14px
;
font-weight
:
bold
;
font-weight
:
bold
;
padding-left
:
5px
;
padding-left
:
5px
;
display
:
inline-block
;
display
:
inline-block
;
}
}
.domesticticketManagement
.descripTion
{
.domesticticketManagement
.descripTion
{
border-radius
:
4px
;
border-radius
:
4px
;
width
:
266px
;
width
:
266px
;
text-align
:
left
;
text-align
:
left
;
...
@@ -77,13 +77,13 @@
...
@@ -77,13 +77,13 @@
-webkit-box-orient
:
vertical
;
-webkit-box-orient
:
vertical
;
/* autoprefixer: on */
/* autoprefixer: on */
-webkit-line-clamp
:
2
;
-webkit-line-clamp
:
2
;
}
}
.domesticticketManagement
.singeRowTable
tr
:nth-child
(
n
+
2
)
:hover
.descripTion
{
.domesticticketManagement
.singeRowTable
tr
:nth-child
(
n
+
2
)
:hover
.descripTion
{
background-color
:
#ededed
;
background-color
:
#ededed
;
}
}
.domesticticketManagement
.roomName
{
.domesticticketManagement
.roomName
{
display
:
inline-block
;
display
:
inline-block
;
width
:
200px
;
width
:
200px
;
overflow
:
hidden
;
overflow
:
hidden
;
...
@@ -91,18 +91,20 @@
...
@@ -91,18 +91,20 @@
white-space
:
nowrap
;
white-space
:
nowrap
;
text-align
:
left
;
text-align
:
left
;
padding-left
:
20px
;
padding-left
:
20px
;
}
}
.domesticticketManagement
.el-dialog--center
.el-dialog__body
{
.domesticticketManagement
.el-dialog--center
.el-dialog__body
{
padding
:
25px
25px
0
;
padding
:
25px
25px
0
;
}
}
.ticketinfo_title
{
.ticketinfo_title
{
font-size
:
16px
;
font-size
:
16px
;
color
:
#333
;
color
:
#333
;
padding-left
:
5px
;
padding-left
:
5px
;
border-left
:
5px
solid
#f00
;
border-left
:
5px
solid
#f00
;
}
}
</
style
>
</
style
>
<
template
>
<
template
>
<div
class=
"flexOne domesticticketManagement"
>
<div
class=
"flexOne domesticticketManagement"
>
...
@@ -110,63 +112,35 @@
...
@@ -110,63 +112,35 @@
<ul>
<ul>
<li>
<li>
<label
class=
""
>
{{
$t
(
"scen.sc_name"
)
}}
</label>
<label
class=
""
>
{{
$t
(
"scen.sc_name"
)
}}
</label>
<el-input
<el-input
v-model=
"msg.TicketName"
maxlength=
"30"
@
keyup
.
native
.
enter=
"getList"
></el-input>
v-model=
"msg.TicketName"
maxlength=
"30"
@
keyup
.
native
.
enter=
"getList"
></el-input>
</li>
</li>
<li>
<li>
<input
<input
type=
"button"
class=
"hollowFixedBtn"
:value=
"$t('pub.searchBtn')"
type=
"button"
@
click=
"getList(), resetPageIndex()"
/>
class=
"hollowFixedBtn"
<input
type=
"button"
class=
"normalBtn"
@
click=
"(outerVisible = true), (dialogTitle = '添加门票')"
:value=
"$t('pub.searchBtn')"
:value=
"$t('pub.addBtn')"
/>
@
click=
"getList(), resetPageIndex()"
/>
<input
type=
"button"
class=
"normalBtn"
@
click=
"(outerVisible = true), (dialogTitle = '添加门票')"
:value=
"$t('pub.addBtn')"
/>
</li>
</li>
</ul>
</ul>
</div>
</div>
<table
<table
class=
"singeRowTable centerTable"
border=
"0"
cellspacing=
"0"
cellpadding=
"0"
v-loading=
"loading"
style=
"
class=
"singeRowTable centerTable"
border=
"0"
cellspacing=
"0"
cellpadding=
"0"
v-loading=
"loading"
style=
"
border-collapse: separate;
border-collapse: separate;
border-spacing: 0px 10px;
border-spacing: 0px 10px;
table-layout: fixed;
table-layout: fixed;
"
"
>
>
<tr>
<tr>
<th
>
{{
$t
(
"scen.sc_name"
)
}}
</th>
<th>
{{
$t
(
"scen.sc_name"
)
}}
</th>
<th
>
门票副标题
</th>
<th>
门票副标题
</th>
<th
>
是否闪入园
</th>
<th>
是否闪入园
</th>
<!--
<th>
闪入园最晚购买时间
</th>
-->
<th>
是否无忧退款
</th>
<th
>
是否无忧退款
</th>
<!--
<th
>
可定时间
</th>
-->
<th
width=
"200"
>
{{
$t
(
"scen.sc_bjts"
)
}}
</th>
<th
width=
"200"
>
{{
$t
(
"scen.sc_bjts"
)
}}
</th>
<th>
{{
$t
(
"scen.sc_dj"
)
}}
</th>
<th>
{{
$t
(
"scen.sc_dj"
)
}}
</th>
<th>
{{
$t
(
"scen.sc_gj"
)
}}
</th>
<th>
{{
$t
(
"scen.sc_gj"
)
}}
</th>
<th>
是否上架
</th>
<th>
是否上架
</th>
<!--
<th
width=
"300"
>
{{
$t
(
"hotel.hotel_remark"
)
}}
</th>
-->
<th>
{{
$t
(
"system.table_operation"
)
}}
</th>
<th>
{{
$t
(
"system.table_operation"
)
}}
</th>
</tr>
</tr>
<tr
v-for=
"item in DataList"
:key=
"item.subCode"
>
<tr
v-for=
"item in DataList"
:key=
"item.subCode"
>
<td>
<td>
<el-tooltip
<el-tooltip
class=
"item"
effect=
"dark"
:content=
"item.TicketName"
placement=
"top-start"
>
class=
"item"
effect=
"dark"
:content=
"item.TicketName"
placement=
"top-start"
>
<span
class=
"roomName"
>
{{
item
.
TicketName
}}
</span>
<span
class=
"roomName"
>
{{
item
.
TicketName
}}
</span>
</el-tooltip>
</el-tooltip>
</td>
</td>
...
@@ -175,24 +149,19 @@
...
@@ -175,24 +149,19 @@
<div
v-if=
"item.IsSameDayBuy===0"
>
否
</div>
<div
v-if=
"item.IsSameDayBuy===0"
>
否
</div>
<div
v-if=
"item.IsSameDayBuy===1"
>
是
</div>
<div
v-if=
"item.IsSameDayBuy===1"
>
是
</div>
</td>
</td>
<!--
<td>
{{
item
.
DayBuyTime
}}
</td>
-->
<td>
<td>
<div
v-if=
"item.IsWorryFreeRefund===0"
>
是
</div>
<div
v-if=
"item.IsWorryFreeRefund===0"
>
是
</div>
<div
v-if=
"item.IsWorryFreeRefund===1"
>
有条件退
</div>
<div
v-if=
"item.IsWorryFreeRefund===1"
>
有条件退
</div>
</td>
</td>
<!--
<td>
{{
item
.
AllTime
}}
</td>
-->
<td
class=
"DaysInfo"
>
<td
class=
"DaysInfo"
>
<span
<span><i
class=
"iconfont icon-kaoqintongji"
></i>
{{
item
.
Days
><i
class=
"iconfont icon-kaoqintongji"
></i>
{{
item
.
Days
}}{{
$t
(
"hotel.hotel_item"
)
}}
</span>
}}{{
$t
(
"hotel.hotel_item"
)
}}
</span
>
</td>
</td>
<td>
<td>
<p
class=
"clearfix"
>
<p
class=
"clearfix"
>
<span
class=
"tit_name T1"
>
{{
<span
class=
"tit_name T1"
>
{{
getCurrencyCode
(
item
.
CurrencyId
)
getCurrencyCode
(
item
.
CurrencyId
)
}}
</span
}}
</span><span
class=
"tit_name T2"
>
{{
item
.
LPrice
}}
</span>
><span
class=
"tit_name T2"
>
{{
item
.
LPrice
}}
</span>
</p>
</p>
<p
class=
"Ldata"
>
{{
item
.
LDate
}}
</p>
<p
class=
"Ldata"
>
{{
item
.
LDate
}}
</p>
</td>
</td>
...
@@ -200,8 +169,7 @@
...
@@ -200,8 +169,7 @@
<p
class=
"clearfix"
>
<p
class=
"clearfix"
>
<span
class=
"tit_name T1"
>
{{
<span
class=
"tit_name T1"
>
{{
getCurrencyCode
(
item
.
CurrencyId
)
getCurrencyCode
(
item
.
CurrencyId
)
}}
</span
}}
</span><span
class=
"tit_name HP"
>
{{
item
.
HPrice
}}
</span>
><span
class=
"tit_name HP"
>
{{
item
.
HPrice
}}
</span>
</p>
</p>
<p
class=
"Ldata"
>
{{
item
.
HDate
}}
</p>
<p
class=
"Ldata"
>
{{
item
.
HDate
}}
</p>
</td>
</td>
...
@@ -209,105 +177,40 @@
...
@@ -209,105 +177,40 @@
<span
v-if=
"item.IsShelves===0"
>
上架
</span>
<span
v-if=
"item.IsShelves===0"
>
上架
</span>
<span
v-if=
"item.IsShelves===1"
>
下架
</span>
<span
v-if=
"item.IsShelves===1"
>
下架
</span>
</td>
</td>
<!--
<td>
<el-tooltip
class=
"item"
effect=
"dark"
v-if=
"item.TicketDesc"
:content=
"item.TicketDesc"
placement=
"top-start"
popper-class=
"max-w250"
>
<span
class=
"descripTion"
>
{{
item
.
TicketDesc
}}
</span>
</el-tooltip>
</td>
-->
<td>
<td>
<el-button-group>
<el-button-group>
<el-tooltip
<el-tooltip
class=
"item"
effect=
"dark"
content=
"修改"
placement=
"top-start"
>
class=
"item"
<el-button
type=
"primary"
icon=
"iconfont icon-Edit"
@
click=
"
effect=
"dark"
content=
"修改"
placement=
"top-start"
>
<el-button
type=
"primary"
icon=
"iconfont icon-Edit"
@
click=
"
(outerVisible = true),
(outerVisible = true),
(dialogTitle = '修改门票'),
(dialogTitle = '修改门票'),
updateResturant(item.Id)
updateResturant(item.Id)
"
"
></el-button>
></el-button>
</el-tooltip>
</el-tooltip>
<el-tooltip
<el-tooltip
class=
"item"
effect=
"dark"
content=
"报价管理"
placement=
"top-start"
>
class=
"item"
<el-button
type=
"primary"
icon=
"iconfont icon-ico_shezhi"
effect=
"dark"
@
click=
"goUrl('domesticScenicSpotPackagePrice', item.Id)"
></el-button>
content=
"报价管理"
placement=
"top-start"
>
<el-button
type=
"primary"
icon=
"iconfont icon-ico_shezhi"
@
click=
"goUrl('domesticScenicSpotPackagePrice', item.Id)"
></el-button>
</el-tooltip>
</el-tooltip>
<el-tooltip
<el-tooltip
class=
"item"
effect=
"dark"
:content=
"$t('system.table_delete')"
placement=
"top-start"
>
class=
"item"
<el-button
type=
"danger"
icon=
"el-icon-delete"
@
click=
"isDelete(item.Id)"
></el-button>
effect=
"dark"
:content=
"$t('system.table_delete')"
placement=
"top-start"
>
<el-button
type=
"danger"
icon=
"el-icon-delete"
@
click=
"isDelete(item.Id)"
></el-button>
</el-tooltip>
</el-tooltip>
</el-button-group>
</el-button-group>
</td>
</td>
</tr>
</tr>
</table>
</table>
<el-dialog
<el-dialog
custom-class=
"w500"
:visible
.
sync=
"outerVisible"
:title=
"dialogTitle"
center
custom-class=
"w500"
:before-close=
"closeChangeMachie"
>
:visible
.
sync=
"outerVisible"
:title=
"dialogTitle"
center
:before-close=
"closeChangeMachie"
>
<el-form
:model=
"addMsg"
:rules=
"rules"
ref=
"addMsg"
label-width=
"110px"
>
<el-form
:model=
"addMsg"
:rules=
"rules"
ref=
"addMsg"
label-width=
"110px"
>
<el-form-item
:label=
"$t('scen.sc_mpzy')"
prop=
"CouponsId"
>
<el-form-item
:label=
"$t('scen.sc_mpzy')"
prop=
"CouponsId"
>
<el-select
<el-select
:placeholder=
"$t('pub.pleaseSel')"
class=
"w300"
filterable
v-model=
"addMsg.CouponsId"
disabled
>
:placeholder=
"$t('pub.pleaseSel')"
<el-option
v-for=
"item in TicketCouponsList"
:key=
"item.ID"
:label=
"item.Name"
:value=
"item.ID"
>
class=
"w300"
filterable
v-model=
"addMsg.CouponsId"
disabled
>
<el-option
v-for=
"item in TicketCouponsList"
:key=
"item.ID"
:label=
"item.Name"
:value=
"item.ID"
>
</el-option>
</el-option>
</el-select>
</el-select>
</el-form-item>
</el-form-item>
<el-form-item
:label=
"$t('scen.sc_name')"
prop=
"TicketName"
>
<el-form-item
:label=
"$t('scen.sc_name')"
prop=
"TicketName"
>
<el-input
<el-input
class=
"w300"
type=
"text"
v-model=
"addMsg.TicketName"
maxlength=
"20"
></el-input>
class=
"w300"
type=
"text"
v-model=
"addMsg.TicketName"
maxlength=
"20"
></el-input>
</el-form-item>
</el-form-item>
<el-form-item
label=
"门票副标题"
prop=
"TicketSubName"
>
<el-form-item
label=
"门票副标题"
prop=
"TicketSubName"
>
<el-input
<el-input
class=
"w300"
type=
"text"
v-model=
"addMsg.TicketSubName"
maxlength=
"200"
></el-input>
class=
"w300"
type=
"text"
v-model=
"addMsg.TicketSubName"
maxlength=
"200"
></el-input>
</el-form-item>
</el-form-item>
<el-form-item
:label=
"$t('scen.sc_type_name')"
prop=
"TicketCouponsType"
>
<el-form-item
:label=
"$t('scen.sc_type_name')"
prop=
"TicketCouponsType"
>
<el-select
filterable
v-model=
'addMsg.TicketCouponsType'
:placeholder=
"$t('pub.pleaseSel')"
class=
"w300"
>
<el-select
filterable
v-model=
'addMsg.TicketCouponsType'
:placeholder=
"$t('pub.pleaseSel')"
class=
"w300"
>
...
@@ -324,373 +227,167 @@
...
@@ -324,373 +227,167 @@
<el-radio
v-model=
"addMsg.IsSameDayBuy"
:label=
"0"
>
否
</el-radio>
<el-radio
v-model=
"addMsg.IsSameDayBuy"
:label=
"0"
>
否
</el-radio>
</el-form-item>
</el-form-item>
<el-form-item
label=
"购买时间"
prop=
"DayBuyTime"
>
<el-form-item
label=
"购买时间"
prop=
"DayBuyTime"
>
<el-time-select
<el-time-select
v-model=
"addMsg.DayBuyTime"
:picker-options=
"
{
v-model=
"addMsg.DayBuyTime"
:picker-options=
"
{
start: '00:00',
start: '00:00',
step: '00:15',
step: '00:15',
end: '23:45',
end: '23:45',
}"
}" placeholder="购买时间">
placeholder="购买时间"
>
</el-time-select>
</el-time-select>
</el-form-item>
</el-form-item>
<el-form-item
label=
"无忧退款"
prop=
"IsWorryFreeRefund"
>
<el-form-item
label=
"无忧退款"
prop=
"IsWorryFreeRefund"
>
<el-radio
v-model=
"addMsg.IsWorryFreeRefund"
:label=
"1"
<el-radio
v-model=
"addMsg.IsWorryFreeRefund"
:label=
"1"
>
有条件退
</el-radio>
>
有条件退
</el-radio
>
<el-radio
v-model=
"addMsg.IsWorryFreeRefund"
:label=
"0"
>
是
</el-radio>
<el-radio
v-model=
"addMsg.IsWorryFreeRefund"
:label=
"0"
>
是
</el-radio>
</el-form-item>
</el-form-item>
<el-form-item
label=
"可定时间"
prop=
"SubscribeTime"
>
<el-form-item
label=
"可定时间"
prop=
"SubscribeTime"
>
<el-input
<el-input
class=
"w300"
type=
"text"
v-model=
"addMsg.AllTime"
maxlength=
"200"
></el-input>
class=
"w300"
type=
"text"
v-model=
"addMsg.AllTime"
maxlength=
"200"
></el-input>
</el-form-item>
</el-form-item>
<el-form-item
label=
"随买随用"
prop=
"AllTime"
>
<el-form-item
label=
"随买随用"
prop=
"AllTime"
>
<el-input
<el-input
class=
"w300"
type=
"text"
v-model=
"addMsg.SubscribeTime"
maxlength=
"200"
></el-input>
class=
"w300"
type=
"text"
v-model=
"addMsg.SubscribeTime"
maxlength=
"200"
></el-input>
</el-form-item>
</el-form-item>
<el-form-item
label=
"出票速度"
prop=
"OutTicket"
>
<el-form-item
label=
"出票速度"
prop=
"OutTicket"
>
<el-input
<el-input
class=
"w300"
type=
"text"
v-model=
"addMsg.OutTicket"
maxlength=
"200"
></el-input>
class=
"w300"
type=
"text"
v-model=
"addMsg.OutTicket"
maxlength=
"200"
></el-input>
</el-form-item>
</el-form-item>
<el-form-item
label=
"无需换票"
prop=
"ChangeTickets"
>
<el-form-item
label=
"无需换票"
prop=
"ChangeTickets"
>
<el-input
<el-input
class=
"w300"
type=
"text"
v-model=
"addMsg.ChangeTickets"
maxlength=
"200"
></el-input>
class=
"w300"
type=
"text"
v-model=
"addMsg.ChangeTickets"
maxlength=
"200"
></el-input>
</el-form-item>
</el-form-item>
<div
class=
"ticketinfo_title"
>
无忧退票-退票政策
</div>
<div
class=
"ticketinfo_title"
>
无忧退票-退票政策
</div>
<template>
<template>
<div
v-for=
"(item,index) in addMsg.ReturnPriceList"
>
<div
v-for=
"(item,index) in addMsg.ReturnPriceList"
:key=
"index"
>
<el-form-item
prop=
"title"
>
<el-form-item
prop=
"title"
>
<div
slot=
"label"
>
<div
slot=
"label"
>
<el-tooltip
<el-tooltip
class=
"item"
effect=
"dark"
content=
"新增无忧退票"
placement=
"top-end"
style=
"margin-left: 10px"
class=
"item"
v-if=
"index===0"
>
effect=
"dark"
<el-button
type=
"primary"
@
click=
"addTicketInfo('ReturnPriceList')"
icon=
"el-icon-plus"
circle
content=
"新增无忧退票"
size=
"mini"
></el-button>
placement=
"top-end"
style=
"margin-left: 10px"
v-if=
"index===0"
>
<el-button
type=
"primary"
@
click=
"addTicketInfo('ReturnPriceList')"
icon=
"el-icon-plus"
circle
size=
"mini"
></el-button>
</el-tooltip>
</el-tooltip>
<el-tooltip
<el-tooltip
class=
"item"
effect=
"dark"
content=
"删除无忧退票"
placement=
"top-end"
style=
"margin-left: 10px"
class=
"item"
v-if=
"index!=0"
>
effect=
"dark"
<el-button
type=
"danger"
@
click=
"delTicketInfo(index,'ReturnPriceList')"
icon=
"el-icon-delete"
circle
content=
"删除无忧退票"
size=
"mini"
></el-button>
placement=
"top-end"
style=
"margin-left: 10px"
v-if=
"index!=0"
>
<el-button
type=
"danger"
@
click=
"delTicketInfo(index,'ReturnPriceList')"
icon=
"el-icon-delete"
circle
size=
"mini"
></el-button>
</el-tooltip>
</el-tooltip>
标题
标题
</div>
</div>
<el-input
<el-input
class=
"w300"
type=
"text"
v-model=
"item.title"
maxlength=
"200"
></el-input>
class=
"w300"
type=
"text"
v-model=
"item.title"
maxlength=
"200"
></el-input>
</el-form-item>
</el-form-item>
<el-form-item
label=
"内容"
prop=
"Dec"
>
<el-form-item
label=
"内容"
prop=
"Dec"
>
<el-input
<el-input
class=
"w300"
type=
"textarea"
v-model=
"item.Dec"
maxlength=
"200"
></el-input>
class=
"w300"
type=
"textarea"
v-model=
"item.Dec"
maxlength=
"200"
></el-input>
</el-form-item>
</el-form-item>
</div>
</div>
</
template
>
</
template
>
<div
class=
"ticketinfo_title"
>
条件退款
</div>
<div
class=
"ticketinfo_title"
>
条件退款
</div>
<
template
>
<
template
>
<div
v-for=
"(item,index) in addMsg.ConditionPriceList"
>
<div
v-for=
"(item,index) in addMsg.ConditionPriceList"
:key=
"index"
>
<el-form-item
prop=
"title"
>
<el-form-item
prop=
"title"
>
<div
slot=
"label"
>
<div
slot=
"label"
>
<el-tooltip
<el-tooltip
class=
"item"
effect=
"dark"
content=
"新增条件退款"
placement=
"top-end"
style=
"margin-left: 10px"
class=
"item"
v-if=
"index===0"
>
effect=
"dark"
<el-button
type=
"primary"
@
click=
"addTicketInfo('ConditionPriceList')"
icon=
"el-icon-plus"
circle
content=
"新增条件退款"
size=
"mini"
></el-button>
placement=
"top-end"
style=
"margin-left: 10px"
v-if=
"index===0"
>
<el-button
type=
"primary"
@
click=
"addTicketInfo('ConditionPriceList')"
icon=
"el-icon-plus"
circle
size=
"mini"
></el-button>
</el-tooltip>
</el-tooltip>
<el-tooltip
<el-tooltip
class=
"item"
effect=
"dark"
content=
"删除条件退款"
placement=
"top-end"
style=
"margin-left: 10px"
class=
"item"
v-if=
"index!=0"
>
effect=
"dark"
<el-button
type=
"danger"
@
click=
"delTicketInfo(index,'ConditionPriceList')"
icon=
"el-icon-delete"
content=
"删除条件退款"
circle
size=
"mini"
></el-button>
placement=
"top-end"
style=
"margin-left: 10px"
v-if=
"index!=0"
>
<el-button
type=
"danger"
@
click=
"delTicketInfo(index,'ConditionPriceList')"
icon=
"el-icon-delete"
circle
size=
"mini"
></el-button>
</el-tooltip>
</el-tooltip>
标题
标题
</div>
</div>
<el-input
<el-input
class=
"w300"
type=
"text"
v-model=
"item.title"
maxlength=
"200"
></el-input>
class=
"w300"
type=
"text"
v-model=
"item.title"
maxlength=
"200"
></el-input>
</el-form-item>
</el-form-item>
<el-form-item
label=
"内容"
prop=
"Dec"
>
<el-form-item
label=
"内容"
prop=
"Dec"
>
<el-input
<el-input
class=
"w300"
type=
"textarea"
v-model=
"item.Dec"
maxlength=
"200"
></el-input>
class=
"w300"
type=
"textarea"
v-model=
"item.Dec"
maxlength=
"200"
></el-input>
</el-form-item>
</el-form-item>
</div>
</div>
</
template
>
</
template
>
<div
class=
"ticketinfo_title"
>
使用说明
</div>
<div
class=
"ticketinfo_title"
>
使用说明
</div>
<
template
>
<
template
>
<div
v-for=
"(item,index) in addMsg.UseInstructionsList"
>
<div
v-for=
"(item,index) in addMsg.UseInstructionsList"
:key=
"index"
>
<el-form-item
prop=
"title"
>
<el-form-item
prop=
"title"
>
<div
slot=
"label"
>
<div
slot=
"label"
>
<el-tooltip
<el-tooltip
class=
"item"
effect=
"dark"
content=
"新增使用说明"
placement=
"top-end"
style=
"margin-left: 10px"
class=
"item"
v-if=
"index===0"
>
effect=
"dark"
<el-button
type=
"primary"
@
click=
"addTicketInfo('UseInstructionsList')"
icon=
"el-icon-plus"
circle
content=
"新增使用说明"
size=
"mini"
></el-button>
placement=
"top-end"
style=
"margin-left: 10px"
v-if=
"index===0"
>
<el-button
type=
"primary"
@
click=
"addTicketInfo('UseInstructionsList')"
icon=
"el-icon-plus"
circle
size=
"mini"
></el-button>
</el-tooltip>
</el-tooltip>
<el-tooltip
<el-tooltip
class=
"item"
effect=
"dark"
content=
"删除使用说明"
placement=
"top-end"
style=
"margin-left: 10px"
class=
"item"
v-if=
"index!=0"
>
effect=
"dark"
<el-button
type=
"danger"
@
click=
"delTicketInfo(index,'UseInstructionsList')"
icon=
"el-icon-delete"
content=
"删除使用说明"
circle
size=
"mini"
></el-button>
placement=
"top-end"
style=
"margin-left: 10px"
v-if=
"index!=0"
>
<el-button
type=
"danger"
@
click=
"delTicketInfo(index,'UseInstructionsList')"
icon=
"el-icon-delete"
circle
size=
"mini"
></el-button>
</el-tooltip>
</el-tooltip>
标题
标题
</div>
</div>
<el-input
<el-input
class=
"w300"
type=
"text"
v-model=
"item.title"
maxlength=
"200"
></el-input>
class=
"w300"
type=
"text"
v-model=
"item.title"
maxlength=
"200"
></el-input>
</el-form-item>
</el-form-item>
<el-form-item
label=
"内容"
prop=
"Dec"
>
<el-form-item
label=
"内容"
prop=
"Dec"
>
<el-input
<el-input
class=
"w300"
type=
"textarea"
v-model=
"item.Dec"
maxlength=
"200"
></el-input>
class=
"w300"
type=
"textarea"
v-model=
"item.Dec"
maxlength=
"200"
></el-input>
</el-form-item>
</el-form-item>
</div>
</div>
</
template
>
</
template
>
<div
class=
"ticketinfo_title"
>
费用说明
</div>
<div
class=
"ticketinfo_title"
>
费用说明
</div>
<
template
>
<
template
>
<div
v-for=
"(item,index) in addMsg.PriceInstructionsList"
>
<div
v-for=
"(item,index) in addMsg.PriceInstructionsList"
:key=
"index"
>
<el-form-item
prop=
"title"
>
<el-form-item
prop=
"title"
>
<div
slot=
"label"
>
<div
slot=
"label"
>
<el-tooltip
<el-tooltip
class=
"item"
effect=
"dark"
content=
"新增费用说明"
placement=
"top-end"
style=
"margin-left: 10px"
class=
"item"
v-if=
"index===0"
>
effect=
"dark"
<el-button
type=
"primary"
@
click=
"addTicketInfo('PriceInstructionsList')"
icon=
"el-icon-plus"
circle
content=
"新增费用说明"
size=
"mini"
></el-button>
placement=
"top-end"
style=
"margin-left: 10px"
v-if=
"index===0"
>
<el-button
type=
"primary"
@
click=
"addTicketInfo('PriceInstructionsList')"
icon=
"el-icon-plus"
circle
size=
"mini"
></el-button>
</el-tooltip>
</el-tooltip>
<el-tooltip
<el-tooltip
class=
"item"
effect=
"dark"
content=
"删除费用说明"
placement=
"top-end"
style=
"margin-left: 10px"
class=
"item"
v-if=
"index!=0"
>
effect=
"dark"
<el-button
type=
"danger"
@
click=
"delTicketInfo(index,'PriceInstructionsList')"
icon=
"el-icon-delete"
content=
"删除费用说明"
circle
size=
"mini"
></el-button>
placement=
"top-end"
style=
"margin-left: 10px"
v-if=
"index!=0"
>
<el-button
type=
"danger"
@
click=
"delTicketInfo(index,'PriceInstructionsList')"
icon=
"el-icon-delete"
circle
size=
"mini"
></el-button>
</el-tooltip>
</el-tooltip>
标题
标题
</div>
</div>
<el-input
<el-input
class=
"w300"
type=
"text"
v-model=
"item.title"
maxlength=
"200"
></el-input>
class=
"w300"
type=
"text"
v-model=
"item.title"
maxlength=
"200"
></el-input>
</el-form-item>
</el-form-item>
<el-form-item
label=
"内容"
prop=
"Dec"
>
<el-form-item
label=
"内容"
prop=
"Dec"
>
<el-input
<el-input
class=
"w300"
type=
"textarea"
v-model=
"item.Dec"
maxlength=
"200"
></el-input>
class=
"w300"
type=
"textarea"
v-model=
"item.Dec"
maxlength=
"200"
></el-input>
</el-form-item>
</el-form-item>
</div>
</div>
</
template
>
</
template
>
<div
class=
"ticketinfo_title"
>
其他信息
</div>
<div
class=
"ticketinfo_title"
>
其他信息
</div>
<
template
>
<
template
>
<div
v-for=
"(item,index) in addMsg.OtherDescList"
>
<div
v-for=
"(item,index) in addMsg.OtherDescList"
:key=
"index"
>
<el-form-item
prop=
"title"
>
<el-form-item
prop=
"title"
>
<div
slot=
"label"
>
<div
slot=
"label"
>
<el-tooltip
<el-tooltip
class=
"item"
effect=
"dark"
content=
"新增其他信息"
placement=
"top-end"
style=
"margin-left: 10px"
class=
"item"
v-if=
"index===0"
>
effect=
"dark"
<el-button
type=
"primary"
@
click=
"addTicketInfo('OtherDescList')"
icon=
"el-icon-plus"
circle
content=
"新增其他信息"
size=
"mini"
></el-button>
placement=
"top-end"
style=
"margin-left: 10px"
v-if=
"index===0"
>
<el-button
type=
"primary"
@
click=
"addTicketInfo('OtherDescList')"
icon=
"el-icon-plus"
circle
size=
"mini"
></el-button>
</el-tooltip>
</el-tooltip>
<el-tooltip
<el-tooltip
class=
"item"
effect=
"dark"
content=
"删除其他信息"
placement=
"top-end"
style=
"margin-left: 10px"
class=
"item"
v-if=
"index!=0"
>
effect=
"dark"
<el-button
type=
"danger"
@
click=
"delTicketInfo(index,'OtherDescList')"
icon=
"el-icon-delete"
circle
content=
"删除其他信息"
size=
"mini"
></el-button>
placement=
"top-end"
style=
"margin-left: 10px"
v-if=
"index!=0"
>
<el-button
type=
"danger"
@
click=
"delTicketInfo(index,'OtherDescList')"
icon=
"el-icon-delete"
circle
size=
"mini"
></el-button>
</el-tooltip>
</el-tooltip>
标题
标题
</div>
</div>
<el-input
<el-input
class=
"w300"
type=
"text"
v-model=
"item.title"
maxlength=
"200"
></el-input>
class=
"w300"
type=
"text"
v-model=
"item.title"
maxlength=
"200"
></el-input>
</el-form-item>
</el-form-item>
<el-form-item
label=
"内容"
prop=
"Dec"
>
<el-form-item
label=
"内容"
prop=
"Dec"
>
<el-input
<el-input
class=
"w300"
type=
"textarea"
v-model=
"item.Dec"
maxlength=
"200"
></el-input>
class=
"w300"
type=
"textarea"
v-model=
"item.Dec"
maxlength=
"200"
></el-input>
</el-form-item>
</el-form-item>
</div>
</div>
</
template
>
</
template
>
<!-- <el-form-item :label="$t('hotel.hotel_produceDes')" prop="TicketDesc">
<el-input
class="w300"
type="textarea"
v-model="addMsg.TicketDesc"
maxlength="200"
></el-input>
</el-form-item> -->
</el-form>
</el-form>
<div
slot=
"footer"
class=
"dialog-footer"
>
<div
slot=
"footer"
class=
"dialog-footer"
>
<button
<input
class=
"hollowFixedBtn"
type=
"button"
@
click=
"clearMsg(), (outerVisible = false)"
class=
"hollowFixedBtn"
:value=
"$t('pub.cancelBtn')"
/>
@
click=
"resetForm('addMsg'), (outerVisible = false)"
>
{{ $t("pub.cancelBtn") }}
</button>
<button
class=
"normalBtn"
type=
"primary"
@
click=
"submitForm('addMsg')"
>
<input
class=
"normalBtn"
type=
"button"
@
click=
"submitForm('addMsg')"
:value=
"$t('pub.saveBtn')"
/>
{{ $t("pub.saveBtn") }}
</button>
</div>
</div>
</el-dialog>
</el-dialog>
<div
class=
"noData"
v-show=
"noData"
>
<div
class=
"noData"
v-show=
"noData"
>
{{ $t("system.content_noData") }}
{{ $t("system.content_noData") }}
</div>
</div>
<el-pagination
<el-pagination
background
@
current-change=
"handleCurrentChange"
:current-page
.
sync=
"currentPage"
background
layout=
"total,prev, pager, next, jumper"
:page-size=
"msg.pageSize"
:total=
"msg.total"
>
@
current-change=
"handleCurrentChange"
:current-page
.
sync=
"currentPage"
layout=
"total,prev, pager, next, jumper"
:page-size=
"msg.pageSize"
:total=
"msg.total"
>
</el-pagination>
</el-pagination>
</div>
</div>
</template>
</template>
<
script
>
<
script
>
export
default
{
export
default
{
data
()
{
data
()
{
return
{
return
{
msg
:
{
msg
:
{
...
@@ -706,20 +403,35 @@ export default {
...
@@ -706,20 +403,35 @@ export default {
TicketName
:
""
,
TicketName
:
""
,
TicketDesc
:
""
,
TicketDesc
:
""
,
TicketCouponsType
:
""
,
TicketCouponsType
:
""
,
IsShelves
:
0
,
IsShelves
:
0
,
TicketSubName
:
""
,
//门票副标题
TicketSubName
:
""
,
//门票副标题
IsSameDayBuy
:
0
,
// 是否闪入园
IsSameDayBuy
:
0
,
// 是否闪入园
DayBuyTime
:
""
,
//闪入园最晚购买时间
DayBuyTime
:
""
,
//闪入园最晚购买时间
IsWorryFreeRefund
:
0
,
//是否无忧退款
IsWorryFreeRefund
:
0
,
//是否无忧退款
SubscribeTime
:
""
,
//可定时间
SubscribeTime
:
""
,
//可定时间
AllTime
:
""
,
//随买随用
AllTime
:
""
,
//随买随用
OutTicke
:
""
,
//出票速度
OutTicke
:
""
,
//出票速度
ChangeTickets
:
""
,
//无需换票
ChangeTickets
:
""
,
//无需换票
ReturnPriceList
:[{
title
:
""
,
Dec
:
""
}],
//无忧退票-退票政策
ReturnPriceList
:
[{
ConditionPriceList
:[{
title
:
""
,
Dec
:
""
}],
//条件退款
title
:
""
,
UseInstructionsList
:[{
title
:
""
,
Dec
:
""
}],
//使用说明
Dec
:
""
PriceInstructionsList
:[{
title
:
""
,
Dec
:
""
}],
//费用说明
}],
//无忧退票-退票政策
OtherDescList
:[{
title
:
""
,
Dec
:
""
}],
//其他信息
ConditionPriceList
:
[{
title
:
""
,
Dec
:
""
}],
//条件退款
UseInstructionsList
:
[{
title
:
""
,
Dec
:
""
}],
//使用说明
PriceInstructionsList
:
[{
title
:
""
,
Dec
:
""
}],
//费用说明
OtherDescList
:
[{
title
:
""
,
Dec
:
""
}],
//其他信息
},
},
TicketID
:
""
,
TicketID
:
""
,
TickettTypeList
:
[],
TickettTypeList
:
[],
...
@@ -733,30 +445,18 @@ export default {
...
@@ -733,30 +445,18 @@ export default {
TicketCouponsList
:
""
,
TicketCouponsList
:
""
,
rules
:
{
rules
:
{
//表单必填验证
//表单必填验证
CouponsId
:
[
CouponsId
:
[{
{
required
:
true
,
required
:
true
,
message
:
"请选择门票资源"
,
message
:
"请选择门票资源"
,
},
},
],
],
TicketName
:
[{
TicketName
:
[
{
required
:
true
,
required
:
true
,
message
:
"请输入门票标题"
,
message
:
"请输入门票标题"
,
},
},
],
],
TicketSubName
:
[{
TicketSubName
:
[
{
required
:
true
,
required
:
true
,
message
:
"请输入门票副标题"
,
message
:
"请输入门票副标题"
,
},
},
],
],
// TicketCouponsType: [
// {
// required: true,
// message: "请选择门票类型",
// },
// ],
},
},
allCurrencyList
:
[],
allCurrencyList
:
[],
};
};
...
@@ -787,7 +487,7 @@ export default {
...
@@ -787,7 +487,7 @@ export default {
this
.
getList
();
this
.
getList
();
this
.
Success
(
"保存成功!"
);
this
.
Success
(
"保存成功!"
);
this
.
outerVisible
=
false
;
this
.
outerVisible
=
false
;
this
.
resetForm
(
"addMsg"
);
this
.
clearMsg
(
);
}
else
{
}
else
{
this
.
Error
(
res
.
data
.
message
);
this
.
Error
(
res
.
data
.
message
);
}
}
...
@@ -806,32 +506,31 @@ export default {
...
@@ -806,32 +506,31 @@ export default {
(
res
)
=>
{
(
res
)
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
addMsg
=
res
.
data
.
data
;
this
.
addMsg
=
res
.
data
.
data
;
if
(
this
.
addMsg
.
ConditionPriceList
.
length
===
0
)
{
if
(
this
.
addMsg
.
ConditionPriceList
.
length
===
0
){
this
.
addMsg
.
ConditionPriceList
.
push
({
this
.
addMsg
.
ConditionPriceList
.
push
({
title
:
""
,
title
:
""
,
Dec
:
""
Dec
:
""
})
})
}
}
if
(
this
.
addMsg
.
OtherDescList
.
length
===
0
)
{
if
(
this
.
addMsg
.
OtherDescList
.
length
===
0
)
{
this
.
addMsg
.
OtherDescList
.
push
({
this
.
addMsg
.
OtherDescList
.
push
({
title
:
""
,
title
:
""
,
Dec
:
""
Dec
:
""
})
})
}
}
if
(
this
.
addMsg
.
PriceInstructionsList
.
length
===
0
)
{
if
(
this
.
addMsg
.
PriceInstructionsList
.
length
===
0
)
{
this
.
addMsg
.
PriceInstructionsList
.
push
({
this
.
addMsg
.
PriceInstructionsList
.
push
({
title
:
""
,
title
:
""
,
Dec
:
""
Dec
:
""
})
})
}
}
if
(
this
.
addMsg
.
ReturnPriceList
.
length
===
0
)
{
if
(
this
.
addMsg
.
ReturnPriceList
.
length
===
0
)
{
this
.
addMsg
.
ReturnPriceList
.
push
({
this
.
addMsg
.
ReturnPriceList
.
push
({
title
:
""
,
title
:
""
,
Dec
:
""
Dec
:
""
})
})
}
}
if
(
this
.
addMsg
.
UseInstructionsList
.
length
===
0
)
{
if
(
this
.
addMsg
.
UseInstructionsList
.
length
===
0
)
{
this
.
addMsg
.
UseInstructionsList
.
push
({
this
.
addMsg
.
UseInstructionsList
.
push
({
title
:
""
,
title
:
""
,
Dec
:
""
Dec
:
""
...
@@ -845,35 +544,20 @@ export default {
...
@@ -845,35 +544,20 @@ export default {
);
);
},
},
isDelete
(
ID
)
{
isDelete
(
ID
)
{
this
.
$confirm
(
"是否删除?"
,
"提示"
,
{
var
that
=
this
confirmButtonText
:
"确定"
,
that
.
Confirm
(
"是否删除此数据,删除后将不能恢复?"
,
function
()
{
cancelButtonText
:
"取消"
,
that
.
apipost
(
type
:
"warning"
,
"appletsticketcouponsticket_post_Remove"
,
{
})
.
then
(()
=>
{
this
.
$message
({
type
:
"success"
,
message
:
"删除成功!"
,
});
this
.
apipost
(
"appletsticketcouponsticket_post_Remove"
,
{
ID
:
ID
,
ID
:
ID
,
},
},
res
=>
{
(
res
)
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
getList
();
that
.
Success
(
res
.
data
.
message
);
that
.
getList
();
}
else
{
}
else
{
that
.
Error
(
res
.
data
.
message
);
}
}
}
},
(
err
)
=>
{}
);
);
})
.
catch
(()
=>
{
this
.
$message
({
type
:
"info"
,
message
:
"已取消删除"
,
});
});
});
},
},
goUrl
(
path
,
id
)
{
goUrl
(
path
,
id
)
{
...
@@ -889,8 +573,7 @@ export default {
...
@@ -889,8 +573,7 @@ export default {
},
},
GetTicketType
()
{
GetTicketType
()
{
this
.
apipost
(
this
.
apipost
(
"ticketcouponsprice_post_GetTicketType"
,
"ticketcouponsprice_post_GetTicketType"
,
{},
{},
(
res
)
=>
{
(
res
)
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
TickettTypeList
=
res
.
data
.
data
;
this
.
TickettTypeList
=
res
.
data
.
data
;
...
@@ -924,13 +607,6 @@ export default {
...
@@ -924,13 +607,6 @@ export default {
);
);
},
},
submitForm
(
addMsg
)
{
submitForm
(
addMsg
)
{
//提交创建、修改表单
this
.
TickettTypeList
.
forEach
((
item
)
=>
{
if
(
this
.
addMsg
.
TicketCouponsType
==
item
.
ID
)
{
// HK 2020-05-06注释
//this.addMsg.TicketName = item.Name
}
});
let
that
=
this
;
let
that
=
this
;
that
.
$refs
[
addMsg
].
validate
((
valid
)
=>
{
that
.
$refs
[
addMsg
].
validate
((
valid
)
=>
{
if
(
valid
)
{
if
(
valid
)
{
...
@@ -947,38 +623,48 @@ export default {
...
@@ -947,38 +623,48 @@ export default {
TicketName
:
""
,
TicketName
:
""
,
TicketDesc
:
""
,
TicketDesc
:
""
,
TicketCouponsType
:
""
,
TicketCouponsType
:
""
,
IsShelves
:
0
,
IsShelves
:
0
,
TicketSubName
:
""
,
//门票副标题
TicketSubName
:
""
,
//门票副标题
IsSameDayBuy
:
0
,
// 是否闪入园
IsSameDayBuy
:
0
,
// 是否闪入园
DayBuyTime
:
""
,
//闪入园最晚购买时间
DayBuyTime
:
""
,
//闪入园最晚购买时间
IsWorryFreeRefund
:
0
,
//是否无忧退款
IsWorryFreeRefund
:
0
,
//是否无忧退款
SubscribeTime
:
""
,
//可定时间
SubscribeTime
:
""
,
//可定时间
AllTime
:
""
,
//随买随用
AllTime
:
""
,
//随买随用
OutTicke
:
""
,
//出票速度
OutTicke
:
""
,
//出票速度
ChangeTickets
:
""
,
//无需换票
ChangeTickets
:
""
,
//无需换票
ReturnPriceList
:[{
title
:
""
,
Dec
:
""
}],
//无忧退票-退票政策
ReturnPriceList
:
[{
ConditionPriceList
:[{
title
:
""
,
Dec
:
""
}],
//条件退款
title
:
""
,
UseInstructionsList
:[{
title
:
""
,
Dec
:
""
}],
//使用说明
Dec
:
""
PriceInstructionsList
:[{
title
:
""
,
Dec
:
""
}],
//费用说明
}],
//无忧退票-退票政策
OtherDescList
:[{
title
:
""
,
Dec
:
""
}],
//其他信息
ConditionPriceList
:
[{
title
:
""
,
Dec
:
""
}],
//条件退款
UseInstructionsList
:
[{
title
:
""
,
Dec
:
""
}],
//使用说明
PriceInstructionsList
:
[{
title
:
""
,
Dec
:
""
}],
//费用说明
OtherDescList
:
[{
title
:
""
,
Dec
:
""
}],
//其他信息
};
};
this
.
addMsg
=
newMsg
;
this
.
addMsg
=
newMsg
;
},
},
closeChangeMachie
(
done
)
{
closeChangeMachie
(
done
)
{
//弹出框关闭初始化弹框内表单
//弹出框关闭初始化弹框内表单
done
();
done
();
this
.
resetForm
(
"addMsg"
);
this
.
addMsg
.
CouponsId
=
parseInt
(
this
.
$route
.
query
.
id
);
},
resetForm
(
formName
)
{
this
.
clearMsg
();
this
.
clearMsg
();
this
.
$refs
[
formName
].
resetFields
(
);
this
.
addMsg
.
CouponsId
=
parseInt
(
this
.
$route
.
query
.
id
);
},
},
//获取所有币种
//获取所有币种
getAllCurrency
()
{
getAllCurrency
()
{
this
.
apipost
(
this
.
apipost
(
"financeinfo_post_GetList"
,
"financeinfo_post_GetList"
,
{},
{},
(
res
)
=>
{
(
res
)
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
allCurrencyList
=
res
.
data
.
data
;
this
.
allCurrencyList
=
res
.
data
.
data
;
...
@@ -1006,8 +692,8 @@ export default {
...
@@ -1006,8 +692,8 @@ export default {
this
.
addMsg
[
field
].
push
(
obj
);
this
.
addMsg
[
field
].
push
(
obj
);
},
},
//删除门票信息
//删除门票信息
delTicketInfo
(
index
,
field
)
{
delTicketInfo
(
index
,
field
)
{
this
.
addMsg
[
field
].
splice
(
index
,
1
);
this
.
addMsg
[
field
].
splice
(
index
,
1
);
},
},
},
},
mounted
()
{
mounted
()
{
...
@@ -1019,5 +705,6 @@ export default {
...
@@ -1019,5 +705,6 @@ export default {
this
.
getList
();
this
.
getList
();
this
.
GetTicketType
();
this
.
GetTicketType
();
},
},
};
};
</
script
>
</
script
>
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