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
8dc9eb12
Commit
8dc9eb12
authored
5 years ago
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
报名清单修改
parent
87391c77
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
78 additions
and
101 deletions
+78
-101
RegistrationList.vue
src/components/TravelManager/TravelList/RegistrationList.vue
+78
-101
No files found.
src/components/TravelManager/TravelList/RegistrationList.vue
View file @
8dc9eb12
...
...
@@ -876,12 +876,14 @@
font-size
:
20px
;
cursor
:
pointer
;
}
.groupts
.underline
{
.groupts
.underline
{
text-decoration
:
underline
;
margin
:
5px
;
text-align
:
center
;
}
.rgsureBtn
{
.rgsureBtn
{
color
:
#fff
;
padding
:
0
15px
;
height
:
25px
;
...
...
@@ -891,19 +893,21 @@
border-radius
:
15px
;
margin-left
:
10px
;
}
.rgsureBtn
:hover
{
.rgsureBtn
:hover
{
background-color
:
#297BEF
;
}
.rgComTips
{
text-align
:
left
;
font-size
:
12px
;
margin-left
:
10px
;
.rgComTips
{
text-align
:
left
;
font-size
:
12px
;
margin-left
:
10px
;
}
</
style
>
<
template
>
<div
class=
"flexOne RegistrationList groupts"
style=
"min-width: 1200px;"
>
<div
class=
"planeTicketEdit ownScrollbarStyle"
v-show=
"isShowLayer2"
>
<p>
修改
<span
class=
"fr"
style=
"margin-right:60px;"
>
...
...
@@ -961,17 +965,9 @@
</el-col>
<el-col
:span=
"4"
>
<el-form-item
label=
"成交单价"
prop=
"Unit_Price"
>
<!--
<el-select
v-model=
'addMsg.Unit_Price'
filterable
:placeholder=
"$t('pub.pleaseSel')"
@
change=
"getTotalPrice()"
>
<el-option
v-for=
"item in Unit_PriceList"
:label=
'item.LessMoney'
:value=
'item.ID'
:key=
'item.ID'
>
</el-option>
</el-select>
-->
<el-input
v-model=
'addMsg.Unit_Price'
:disabled=
"true"
@
keyup
.
native=
"checkPrice(addMsg,'Unit_Price');getTotalPrice()"
></el-input>
</el-form-item>
<!--
<el-form-item
label=
"成交单价"
prop=
"Unit_Price"
>
<el-input
v-model=
'addMsg.Unit_Price'
@
keyup
.
native=
"checkPrice(addMsg,'Unit_Price');getTotalPrice()"
></el-input>
</el-form-item>
-->
</el-col>
</el-row>
<div
style=
"width: 100%; border-top:1px dashed #ccc;margin-bottom:25px;"
></div>
...
...
@@ -1080,25 +1076,6 @@
</el-input>
</el-form-item>
</el-col>
<!--
<el-col
:span=
"4"
v-show=
"addMsg.TradeWay==1&&addMsg.PlatformOrder!='' && isAllowUpdate!==0"
>
<el-form-item
label=
"定金"
prop=
"MinOrderPrice"
>
<el-input
v-model=
'addMsg.MinOrderPrice'
@
keyup
.
native=
"checkPrice(addMsg,'MinOrderPrice')"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"4"
v-if=
"addMsg.TradeWay==1&&addMsg.PlatformOrder!='' && isAllowUpdate!==0"
>
<el-form-item
label=
"费用类型"
prop=
"CostType"
>
<el-select
v-model=
"addMsg.CostType"
filterable
placeholder=
"请选择费用类型"
>
<el-option
v-for=
'item in fylxList'
:label=
"item.Name"
:value=
"item.ID"
:key=
'item.ID'
>
</el-option>
</el-select>
</el-form-item>
</el-col>
<el-col
:span=
"4"
v-if=
"addMsg.TradeWay==1&&addMsg.PlatformOrder!='' && isAllowUpdate!==0"
>
<el-form-item
label=
"交易日期"
prop=
"TradeDate"
>
<el-date-picker
v-model=
'addMsg.TradeDate'
value-format=
"yyyy-MM-dd"
type=
"date"
></el-date-picker>
</el-form-item>
</el-col>
-->
</el-row>
<el-row
:gutter=
"20"
>
<el-col
:span=
"23"
>
...
...
@@ -1210,7 +1187,6 @@
<el-option
v-for=
"item in Unit_PriceList"
:label=
'item.LessMoney'
:value=
'item.ID'
:key=
'item.ID'
>
</el-option>
</el-select>
<!--
<el-input
v-model=
'addMsg.Unit_Price'
:disabled=
"true"
@
keyup
.
native=
"checkPrice(addMsg,'Unit_Price');getTotalPrice()"
></el-input>
-->
</el-form-item>
<el-form-item>
...
...
@@ -1295,7 +1271,7 @@
</el-form-item>
</el-col>
<el-col
:span=
"4"
>
<el-form-item
label=
"拒签人数"
prop=
"RefuseVisaNum"
>
<el-form-item
label=
"拒签人数"
prop=
"RefuseVisaNum"
>
<el-input
v-model=
'addMsg.RefuseVisaNum'
@
keyup
.
native=
"checkInteger(addMsg,'RefuseVisaNum')"
@
input=
'getTotalPrice()'
></el-input>
</el-form-item>
...
...
@@ -1368,11 +1344,6 @@
</el-form>
</div>
</el-col>
<!--
<el-col
:span=
"4"
>
<el-form-item
label=
"预计提成"
prop=
"Commission"
>
<el-input
v-model=
'addMsg.Commission'
:disabled=
"true"
></el-input>
</el-form-item>
</el-col>
-->
<el-col
:span=
"4"
v-show=
"addMsg.CustomerType==1||addMsg.CustomerType==2"
>
<el-form-item
label=
"分摊人"
prop=
"CommissionSharePeople"
>
<el-select
:disabled=
"isUpdateSharePeople"
filterable
clearable
@
change=
'getTicheng'
...
...
@@ -1458,25 +1429,6 @@
</el-input>
</el-form-item>
</el-col>
<!--
<el-col
:span=
"4"
v-show=
"addMsg.TradeWay==1&&addMsg.PlatformOrder!='' && isAllowUpdate!==0"
>
<el-form-item
label=
"定金"
prop=
"MinOrderPrice"
>
<el-input
v-model=
'addMsg.MinOrderPrice'
@
keyup
.
native=
"checkPrice(addMsg,'MinOrderPrice')"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"4"
v-if=
"addMsg.TradeWay==1&&addMsg.PlatformOrder!='' && isAllowUpdate!==0"
>
<el-form-item
label=
"费用类型"
prop=
"CostType"
>
<el-select
v-model=
"addMsg.CostType"
filterable
placeholder=
"请选择费用类型"
>
<el-option
v-for=
'item in fylxList'
:label=
"item.Name"
:value=
"item.ID"
:key=
'item.ID'
>
</el-option>
</el-select>
</el-form-item>
</el-col>
<el-col
:span=
"4"
v-if=
"addMsg.TradeWay==1&&addMsg.PlatformOrder!='' && isAllowUpdate!==0"
>
<el-form-item
label=
"交易日期"
prop=
"TradeDate"
>
<el-date-picker
v-model=
'addMsg.TradeDate'
value-format=
"yyyy-MM-dd"
type=
"date"
></el-date-picker>
</el-form-item>
</el-col>
-->
</el-row>
<el-row
:gutter=
"20"
>
<el-col
:span=
"23"
>
...
...
@@ -1532,7 +1484,6 @@
</div>
</div>
<div
class=
"RL_rightBtn"
v-if=
"isShow===true"
>
<!--item.TCID,item.OutBranchId-->
<input
type=
"button"
class=
"normalBtn"
@
click=
"goTeamBalance(ConfigData.Config.TCID,ConfigData.Config.OutBranchId)"
value=
"团报"
/>
...
...
@@ -1579,10 +1530,10 @@
<tbody
v-for=
"(item,index) in OrderDataList.leadetList"
:key=
"index"
>
<tr>
<td
rowspan=
"3"
>
<!-- @click="goUrlX('groupTourOrderByTuan',item.TCID,item.TCNUM)"-->
<div
class=
"fbold over_ellipsis"
style=
"width: 120px;cursor:pointer;"
:title=
"item.OrderId"
>
{{
item
.
OrderId
}}
<el-tooltip
class=
"item"
effect=
"dark"
content=
"通过小程序确认单报名"
placement=
"top"
v-show=
"item.OrderForm==4"
>
<i
class=
"iconfont icon-xiaochengxu"
style=
"font-size:22px;color:red;"
></i></el-tooltip>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"通过小程序确认单报名"
placement=
"top"
v-show=
"item.OrderForm==4"
>
<i
class=
"iconfont icon-xiaochengxu"
style=
"font-size:22px;color:red;"
></i></el-tooltip>
</div>
<div
class=
"RL_CreatInfo"
>
{{
item
.
CreateBy
}}
<span
v-if=
"item.LeaveStr!=''"
style=
"color:red"
>
(
{{
item
.
LeaveStr
}}
)
</span></div>
...
...
@@ -1590,7 +1541,10 @@
<p>
下单时间:
{{
item
.
CreateDate
}}
</p>
</td>
<td>
<p
class=
"fz12 over_ellipsis"
style=
"width: 90%;"
>
领队控位
</p>
<p
class=
"fz12 over_ellipsis"
style=
"width: 90%;"
>
领队控位
<input
type=
"button"
class=
"normalBtn"
@
click=
"UpdateLeaderSeat(item)"
style=
"display:none;"
:value=
"ConfigData.Config.IsLeaderUseSeat==0?'占机位':'取消机位'"
/>
</p>
</td>
<td>
<span
v-if=
'item.GuestNumStatus==1'
style=
"color:#1AA86B; "
class=
"personNo nowrap"
...
...
@@ -1599,7 +1553,6 @@
slot=
"reference"
>
{{
item
.
GuestNum
}}
/
{{
item
.
YSeatNum
>
0
?
item
.
YSeatNum
+
'Y '
:
''
}}{{
item
.
ESeatNum
>
0
?
item
.
ESeatNum
+
'E '
:
''
}}{{
item
.
FSeatNum
>
0
?
item
.
FSeatNum
+
'F '
:
''
}}
</span>
<span
v-if=
'item.GuestNumStatus==3'
style=
"color:#666; "
class=
"personNo nowrap"
slot=
"reference"
>
{{
item
.
GuestNum
}}
/
{{
item
.
YSeatNum
>
0
?
item
.
YSeatNum
+
'Y '
:
''
}}{{
item
.
ESeatNum
>
0
?
item
.
ESeatNum
+
'E '
:
''
}}{{
item
.
FSeatNum
>
0
?
item
.
FSeatNum
+
'F '
:
''
}}
</span>
<!--
</el-popover>
-->
</td>
<td>
{{
item
.
TC_Price
}}
</td>
<td>
{{
item
.
Unit_Price
}}
</td>
...
...
@@ -1783,7 +1736,9 @@
<p
v-if=
"childItem.IsChargeLossOrders==1"
style=
"color:red"
>
损
</p>
<div
class=
"fbold over_ellipsis"
style=
"width: 120px;cursor:pointer;"
:title=
"childItem.OrderId"
>
{{
childItem
.
OrderId
}}
<el-tooltip
class=
"item"
effect=
"dark"
content=
"通过小程序确认单报名"
placement=
"top"
v-show=
"childItem.OrderForm==4"
>
<i
class=
"iconfont icon-xiaochengxu"
style=
"font-size:22px;color:red;"
></i></el-tooltip>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"通过小程序确认单报名"
placement=
"top"
v-show=
"childItem.OrderForm==4"
>
<i
class=
"iconfont icon-xiaochengxu"
style=
"font-size:22px;color:red;"
></i></el-tooltip>
</div>
<div
class=
"RL_CreatInfo"
>
{{
childItem
.
CreateBy
}}
<span
v-if=
"childItem.LeaveStr!=''"
style=
"color:red"
>
(
{{
childItem
.
LeaveStr
}}
)
</span></div>
...
...
@@ -1918,8 +1873,8 @@
:class=
"
{'RL-redType':childItem.statsstr=='候补'}">
{{
childItem
.
statsstr
}}
</span></td>
<td>
<div
@
click=
"goOpenUrl('confirmationOrder',childItem.OrderId)"
style=
"cursor:pointer;"
>
电子确认函
</div>
<span
v-if=
'childItem.ConfirmFileList.length>0'
@
click=
"downLoadFile(childItem.ConfirmFileList)"
style=
"color:blue;text-decoration:underline;font-size:12px;cursor:pointer;"
>
确认函下载
</span>
<span
v-if=
'childItem.ConfirmFileList.length>0'
@
click=
"downLoadFile(childItem.ConfirmFileList)"
style=
"color:blue;text-decoration:underline;font-size:12px;cursor:pointer;"
>
确认函下载
</span>
</td>
<td
class=
"RL-BTNlist"
rowspan=
"2"
>
...
...
@@ -2019,15 +1974,18 @@
<td
colspan=
"6"
style=
"height: 40px;"
>
<div
class=
"clearfix RL-MARK"
style=
"width:75%;float:left;"
>
<span
class=
"RL-opremarkTitle"
>
OP备注:
</span>
<span
class=
"RL-redType RL-remarkCon"
style=
"width:80%;display:inline-block;"
>
{{
childItem
.
OP_Remarks
?
childItem
.
OP_Remarks
:
'无'
}}
</span>
<span
class=
"RL-redType RL-remarkCon"
style=
"width:80%;display:inline-block;"
>
{{
childItem
.
OP_Remarks
?
childItem
.
OP_Remarks
:
'无'
}}
</span>
</div>
<div
style=
"float:right;"
v-if=
"childItem.IsCanClear==0"
>
<input
type=
"button"
value=
"确认订单"
class=
"rgsureBtn"
@
click=
"clearSeat(childItem,1)"
style=
"display:block;"
/>
<input
type=
"button"
value=
"确认订单"
class=
"rgsureBtn"
@
click=
"clearSeat(childItem,1)"
style=
"display:block;"
/>
<div
class=
"rgComTips"
>
该订单
<span
style=
"color:red;"
>
未确认
</span>
会
</div>
<div
class=
"rgComTips"
>
被系统自动清位
</div>
</div>
<div
style=
"float:right;"
v-else
>
<input
type=
"button"
value=
"取消确认"
class=
"normalBtn"
@
click=
"clearSeat(childItem,2)"
style=
"display:block;padding:0 15px;height:25px;"
/>
<input
type=
"button"
value=
"取消确认"
class=
"normalBtn"
@
click=
"clearSeat(childItem,2)"
style=
"display:block;padding:0 15px;height:25px;"
/>
<div
class=
"rgComTips"
>
该订单
<span
style=
"color:green"
>
已确认
</span>
不
</div>
<div
class=
"rgComTips"
>
会被系统清位
</div>
</div>
...
...
@@ -2050,10 +2008,14 @@
<div>
<span>
发票单据:
</span>
<span
v-for=
"(item2,index2) in childItem.InvoiceApplyList"
:key=
"index2"
>
<span
v-if=
"item2.invoiceApplyState === 6"
class=
"groupTourOrder_tickets_blue"
@
click=
"goIisDetail(item2.id)"
>
{{
item2
.
id
}}
</span>
<span
v-else-if=
"item2.invoiceApplyState === 1 || item2.invoiceApplyState === 3"
class=
"groupTourOrder_tickets_green"
@
click=
"goIisDetail(item2.id)"
>
{{
item2
.
id
}}
</span>
<span
v-else-if=
"item2.invoiceApplyState === 5 || item2.invoiceApplyState === 4 "
class=
"groupTourOrder_tickets_red"
@
click=
"goIisDetail(item2.id)"
>
{{
item2
.
id
}}
</span>
<span
v-else-if=
"item2.invoiceApplyState === 2"
class=
"groupTourOrder_tickets_black"
@
click=
"goIisDetail(item2.id)"
>
{{
item2
.
id
}}
</span>
<span
v-if=
"item2.invoiceApplyState === 6"
class=
"groupTourOrder_tickets_blue"
@
click=
"goIisDetail(item2.id)"
>
{{
item2
.
id
}}
</span>
<span
v-else-if=
"item2.invoiceApplyState === 1 || item2.invoiceApplyState === 3"
class=
"groupTourOrder_tickets_green"
@
click=
"goIisDetail(item2.id)"
>
{{
item2
.
id
}}
</span>
<span
v-else-if=
"item2.invoiceApplyState === 5 || item2.invoiceApplyState === 4 "
class=
"groupTourOrder_tickets_red"
@
click=
"goIisDetail(item2.id)"
>
{{
item2
.
id
}}
</span>
<span
v-else-if=
"item2.invoiceApplyState === 2"
class=
"groupTourOrder_tickets_black"
@
click=
"goIisDetail(item2.id)"
>
{{
item2
.
id
}}
</span>
</span>
<span
v-if=
"childItem.InvoiceApplyList.length===0"
style=
"cursor: default;"
>
暂无数据
</span>
</div>
...
...
@@ -2105,7 +2067,9 @@
<div>
<p
class=
"fbold over_ellipsis"
style=
"width: 120px;cursor:pointer;"
:title=
"item.OrderId"
@
click=
"goUrlX('groupTourOrderByTuan',item.TCID,item.TCNUM)"
>
{{item.OrderId}}
<el-tooltip
class=
"item"
effect=
"dark"
content=
"通过小程序确认单报名"
placement=
"top"
v-show=
"item.OrderForm==4"
>
<i
class=
"iconfont icon-xiaochengxu"
style=
"font-size:22px;color:red;"
></i></el-tooltip>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"通过小程序确认单报名"
placement=
"top"
v-show=
"item.OrderForm==4"
>
<i
class=
"iconfont icon-xiaochengxu"
style=
"font-size:22px;color:red;"
></i></el-tooltip>
</p>
<p
v-if=
"item.IsLeaderOrder==1"
>
(领队)
</p>
<p
v-else-if=
"item.IsLeaderOrder!=1&&item.GroupType==1"
>
(散拼跟团)
</p>
...
...
@@ -2241,7 +2205,8 @@
</td>
<td>
<div
@
click=
"goOpenUrl('confirmationOrder',item.orderId)"
style=
"cursor:pointer;"
>
电子确认函
</div>
<span
v-if=
'item.ConfirmFileList.length>0'
@
click=
"downLoadFile(item.ConfirmFileList)"
style=
"color:blue;text-decoration:underline;font-size:12px;cursor:pointer;"
>
确认函下载
</span>
<span
v-if=
'item.ConfirmFileList.length>0'
@
click=
"downLoadFile(item.ConfirmFileList)"
style=
"color:blue;text-decoration:underline;font-size:12px;cursor:pointer;"
>
确认函下载
</span>
</td>
<td
class=
"RL-BTNlist"
rowspan=
"2"
>
<el-button-group>
...
...
@@ -2795,7 +2760,7 @@
CommissionShareMoney
:
"0"
,
//订单归属【HK新加,报名清单页面修改使用】
CreateBy
:
0
,
RefuseVisaNum
:
0
,
//拒签人数
RefuseVisaNum
:
0
,
//拒签人数
},
//行程下载使用
travelControlTripLayerShow
:
false
,
...
...
@@ -3135,7 +3100,7 @@
this
.
addMsg
.
ChirdNeedBedNum
=
x
.
ChirdNeedBedNum
.
toString
();
this
.
addMsg
.
ChirdNoNeedBedNum
=
(
x
.
ChirdNum
-
x
.
ChirdNeedBedNum
).
toString
();
this
.
addMsg
.
BabyNum
=
x
.
BabyNum
.
toString
();
this
.
addMsg
.
RefuseVisaNum
=
x
.
RefuseVisaNum
.
toString
();
this
.
addMsg
.
RefuseVisaNum
=
x
.
RefuseVisaNum
.
toString
();
this
.
IsChildrenTour
=
x
.
IsChildrenTour
;
this
.
IsBirdDiscount
=
x
.
IsBirdDiscount
;
...
...
@@ -4370,7 +4335,7 @@
getFlightInfo
()
{
let
msg
=
{
ID
:
this
.
ConfigData
.
Config
.
AirTicketId
,
TCID
:
this
.
msg
.
TCID
TCID
:
this
.
msg
.
TCID
}
this
.
apipost
(
"ticket_get_GetFlightListByTCID"
,
msg
,
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
...
...
@@ -4694,10 +4659,6 @@
},
//申请优惠
Preservation
()
{
// if (this.SOMsg.ApplyPrice
<
0
)
{
// this.$message.error('请填写大于等于0的金额')
// return
// }
var
numReg
=
/^
[
0-9
]
+$/
var
numRe
=
new
RegExp
(
numReg
)
if
(
!
numRe
.
test
(
this
.
SOMsg
.
ApplyPrice
))
{
...
...
@@ -4730,8 +4691,7 @@
this
.
SOMsg
.
ApplyReason
=
''
}
},
err
=>
{
}
err
=>
{}
)
},
//点击修改业务员
...
...
@@ -4745,16 +4705,16 @@
this
.
showChangeSales
=
false
;
},
//清位
clearSeat
(
item
,
type
)
{
let
msg
=
{};
if
(
type
==
1
)
{
clearSeat
(
item
,
type
)
{
let
msg
=
{};
if
(
type
==
1
)
{
msg
.
IsCanClear
=
1
;
msg
.
OrderId
=
item
.
OrderId
}
else
{
}
else
{
msg
.
IsCanClear
=
0
;
msg
.
OrderId
=
item
.
OrderId
}
this
.
apipost
(
'sellorder_post_SetOrderIsCanClear'
,
msg
,
this
.
apipost
(
'sellorder_post_SetOrderIsCanClear'
,
msg
,
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
Success
(
res
.
data
.
message
)
...
...
@@ -4764,6 +4724,23 @@
}
},
err
=>
{})
},
//更新领队是否占机位
UpdateLeaderSeat
(
item
)
{
let
msg
=
{
OrderId
:
item
.
OrderId
,
IsLeaderUseSeat
:
this
.
ConfigData
.
Config
.
IsLeaderUseSeat
};
// this.apipost('sellorder_post_SetOrderIsCanClear', msg,
// res => {
// if (res.data.resultCode == 1) {
// this.Success(res.data.message)
// this.getList();
// } else {
// this.Error(res.data.message)
// }
// },
// err => {})
}
},
mounted
()
{
...
...
This diff is collapsed.
Click to expand it.
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