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
9196014c
Commit
9196014c
authored
May 23, 2023
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
页面修改
parent
80c698dc
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
2924 additions
and
3518 deletions
+2924
-3518
productQueryOne2.vue
src/components/SalesModule/productQueryOne2.vue
+196
-239
SingleContract.vue
src/components/SingleContract.vue
+23
-9
TravelContractView.vue
src/components/TravelContractView.vue
+7
-6
order-form2.vue
src/components/orderCommon/order-form2.vue
+1719
-2280
productOrderList.vue
src/components/orderCommon/productOrderList.vue
+979
-984
No files found.
src/components/SalesModule/productQueryOne2.vue
View file @
9196014c
...
@@ -84,7 +84,7 @@
...
@@ -84,7 +84,7 @@
.superSearchLayer
>
div
>
span
{
.superSearchLayer
>
div
>
span
{
margin
:
0
15px
0
5px
;
margin
:
0
15px
0
5px
;
}
}
.productQuerybottomLayer
{
.productQuerybottomLayer
{
overflow
:
auto
;
overflow
:
auto
;
position
:
fixed
;
position
:
fixed
;
...
@@ -243,14 +243,16 @@
...
@@ -243,14 +243,16 @@
</el-select>
</el-select>
</span></li>
</span></li>
<li><span><em>
{{
$t
(
'advmanager.v_line'
)
}}
</em>
<li><span><em>
{{
$t
(
'advmanager.v_line'
)
}}
</em>
<el-select
class=
'w150'
v-model=
"msg.LineId"
filterable
:placeholder=
"$t('pub.pleaseSel')"
@
change=
"getLineTeamList(msg.LineId),getAimPlaceList(msg.LineId,'')"
>
<el-select
class=
'w150'
v-model=
"msg.LineId"
filterable
:placeholder=
"$t('pub.pleaseSel')"
@
change=
"getLineTeamList(msg.LineId),getAimPlaceList(msg.LineId,'')"
>
<el-option
:label=
"$t('pub.unlimitedSel')"
value=
'-1'
></el-option>
<el-option
:label=
"$t('pub.unlimitedSel')"
value=
'-1'
></el-option>
<el-option
v-for=
"item in LineList"
:label=
'item.LineName'
:value=
'item.LineID'
:key=
'item.LineID'
>
<el-option
v-for=
"item in LineList"
:label=
'item.LineName'
:value=
'item.LineID'
:key=
'item.LineID'
>
</el-option>
</el-option>
</el-select>
</el-select>
</span></li>
</span></li>
<li><span><em>
{{
$t
(
'advmanager.v_xilie'
)
}}
</em>
<li><span><em>
{{
$t
(
'advmanager.v_xilie'
)
}}
</em>
<el-select
class=
'w150'
v-model=
"msg.LineTeamId"
filterable
:placeholder=
"$t('pub.pleaseSel')"
@
change=
"getAimPlaceList('',msg.LineTeamId)"
>
<el-select
class=
'w150'
v-model=
"msg.LineTeamId"
filterable
:placeholder=
"$t('pub.pleaseSel')"
@
change=
"getAimPlaceList('',msg.LineTeamId)"
>
<el-option
:label=
"$t('pub.unlimitedSel')"
value=
'-1'
></el-option>
<el-option
:label=
"$t('pub.unlimitedSel')"
value=
'-1'
></el-option>
<el-option
v-for=
"item in LineTeamList"
:label=
'item.LtName'
:value=
'item.LtID'
:key=
'item.LtID'
>
<el-option
v-for=
"item in LineTeamList"
:label=
'item.LtName'
:value=
'item.LtID'
:key=
'item.LtID'
>
</el-option>
</el-option>
...
@@ -270,54 +272,45 @@
...
@@ -270,54 +272,45 @@
</span>
</span>
</li>
</li>
<li><span><em>
{{
$t
(
'hotel.hotel_StarDate'
)
}}
</em>
<li><span><em>
{{
$t
(
'hotel.hotel_StarDate'
)
}}
</em>
<el-date-picker
v-model=
'msg.StartTime'
@
change=
"dataDui()"
class=
'w135'
value-format=
"yyyy-MM-dd"
type=
"date"
></el-date-picker>
<el-date-picker
v-model=
'msg.StartTime'
@
change=
"dataDui()"
class=
'w135'
value-format=
"yyyy-MM-dd"
type=
"date"
></el-date-picker>
-
-
<el-date-picker
v-model=
'msg.EndTime'
@
change=
"dataDui()"
class=
'w135'
value-format=
"yyyy-MM-dd"
type=
"date"
></el-date-picker>
<el-date-picker
v-model=
'msg.EndTime'
@
change=
"dataDui()"
class=
'w135'
value-format=
"yyyy-MM-dd"
type=
"date"
></el-date-picker>
</span>
</span>
</li>
</li>
<!--
<li><span><em>
出发城市
</em>
<el-select
class=
'w150'
v-model=
"msg.CityId"
filterable
:placeholder=
"$t('pub.pleaseSel')"
>
<el-option
label=
"不限"
value=
'-1'
></el-option>
<el-option
v-for=
"item in startCityList1"
:label=
'item.startCityName'
:value=
'item.ID'
:key=
'item.ID'
>
</el-option>
</el-select>
</span></li>
-->
<li
style=
"height:34px;line-height:34px;padding: 0 0 0 20px;vertical-align: middle;"
>
<li
style=
"height:34px;line-height:34px;padding: 0 0 0 20px;vertical-align: middle;"
>
<el-popover
width=
"270"
trigger=
"click"
>
<el-popover
width=
"270"
trigger=
"click"
>
<div
class=
"superSearchLayer"
>
<div
class=
"superSearchLayer"
>
<p>
{{
$t
(
'visa.v_tkgjcx'
)
}}
</p>
<p>
{{
$t
(
'visa.v_tkgjcx'
)
}}
</p>
<!--
<div>
<span>
航空公司
</span>
<el-select
v-model=
"msg.FlightID"
filterable
:placeholder=
"$t('system.ph_buxian')"
class=
"w150"
>
<el-option
label=
'不限'
value=
'-1'
></el-option>
<el-option
v-for=
"item in airlineList"
:key=
"item.AirLineId"
:label=
"item.AlName"
:value=
"item.AirLineId"
>
</el-option>
</el-select>
</div>
-->
<!--
<div><span>
行程天数
</span>
<el-input
class=
'w150'
v-model=
'msg.DaysTrip'
@
keyup
.
native=
"checkInteger(msg,'DaysTrip')"
></el-input>
</div>
-->
<div><span>
{{
$t
(
'visa.v_teamnum'
)
}}
</span>
<div><span>
{{
$t
(
'visa.v_teamnum'
)
}}
</span>
<el-input
class=
'w69'
v-model=
'msg.minGroupSize'
@
keyup
.
native=
"checkInteger(msg,'minGroupSize')"
></el-input>
<el-input
class=
'w69'
v-model=
'msg.minGroupSize'
@
keyup
.
native=
"checkInteger(msg,'minGroupSize')"
>
</el-input>
-
-
<el-input
class=
'w69'
v-model=
'msg.maxGroupSize'
@
keyup
.
native=
"checkInteger(msg,'maxGroupSize')"
></el-input>
<el-input
class=
'w69'
v-model=
'msg.maxGroupSize'
@
keyup
.
native=
"checkInteger(msg,'maxGroupSize')"
>
</el-input>
</div>
</div>
<div><span>
{{
$t
(
'leader.leader_registraNum'
)
}}
</span>
<div><span>
{{
$t
(
'leader.leader_registraNum'
)
}}
</span>
<el-input
class=
'w69'
v-model=
'msg.minApplySize'
@
keyup
.
native=
"checkInteger(msg,'minApplySize')"
></el-input>
<el-input
class=
'w69'
v-model=
'msg.minApplySize'
@
keyup
.
native=
"checkInteger(msg,'minApplySize')"
>
</el-input>
-
-
<el-input
class=
'w69'
v-model=
'msg.maxApplySize'
@
keyup
.
native=
"checkInteger(msg,'maxApplySize')"
></el-input>
<el-input
class=
'w69'
v-model=
'msg.maxApplySize'
@
keyup
.
native=
"checkInteger(msg,'maxApplySize')"
>
</el-input>
</div>
</div>
<div><span>
{{
$t
(
'Airticket.Air_salesPlatform'
)
}}
</span>
<div><span>
{{
$t
(
'Airticket.Air_salesPlatform'
)
}}
</span>
<el-select
filterable
multiple
v-model=
"msg.SalePlat"
:placeholder=
"$t('system.ph_buxian')"
class=
"w150 multiple_input"
>
<el-select
filterable
multiple
v-model=
"msg.SalePlat"
:placeholder=
"$t('system.ph_buxian')"
class=
"w150 multiple_input"
>
<el-option
v-for=
"item in salePlace"
:key=
"item.Id"
:label=
"item.Name"
:value=
"item.Id"
>
<el-option
v-for=
"item in salePlace"
:key=
"item.Id"
:label=
"item.Name"
:value=
"item.Id"
>
</el-option>
</el-option>
</el-select>
</el-select>
</div>
</div>
<div>
<div>
<input
type=
"button"
style=
"width: 230px!important;"
class=
"normalBtn"
:value=
"$t('pub.searchBtn')"
@
click=
"getList();resetPageIndex()"
/>
<input
type=
"button"
style=
"width: 230px!important;"
class=
"normalBtn"
:value=
"$t('pub.searchBtn')"
@
click=
"getList();resetPageIndex()"
/>
</div>
</div>
</div>
</div>
<span
slot=
"reference"
style=
"cursor: pointer;"
>
{{
$t
(
'visa.v_gjchaxun'
)
}}
<i
class=
"el-icon-caret-bottom"
></i></span>
<span
slot=
"reference"
style=
"cursor: pointer;"
>
{{
$t
(
'visa.v_gjchaxun'
)
}}
<i
class=
"el-icon-caret-bottom"
></i></span>
</el-popover>
</el-popover>
</li>
</li>
<li
style=
"height:34px;line-height:34px;padding: 0 0 0 20px;vertical-align: middle;"
>
<li
style=
"height:34px;line-height:34px;padding: 0 0 0 20px;vertical-align: middle;"
>
...
@@ -327,7 +320,8 @@
...
@@ -327,7 +320,8 @@
<div
class=
"clearfix"
>
<div
class=
"clearfix"
>
<div
class=
"TC_leftSearch"
>
<div
class=
"TC_leftSearch"
>
<div>
<div>
<span
style=
"display:inline-block;margin: 0 5px 0 0;width:50px;text-align:right;"
>
{{
$t
(
'leader.leader_registraNum'
)
}}
</span>
<span
style=
"display:inline-block;margin: 0 5px 0 0;width:50px;text-align:right;"
>
{{
$t
(
'leader.leader_registraNum'
)
}}
</span>
<el-select
v-model=
"msg.WarningQuery"
filterable
:placeholder=
"$t('system.ph_buxian')"
class=
"w150"
>
<el-select
v-model=
"msg.WarningQuery"
filterable
:placeholder=
"$t('system.ph_buxian')"
class=
"w150"
>
<el-option
:label=
'$t("system.ph_buxian")'
value=
'-1'
></el-option>
<el-option
:label=
'$t("system.ph_buxian")'
value=
'-1'
></el-option>
<el-option
:label=
"$t('salesModule.Nobaoming')"
value=
'1'
></el-option>
<el-option
:label=
"$t('salesModule.Nobaoming')"
value=
'1'
></el-option>
...
@@ -338,7 +332,8 @@
...
@@ -338,7 +332,8 @@
</el-select>
</el-select>
</div>
</div>
<div>
<div>
<span
style=
"display:inline-block;margin: 0 5px 0 0;width:50px;text-align:right;"
>
{{
$t
(
'Operation.Op_daysChoice'
)
}}
</span>
<span
style=
"display:inline-block;margin: 0 5px 0 0;width:50px;text-align:right;"
>
{{
$t
(
'Operation.Op_daysChoice'
)
}}
</span>
<el-select
v-model=
"msg.RateOnDay"
filterable
:placeholder=
"$t('system.ph_buxian')"
class=
"w150"
>
<el-select
v-model=
"msg.RateOnDay"
filterable
:placeholder=
"$t('system.ph_buxian')"
class=
"w150"
>
<el-option
:label=
'$t("system.ph_buxian")'
value=
'-1'
></el-option>
<el-option
:label=
'$t("system.ph_buxian")'
value=
'-1'
></el-option>
<el-option
:label=
"$t('salesModule.Inner10')"
value=
'1'
></el-option>
<el-option
:label=
"$t('salesModule.Inner10')"
value=
'1'
></el-option>
...
@@ -348,7 +343,8 @@
...
@@ -348,7 +343,8 @@
</el-select>
</el-select>
</div>
</div>
<div>
<div>
<span
style=
"display:inline-block;margin: 0 5px 0 0;width:50px;text-align:right;"
>
{{
$t
(
'Operation.Op_Attendance'
)
}}
</span>
<span
style=
"display:inline-block;margin: 0 5px 0 0;width:50px;text-align:right;"
>
{{
$t
(
'Operation.Op_Attendance'
)
}}
</span>
<el-select
v-model=
"msg.RateOn"
filterable
:placeholder=
"$t('system.ph_buxian')"
class=
"w150"
>
<el-select
v-model=
"msg.RateOn"
filterable
:placeholder=
"$t('system.ph_buxian')"
class=
"w150"
>
<el-option
:label=
'$t("system.ph_buxian")'
value=
'-1'
></el-option>
<el-option
:label=
'$t("system.ph_buxian")'
value=
'-1'
></el-option>
<el-option
label=
'100%'
value=
'1'
></el-option>
<el-option
label=
'100%'
value=
'1'
></el-option>
...
@@ -359,30 +355,35 @@
...
@@ -359,30 +355,35 @@
</div>
</div>
</div>
</div>
</div>
</div>
<button
class=
"normalBtn TC_SearchBtn"
@
click=
"getList();resetPageIndex()"
>
{{
$t
(
'pub.searchBtn'
)
}}
</button>
<button
class=
"normalBtn TC_SearchBtn"
@
click=
"getList();resetPageIndex()"
>
{{
$t
(
'pub.searchBtn'
)
}}
</button>
</div>
</div>
<span
slot=
"reference"
style=
"cursor: pointer;"
>
{{
$t
(
'Operation.Op_warningSearch'
)
}}
<i
class=
"iconfont icon-xiaotuziCduan_1"
></i></span>
<span
slot=
"reference"
style=
"cursor: pointer;"
>
{{
$t
(
'Operation.Op_warningSearch'
)
}}
<i
class=
"iconfont icon-xiaotuziCduan_1"
></i></span>
</el-popover>
</el-popover>
</li>
</li>
<li>
<li>
<input
type=
"button"
class=
"hollowFixedBtn"
:value=
"$t('pub.searchBtn')"
@
click=
"getList();resetPageIndex()"
/>
<input
type=
"button"
class=
"hollowFixedBtn"
:value=
"$t('pub.searchBtn')"
@
click=
"getList();resetPageIndex()"
/>
</li>
</li>
</ul>
</ul>
</div>
</div>
<el-pagination
background
@
current-change=
"handleCurrentChange"
:current-page
.
sync=
"currentPage"
layout=
"total,prev, pager, next, jumper
"
<el-pagination
background
@
current-change=
"handleCurrentChange"
:current-page
.
sync=
"currentPage
"
:page-size=
"msg.pageSize"
:total=
"total"
>
layout=
"total,prev, pager, next, jumper"
:page-size=
"msg.pageSize"
:total=
"total"
>
</el-pagination>
</el-pagination>
<!-- 产品列表 -->
<!-- 产品列表 -->
<productOrderList
:loading=
"loading"
:list=
"list"
@
success=
"resetPageIndex"
:pagesTitle=
"pagesTitle"
></productOrderList>
<productOrderList
:loading=
"loading"
:list=
"list"
@
success=
"resetPageIndex"
:pagesTitle=
"pagesTitle"
>
<el-pagination
background
@
current-change=
"handleCurrentChange"
:current-page
.
sync=
"currentPage"
layout=
"total,prev, pager, next, jumper"
</productOrderList>
:page-size=
"msg.pageSize"
:total=
"total"
>
<el-pagination
background
@
current-change=
"handleCurrentChange"
:current-page
.
sync=
"currentPage"
layout=
"total,prev, pager, next, jumper"
:page-size=
"msg.pageSize"
:total=
"total"
>
</el-pagination>
</el-pagination>
<el-dialog
custom-class=
'ComTeamPlan_info_box'
:title=
"tripTitle"
:visible
.
sync=
"outerVisible"
center
>
<el-dialog
custom-class=
'ComTeamPlan_info_box'
:title=
"tripTitle"
:visible
.
sync=
"outerVisible"
center
>
<commonTeamInfo
ref=
"comTeam"
></commonTeamInfo>
<commonTeamInfo
ref=
"comTeam"
></commonTeamInfo>
</el-dialog>
</el-dialog>
<el-dialog
custom-class=
'w450'
title=
"行程下载"
:visible
.
sync=
"travelControlTripLayerShow"
center
>
<el-dialog
custom-class=
'w450'
title=
"行程下载"
:visible
.
sync=
"travelControlTripLayerShow"
center
>
<tripDownLoadCommon
ref=
"tripDownLoadCommon"
:tripObj=
"tripObj"
@
headCallBack=
"hideTripDown"
:downType=
"1"
></tripDownLoadCommon>
<tripDownLoadCommon
ref=
"tripDownLoadCommon"
:tripObj=
"tripObj"
@
headCallBack=
"hideTripDown"
:downType=
"1"
>
</tripDownLoadCommon>
</el-dialog>
</el-dialog>
</div>
</div>
</
template
>
</
template
>
...
@@ -431,8 +432,8 @@
...
@@ -431,8 +432,8 @@
currentPage
:
1
,
currentPage
:
1
,
total
:
0
,
total
:
0
,
addObj
:
{},
addObj
:
{},
Unit_PriceList
:
[],
//成交单价下拉数据
Unit_PriceList
:
[],
//成交单价下拉数据
LessMoney
:
0
,
LessMoney
:
0
,
addMsg
:
{
addMsg
:
{
OrderId
:
'0'
,
OrderId
:
'0'
,
TCID
:
'0'
,
TCID
:
'0'
,
...
@@ -462,7 +463,7 @@
...
@@ -462,7 +463,7 @@
ClientSource
:
''
,
ClientSource
:
''
,
BrandId
:
''
,
BrandId
:
''
,
TradeWay
:
'2'
,
TradeWay
:
'2'
,
PlatformAccount
:
''
,
PlatformAccount
:
''
,
PlatformOrder
:
''
,
PlatformOrder
:
''
,
GuestNum
:
0
,
GuestNum
:
0
,
IsChildrenTour
:
'0'
,
IsChildrenTour
:
'0'
,
...
@@ -486,11 +487,10 @@
...
@@ -486,11 +487,10 @@
IsShowMessagesMoney
:
'2'
,
IsShowMessagesMoney
:
'2'
,
GuestList
:
[],
GuestList
:
[],
GatherAddress
:
''
,
GatherAddress
:
''
,
LureEmpId
:
0
,
//引流id
LureEmpId
:
0
,
//引流id
CRMGuestId
:
0
,
//客人ID
CRMGuestId
:
0
,
//客人ID
},
},
GuestList
:
[
GuestList
:
[{
{
SurName
:
''
,
SurName
:
''
,
Name
:
''
,
Name
:
''
,
Sex
:
''
,
Sex
:
''
,
...
@@ -500,9 +500,9 @@
...
@@ -500,9 +500,9 @@
Nationality
:
''
,
Nationality
:
''
,
PassportNo
:
''
,
PassportNo
:
''
,
Remarks
:
''
,
Remarks
:
''
,
MobilePhone
:
''
}
MobilePhone
:
''
],
}
],
GuestObj
:{
GuestObj
:
{
SurName
:
''
,
SurName
:
''
,
Name
:
''
,
Name
:
''
,
Sex
:
''
,
Sex
:
''
,
...
@@ -566,50 +566,37 @@
...
@@ -566,50 +566,37 @@
message
:
'请输入正确的手机'
message
:
'请输入正确的手机'
}
}
],
],
SurName
:
[
SurName
:
[{
{
required
:
true
,
required
:
true
,
message
:
'请输入姓'
,
message
:
'请输入姓'
,
trigger
:
'blur'
trigger
:
'blur'
},
],
},
Name
:
[{
],
required
:
true
,
Name
:
[
message
:
'请输入名'
,
{
trigger
:
'blur'
required
:
true
,
},
],
message
:
'请输入名'
,
Sex
:
[{
trigger
:
'blur'
required
:
true
,
},
message
:
'请选择性别'
,
],
trigger
:
'change'
Sex
:
[
},
],
{
Birthday
:
[{
required
:
true
,
required
:
true
,
message
:
'请选择性别'
,
message
:
'请选择出生日期'
,
trigger
:
'change'
trigger
:
'blur'
},
},
],
],
Nationality
:
[{
Birthday
:
[
required
:
true
,
{
message
:
'请选择国籍'
,
required
:
true
,
trigger
:
'change'
message
:
'请选择出生日期'
,
},
],
trigger
:
'blur'
PassportNo
:
[{
},
required
:
true
,
],
message
:
'请输入护照号'
,
Nationality
:
[
trigger
:
'blur'
{
},
],
required
:
true
,
MobilePhone
:
[{
message
:
'请选择国籍'
,
trigger
:
'change'
},
],
PassportNo
:
[
{
required
:
true
,
message
:
'请输入护照号'
,
trigger
:
'blur'
},
],
MobilePhone
:
[
{
required
:
true
,
required
:
true
,
message
:
'请输入联系人电话'
,
message
:
'请输入联系人电话'
,
trigger
:
'blur'
trigger
:
'blur'
...
@@ -619,13 +606,11 @@
...
@@ -619,13 +606,11 @@
message
:
'请输入正确的手机'
message
:
'请输入正确的手机'
}
}
],
],
GatherAddress
:
[
GatherAddress
:
[{
{
required
:
true
,
required
:
true
,
message
:
'请输入集合地'
,
message
:
'请输入集合地'
,
trigger
:
'blur'
trigger
:
'blur'
},
]
},
]
},
},
msg
:
{
msg
:
{
pageIndex
:
1
,
pageIndex
:
1
,
...
@@ -693,17 +678,22 @@
...
@@ -693,17 +678,22 @@
cityId
:
0
,
cityId
:
0
,
orderId
:
0
orderId
:
0
},
},
SingleDMCPricex
:
0
,
// 单地接;
SingleDMCPricex
:
0
,
// 单地接;
SingleDMCPrice
:
0
,
// 单地接;
SingleDMCPrice
:
0
,
// 单地接;
optionsList
:
[
optionsList
:
[{
{
Name
:
'男'
,
Id
:
1
},
Name
:
'男'
,
{
Name
:
'女'
,
Id
:
2
},
Id
:
1
},
{
Name
:
'女'
,
Id
:
2
},
],
],
TotalNumber
:
0
,
TotalNumber
:
0
,
countryList
:
[],
//国籍
countryList
:
[],
//国籍
//当前登录用户信息
//当前登录用户信息
CurrentUserInfo
:
{},
CurrentUserInfo
:
{},
crmOrderObj
:
null
,
crmOrderObj
:
null
,
}
}
},
},
components
:
{
components
:
{
...
@@ -713,11 +703,7 @@
...
@@ -713,11 +703,7 @@
carousel
:
carousel
carousel
:
carousel
},
},
watch
:
{
watch
:
{
// addMsg: {
// handler: function (val, oldVal) {
// },
// deep: true
// }
},
},
filters
:
{
filters
:
{
priceFormat
(
value
)
{
priceFormat
(
value
)
{
...
@@ -757,13 +743,8 @@
...
@@ -757,13 +743,8 @@
},
},
methods
:
{
methods
:
{
goB2Bdetail
(
ConfigId
,
tcid
)
{
goB2Bdetail
(
ConfigId
,
tcid
)
{
var
B2BDomain
=
this
.
CurrentUserInfo
.
B2BDomain
//'www.oytour.com';
var
B2BDomain
=
this
.
CurrentUserInfo
.
B2BDomain
//'www.oytour.com';
this
.
$tripUtils
.
GotoB2BPage
(
B2BDomain
,
encodeURIComponent
(
ConfigId
),
tcid
);
this
.
$tripUtils
.
GotoB2BPage
(
B2BDomain
,
encodeURIComponent
(
ConfigId
),
tcid
);
// var url = "http://" + 'www.oytour.com';
// window.open(
// url + "/#/detail/XXcsyIZsyIY%3D/" +tcid +"/" +encodeURIComponent(ConfigId),
// "_blank"
// );
},
},
getCountry
()
{
getCountry
()
{
//获取国家
//获取国家
...
@@ -773,7 +754,6 @@
...
@@ -773,7 +754,6 @@
msg
,
msg
,
res
=>
{
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
countryList
=
res
.
data
.
data
;
this
.
countryList
=
res
.
data
.
data
;
}
else
{
}
else
{
this
.
$message
.
error
(
res
.
data
.
message
);
this
.
$message
.
error
(
res
.
data
.
message
);
...
@@ -800,12 +780,11 @@
...
@@ -800,12 +780,11 @@
this
.
getTotalPrice
()
this
.
getTotalPrice
()
}
}
},
},
gettypechange
(
type
){
gettypechange
(
type
)
{
if
(
type
==
4
)
{
if
(
type
==
4
)
{
this
.
HightUnitPrice
=
'1'
;
this
.
HightUnitPrice
=
'1'
;
this
.
addMsg
.
AirticketNum
=
0
;
this
.
addMsg
.
AirticketNum
=
0
;
this
.
addMsg
.
ManNum
=
0
;
this
.
addMsg
.
ManNum
=
0
;
// this.addMsg.ChirdNum = 0;
this
.
addMsg
.
BabyNum
=
0
;
this
.
addMsg
.
BabyNum
=
0
;
this
.
addMsg
.
OldPeopleNum
=
0
;
this
.
addMsg
.
OldPeopleNum
=
0
;
this
.
addMsg
.
ChirdNoNeedBedNum
=
0
;
this
.
addMsg
.
ChirdNoNeedBedNum
=
0
;
...
@@ -816,11 +795,10 @@
...
@@ -816,11 +795,10 @@
this
.
addMsg
.
VisaNum
=
0
;
this
.
addMsg
.
VisaNum
=
0
;
this
.
addMsg
.
PredictRoomNum
=
0
;
this
.
addMsg
.
PredictRoomNum
=
0
;
this
.
addMsg
.
YSeatNum
=
0
;
this
.
addMsg
.
YSeatNum
=
0
;
}
else
{
}
else
{
this
.
HightUnitPrice
=
'2'
;
this
.
HightUnitPrice
=
'2'
;
this
.
addMsg
.
AirticketNum
=
0
;
this
.
addMsg
.
AirticketNum
=
0
;
this
.
addMsg
.
ManNum
=
0
;
this
.
addMsg
.
ManNum
=
0
;
// this.addMsg.ChirdNum = 0;
this
.
addMsg
.
BabyNum
=
0
;
this
.
addMsg
.
BabyNum
=
0
;
this
.
addMsg
.
OldPeopleNum
=
0
;
this
.
addMsg
.
OldPeopleNum
=
0
;
this
.
addMsg
.
ChirdNoNeedBedNum
=
0
;
this
.
addMsg
.
ChirdNoNeedBedNum
=
0
;
...
@@ -879,7 +857,8 @@
...
@@ -879,7 +857,8 @@
this
.
remarkMsg
.
qzf
=
'签证费'
+
this
.
addObj
.
VisaPrice
+
'/人;'
;
this
.
remarkMsg
.
qzf
=
'签证费'
+
this
.
addObj
.
VisaPrice
+
'/人;'
;
}
}
if
(
this
.
addObj
.
BackVisaPrice
)
{
if
(
this
.
addObj
.
BackVisaPrice
)
{
this
.
remarkMsg
.
qz
=
text
+
':'
+
(
count
-
this
.
addMsg
[
key
])
+
';'
+
'退签证费'
+
this
.
addObj
.
BackVisaPrice
+
this
.
remarkMsg
.
qz
=
text
+
':'
+
(
count
-
this
.
addMsg
[
key
])
+
';'
+
'退签证费'
+
this
.
addObj
.
BackVisaPrice
+
'/人;'
;
'/人;'
;
}
}
}
}
...
@@ -927,7 +906,8 @@
...
@@ -927,7 +906,8 @@
}
}
}
}
if
(
this
.
remarkMsg
.
fjf
===
''
)
{
if
(
this
.
remarkMsg
.
fjf
===
''
)
{
this
.
remarkMsg
.
fjf
=
this
.
addObj
[
'BabyChargePrice'
]
?
'儿童附加费:'
+
this
.
addObj
[
'BabyChargePrice'
]
+
'/人;'
:
this
.
remarkMsg
.
fjf
=
this
.
addObj
[
'BabyChargePrice'
]
?
'儿童附加费:'
+
this
.
addObj
[
'BabyChargePrice'
]
+
'/人;'
:
''
;
''
;
}
}
}
}
...
@@ -1155,7 +1135,7 @@
...
@@ -1155,7 +1135,7 @@
tradeWayMethods
()
{
tradeWayMethods
()
{
if
(
this
.
addMsg
.
TradeWay
==
2
)
{
if
(
this
.
addMsg
.
TradeWay
==
2
)
{
this
.
addMsg
.
PlatformOrder
=
''
this
.
addMsg
.
PlatformOrder
=
''
this
.
addMsg
.
PlatformAccount
=
''
this
.
addMsg
.
PlatformAccount
=
''
this
.
addMsg
.
MinOrderPrice
=
0
this
.
addMsg
.
MinOrderPrice
=
0
this
.
addMsg
.
CostType
=
''
this
.
addMsg
.
CostType
=
''
this
.
addMsg
.
TradeDate
=
''
this
.
addMsg
.
TradeDate
=
''
...
@@ -1181,7 +1161,7 @@
...
@@ -1181,7 +1161,7 @@
}
}
},
err
=>
{})
},
err
=>
{})
},
},
resetSelect
(){
resetSelect
()
{
if
(
this
.
addMsg
.
CustomerType
==
1
)
{
if
(
this
.
addMsg
.
CustomerType
==
1
)
{
this
.
addMsg
.
CustomerId
=
''
this
.
addMsg
.
CustomerId
=
''
}
}
...
@@ -1215,22 +1195,26 @@
...
@@ -1215,22 +1195,26 @@
this
.
addMsg
.
CustomerId
=
'0'
this
.
addMsg
.
CustomerId
=
'0'
this
.
addMsg
.
CommissionShareMoney
=
'0'
this
.
addMsg
.
CommissionShareMoney
=
'0'
}
}
let
maxPeopleNum
=
(
Number
(
this
.
addMsg
.
ManNum
)
+
Number
(
this
.
addMsg
.
ChirdNoNeedBedNum
)
+
Number
(
this
.
addMsg
.
ChirdNeedBedNum
)
+
Number
(
this
.
addMsg
.
OldPeopleNum
)
+
Number
(
this
.
addMsg
.
AirticketNum
)
)
let
maxPeopleNum
=
(
Number
(
this
.
addMsg
.
ManNum
)
+
Number
(
this
.
addMsg
.
ChirdNoNeedBedNum
)
+
Number
(
this
.
addMsg
if
(
maxPeopleNum
>
0
){
.
ChirdNeedBedNum
)
+
Number
(
this
.
addMsg
.
OldPeopleNum
)
+
Number
(
this
.
addMsg
.
AirticketNum
))
this
.
apipost
(
'sellorder_post_GetLessPrice'
,
{
"TCID"
:
this
.
addObj
.
TCID
,
"MaxPeopleNum"
:
maxPeopleNum
},
res
=>
{
if
(
maxPeopleNum
>
0
)
{
this
.
apipost
(
'sellorder_post_GetLessPrice'
,
{
"TCID"
:
this
.
addObj
.
TCID
,
"MaxPeopleNum"
:
maxPeopleNum
},
res
=>
{
this
.
LessMoney
=
res
.
data
.
data
.
lessMoney
;
this
.
LessMoney
=
res
.
data
.
data
.
lessMoney
;
if
(
parseFloat
(
this
.
LessMoney
)
>
0
)
{
if
(
parseFloat
(
this
.
LessMoney
)
>
0
)
{
this
.
Unit_PriceList
=
[];
this
.
Unit_PriceList
=
[];
for
(
var
i
=
0
;
i
<=
parseInt
(
this
.
LessMoney
)
/
10
;
i
++
)
{
for
(
var
i
=
0
;
i
<=
parseInt
(
this
.
LessMoney
)
/
10
;
i
++
)
{
var
obj
=
{
var
obj
=
{
ID
:
''
,
ID
:
''
,
LessMoney
:
''
LessMoney
:
''
}
}
obj
.
ID
=
this
.
addMsg
.
Unit_Price
-
i
*
10
;
obj
.
ID
=
this
.
addMsg
.
Unit_Price
-
i
*
10
;
obj
.
LessMoney
=
this
.
addMsg
.
Unit_Price
-
i
*
10
;
obj
.
LessMoney
=
this
.
addMsg
.
Unit_Price
-
i
*
10
;
this
.
Unit_PriceList
.
push
(
obj
);
this
.
Unit_PriceList
.
push
(
obj
);
}
}
if
(
this
.
Unit_PriceList
.
findIndex
(
markers
=>
markers
.
ID
==
this
.
addMsg
.
Unit_Price
)
<
0
)
{
if
(
this
.
Unit_PriceList
.
findIndex
(
markers
=>
markers
.
ID
==
this
.
addMsg
.
Unit_Price
)
<
0
)
{
var
obj
=
{
var
obj
=
{
ID
:
''
,
ID
:
''
,
LessMoney
:
''
LessMoney
:
''
...
@@ -1238,9 +1222,9 @@
...
@@ -1238,9 +1222,9 @@
obj
.
ID
=
this
.
addMsg
.
Unit_Price
;
obj
.
ID
=
this
.
addMsg
.
Unit_Price
;
obj
.
LessMoney
=
this
.
addMsg
.
Unit_Price
;
obj
.
LessMoney
=
this
.
addMsg
.
Unit_Price
;
this
.
Unit_PriceList
.
push
(
obj
);
this
.
Unit_PriceList
.
push
(
obj
);
}
}
}
else
{
}
else
{
this
.
Unit_PriceList
=
[];
this
.
Unit_PriceList
=
[];
var
obj
=
{
var
obj
=
{
ID
:
''
,
ID
:
''
,
LessMoney
:
''
LessMoney
:
''
...
@@ -1269,7 +1253,8 @@
...
@@ -1269,7 +1253,8 @@
let
ewtc
=
chajia
>
0
?
chajia
*
0.5
*
num
:
chajia
*
num
//额外提成
let
ewtc
=
chajia
>
0
?
chajia
*
0.5
*
num
:
chajia
*
num
//额外提成
this
.
addMsg
.
Commission
=
(
Number
(
this
.
addMsg
.
PreferPrice
)
*
0.01
+
ewtc
).
toFixed
(
2
)
this
.
addMsg
.
Commission
=
(
Number
(
this
.
addMsg
.
PreferPrice
)
*
0.01
+
ewtc
).
toFixed
(
2
)
this
.
addMsg
.
CommissionShareMoney
=
'0'
this
.
addMsg
.
CommissionShareMoney
=
'0'
if
((
this
.
addMsg
.
CustomerType
==
1
||
this
.
addMsg
.
CustomerType
==
2
)
&&
this
.
addMsg
.
CommissionSharePeople
!=
''
)
{
if
((
this
.
addMsg
.
CustomerType
==
1
||
this
.
addMsg
.
CustomerType
==
2
)
&&
this
.
addMsg
.
CommissionSharePeople
!=
''
)
{
if
(
this
.
addMsg
.
CommissionSharePeople
!=
'-1'
)
{
if
(
this
.
addMsg
.
CommissionSharePeople
!=
'-1'
)
{
if
(
this
.
addMsg
.
Commission
>
0
)
{
if
(
this
.
addMsg
.
Commission
>
0
)
{
this
.
addMsg
.
CommissionShareMoney
=
this
.
addMsg
.
Commission
/
2
this
.
addMsg
.
CommissionShareMoney
=
this
.
addMsg
.
Commission
/
2
...
@@ -1284,21 +1269,26 @@
...
@@ -1284,21 +1269,26 @@
},
},
getHouseNo
()
{
getHouseNo
()
{
//算法:((成人+儿童占床数+老人-(三人房数量*3))-单房数)/2+单房数+三人房数量
//算法:((成人+儿童占床数+老人-(三人房数量*3))-单房数)/2+单房数+三人房数量
this
.
addMsg
.
PredictRoomNum
=
(
Number
(
this
.
addMsg
.
AirticketNum
)
+
(
Number
(
this
.
addMsg
.
ManNum
)
+
Number
(
this
.
addMsg
this
.
addMsg
.
PredictRoomNum
=
(
Number
(
this
.
addMsg
.
AirticketNum
)
+
(
Number
(
this
.
addMsg
.
ManNum
)
+
Number
(
this
.
addMsg
.
ChirdNeedBedNum
)
+
Number
(
this
.
addMsg
.
OldPeopleNum
))
-
Number
(
this
.
addMsg
.
TripleRoomNum
)
*
3
-
Number
(
.
ChirdNeedBedNum
)
+
Number
(
this
.
addMsg
.
OldPeopleNum
))
-
Number
(
this
.
addMsg
.
TripleRoomNum
)
*
3
-
Number
(
this
.
addMsg
.
SingleRoomNum
))
/
2
+
Number
(
this
.
addMsg
.
SingleRoomNum
)
+
Number
(
this
.
addMsg
.
TripleRoomNum
)
this
.
addMsg
.
SingleRoomNum
))
/
2
+
Number
(
this
.
addMsg
.
SingleRoomNum
)
+
Number
(
this
.
addMsg
.
TripleRoomNum
)
},
},
getNumber
()
{
getNumber
()
{
// this.addMsg.ChirdNum = this.addMsg.ChirdNoNeedBedNum * 1 + this.addMsg.ChirdNeedBedNum * 1
// this.addMsg.ChirdNum = this.addMsg.ChirdNoNeedBedNum * 1 + this.addMsg.ChirdNeedBedNum * 1
this
.
addMsg
.
VisaNum
=
(
Number
(
this
.
addMsg
.
AirticketNum
)
+
Number
(
this
.
addMsg
.
ManNum
)
+
Number
(
this
.
addMsg
.
ChirdNum
)
+
this
.
addMsg
.
VisaNum
=
(
Number
(
this
.
addMsg
.
AirticketNum
)
+
Number
(
this
.
addMsg
.
ManNum
)
+
Number
(
this
.
addMsg
.
ChirdNum
)
+
Number
(
this
.
addMsg
.
BabyNum
)
+
Number
(
this
.
addMsg
.
OldPeopleNum
))
Number
(
this
.
addMsg
.
BabyNum
)
+
Number
(
this
.
addMsg
.
OldPeopleNum
))
this
.
addMsg
.
SafeNum
=
(
Number
(
this
.
addMsg
.
AirticketNum
)
+
Number
(
this
.
addMsg
.
ManNum
)
+
Number
(
this
.
addMsg
.
ChirdNum
)
+
this
.
addMsg
.
SafeNum
=
(
Number
(
this
.
addMsg
.
AirticketNum
)
+
Number
(
this
.
addMsg
.
ManNum
)
+
Number
(
this
.
addMsg
.
ChirdNum
)
+
Number
(
this
.
addMsg
.
BabyNum
)
+
Number
(
this
.
addMsg
.
OldPeopleNum
))
Number
(
this
.
addMsg
.
BabyNum
)
+
Number
(
this
.
addMsg
.
OldPeopleNum
))
var
SeatNum
=
(
Number
(
this
.
addMsg
.
ManNum
)
+
Number
(
this
.
addMsg
.
ChirdNum
)
+
Number
(
this
.
addMsg
.
OldPeopleNum
)
+
Number
(
this
.
addMsg
.
BabyNum
))
-
var
SeatNum
=
(
Number
(
this
.
addMsg
.
ManNum
)
+
Number
(
this
.
addMsg
.
ChirdNum
)
+
Number
(
this
.
addMsg
.
OldPeopleNum
)
+
(
Number
(
this
.
addMsg
.
ESeatNum
)
+
Number
(
this
.
addMsg
.
FSeatNum
));
Number
(
this
.
addMsg
.
BabyNum
))
-
this
.
TotalNumber
=
(
Number
(
this
.
addMsg
.
AirticketNum
)
+
Number
(
this
.
addMsg
.
ManNum
)
+
Number
(
this
.
addMsg
.
ChirdNum
)
+
(
Number
(
this
.
addMsg
.
ESeatNum
)
+
Number
(
this
.
addMsg
.
FSeatNum
));
this
.
TotalNumber
=
(
Number
(
this
.
addMsg
.
AirticketNum
)
+
Number
(
this
.
addMsg
.
ManNum
)
+
Number
(
this
.
addMsg
.
ChirdNum
)
+
Number
(
this
.
addMsg
.
BabyNum
)
+
Number
(
this
.
addMsg
.
OldPeopleNum
))
Number
(
this
.
addMsg
.
BabyNum
)
+
Number
(
this
.
addMsg
.
OldPeopleNum
))
this
.
addMsg
.
YSeatNum
=
SeatNum
<
0
?
0
:
SeatNum
;
this
.
addMsg
.
YSeatNum
=
SeatNum
<
0
?
0
:
SeatNum
;
this
.
autoRemarks
(
"VisaNum"
,
"不要签证数量"
)
this
.
autoRemarks
(
"VisaNum"
,
"不要签证数量"
)
},
},
getTotalPrice
(
t
)
{
getTotalPrice
(
t
)
{
...
@@ -1313,7 +1303,7 @@
...
@@ -1313,7 +1303,7 @@
this
.
addMsg
.
Unit_Price
=
this
.
addMsg
.
TC_Price
this
.
addMsg
.
Unit_Price
=
this
.
addMsg
.
TC_Price
return
return
}
}
if
(
parseFloat
(
this
.
SingleDMCPrice
)
<
this
.
SingleDMCPricex
)
{
if
(
parseFloat
(
this
.
SingleDMCPrice
)
<
this
.
SingleDMCPricex
)
{
this
.
$message
.
error
(
'成交单价必须大于等于本团单价!'
)
this
.
$message
.
error
(
'成交单价必须大于等于本团单价!'
)
this
.
SingleDMCPrice
=
this
.
SingleDMCPricex
this
.
SingleDMCPrice
=
this
.
SingleDMCPricex
return
return
...
@@ -1327,26 +1317,28 @@
...
@@ -1327,26 +1317,28 @@
//DiscountPrice 早鸟优惠
//DiscountPrice 早鸟优惠
let
chengren
=
Number
(
this
.
addMsg
.
ManNum
)
*
(
Number
(
this
.
addMsg
.
Unit_Price
)
-
this
.
addObj
.
DiscountPrice
)
let
chengren
=
Number
(
this
.
addMsg
.
ManNum
)
*
(
Number
(
this
.
addMsg
.
Unit_Price
)
-
this
.
addObj
.
DiscountPrice
)
let
ertong
=
Number
(
this
.
addMsg
.
ChirdNum
)
*
(
Number
(
this
.
addMsg
.
Unit_Price
)
-
this
.
addObj
.
DiscountPrice
+
let
ertong
=
Number
(
this
.
addMsg
.
ChirdNum
)
*
(
Number
(
this
.
addMsg
.
Unit_Price
)
-
this
.
addObj
.
DiscountPrice
+
this
.
addObj
.
BabyChargePrice
)
this
.
addObj
.
BabyChargePrice
)
let
yinger
=
Number
(
this
.
addMsg
.
BabyNum
)
*
Number
(
this
.
addMsg
.
Unit_Price
)
let
yinger
=
Number
(
this
.
addMsg
.
BabyNum
)
*
Number
(
this
.
addMsg
.
Unit_Price
)
let
laoren
=
Number
(
this
.
addMsg
.
OldPeopleNum
)
*
(
Number
(
this
.
addMsg
.
Unit_Price
)
-
this
.
addObj
.
DiscountPrice
+
let
laoren
=
Number
(
this
.
addMsg
.
OldPeopleNum
)
*
(
Number
(
this
.
addMsg
.
Unit_Price
)
-
this
.
addObj
.
DiscountPrice
+
this
.
addObj
.
OldManChargePrice
)
this
.
addObj
.
OldManChargePrice
)
let
zafeiqianzhen
=
this
.
addObj
.
OtherPrice
*
(
Number
(
this
.
addMsg
.
ManNum
)
+
Number
(
this
.
addMsg
.
ChirdNum
)
+
let
zafeiqianzhen
=
this
.
addObj
.
OtherPrice
*
(
Number
(
this
.
addMsg
.
ManNum
)
+
Number
(
this
.
addMsg
.
ChirdNum
)
+
Number
(
this
.
addMsg
.
OldPeopleNum
))
+
this
.
addObj
.
VisaPrice
*
(
Number
(
this
.
addMsg
.
AirticketNum
)
+
Number
(
Number
(
this
.
addMsg
.
OldPeopleNum
))
+
this
.
addObj
.
VisaPrice
*
(
Number
(
this
.
addMsg
.
AirticketNum
)
+
Number
(
this
.
addMsg
.
ManNum
)
+
Number
(
this
.
addMsg
.
ChirdNum
)
+
Number
(
this
.
addMsg
.
OldPeopleNum
))
-
this
.
addObj
.
BackVisaPrice
*
this
.
addMsg
.
ManNum
)
+
Number
(
this
.
addMsg
.
ChirdNum
)
+
Number
(
this
.
addMsg
.
OldPeopleNum
))
-
this
.
addObj
.
BackVisaPrice
*
((
Number
(
this
.
addMsg
.
AirticketNum
)
+
Number
(
this
.
addMsg
.
ManNum
)
+
Number
(
this
.
addMsg
.
ChirdNum
)
+
Number
(
((
Number
(
this
.
addMsg
.
AirticketNum
)
+
Number
(
this
.
addMsg
.
ManNum
)
+
Number
(
this
.
addMsg
.
ChirdNum
)
+
Number
(
this
.
addMsg
.
BabyNum
)
+
Number
(
this
.
addMsg
.
OldPeopleNum
))
-
Number
(
this
.
addMsg
.
VisaNum
))
this
.
addMsg
.
BabyNum
)
+
Number
(
this
.
addMsg
.
OldPeopleNum
))
-
Number
(
this
.
addMsg
.
VisaNum
))
let
danfang
=
Number
(
this
.
addMsg
.
SingleRoomNum
)
*
this
.
addObj
.
SingleRoomPrice
let
danfang
=
Number
(
this
.
addMsg
.
SingleRoomNum
)
*
this
.
addObj
.
SingleRoomPrice
let
ertongbed
=
this
.
addObj
.
ChildNeedPrice
*
Number
(
this
.
addMsg
.
ChirdNeedBedNum
)
-
this
.
addObj
.
ChildNoNeedPrice
*
let
ertongbed
=
this
.
addObj
.
ChildNeedPrice
*
Number
(
this
.
addMsg
.
ChirdNeedBedNum
)
-
this
.
addObj
.
ChildNoNeedPrice
*
(
Number
(
this
.
addMsg
.
ChirdNum
)
-
Number
(
this
.
addMsg
.
ChirdNeedBedNum
))
(
Number
(
this
.
addMsg
.
ChirdNum
)
-
Number
(
this
.
addMsg
.
ChirdNeedBedNum
))
let
lianyun
=
(
Number
(
this
.
addMsg
.
ManNum
)
+
Number
(
this
.
addMsg
.
ChirdNum
)
+
Number
(
this
.
addMsg
.
OldPeopleNum
))
*
let
lianyun
=
(
Number
(
this
.
addMsg
.
ManNum
)
+
Number
(
this
.
addMsg
.
ChirdNum
)
+
Number
(
this
.
addMsg
.
OldPeopleNum
))
*
(
Number
(
this
.
stratPrice
)
+
Number
(
this
.
returnPrice
))
(
Number
(
this
.
stratPrice
)
+
Number
(
this
.
returnPrice
))
let
dandijie
let
dandijie
if
(
this
.
addMsg
.
GroupType
==
4
)
{
if
(
this
.
addMsg
.
GroupType
==
4
)
{
dandijie
=
this
.
SingleDMCPrice
*
Number
(
this
.
addMsg
.
AirticketNum
)
dandijie
=
this
.
SingleDMCPrice
*
Number
(
this
.
addMsg
.
AirticketNum
)
}
else
{
}
else
{
dandijie
=
this
.
addObj
.
SingleDMCPrice
*
Number
(
this
.
addMsg
.
AirticketNum
)
dandijie
=
this
.
addObj
.
SingleDMCPrice
*
Number
(
this
.
addMsg
.
AirticketNum
)
}
}
this
.
addMsg
.
PreferPrice
=
dandijie
+
lianyun
+
chengren
+
ertong
+
yinger
+
laoren
+
zafeiqianzhen
+
danfang
+
this
.
addMsg
.
PreferPrice
=
dandijie
+
lianyun
+
chengren
+
ertong
+
yinger
+
laoren
+
zafeiqianzhen
+
danfang
+
ertongbed
-
this
.
ScenicRefundMoney
*
(
Number
(
this
.
addMsg
.
ManNum
)
+
Number
(
this
.
addMsg
.
ChirdNum
)
+
Number
(
ertongbed
-
this
.
ScenicRefundMoney
*
(
Number
(
this
.
addMsg
.
ManNum
)
+
Number
(
this
.
addMsg
.
ChirdNum
)
+
Number
(
...
@@ -1355,35 +1347,35 @@
...
@@ -1355,35 +1347,35 @@
let
chengren
=
Number
(
this
.
addMsg
.
ManNum
)
*
(
Number
(
this
.
addMsg
.
Unit_Price
))
let
chengren
=
Number
(
this
.
addMsg
.
ManNum
)
*
(
Number
(
this
.
addMsg
.
Unit_Price
))
let
ertong
=
Number
(
this
.
addMsg
.
ChirdNum
)
*
(
Number
(
this
.
addMsg
.
Unit_Price
)
+
this
.
addObj
.
BabyChargePrice
)
let
ertong
=
Number
(
this
.
addMsg
.
ChirdNum
)
*
(
Number
(
this
.
addMsg
.
Unit_Price
)
+
this
.
addObj
.
BabyChargePrice
)
let
yinger
=
Number
(
this
.
addMsg
.
BabyNum
)
*
Number
(
this
.
addMsg
.
Unit_Price
)
let
yinger
=
Number
(
this
.
addMsg
.
BabyNum
)
*
Number
(
this
.
addMsg
.
Unit_Price
)
let
laoren
=
Number
(
this
.
addMsg
.
OldPeopleNum
)
*
(
Number
(
this
.
addMsg
.
Unit_Price
)
+
this
.
addObj
.
OldManChargePrice
)
let
laoren
=
Number
(
this
.
addMsg
.
OldPeopleNum
)
*
(
Number
(
this
.
addMsg
.
Unit_Price
)
+
this
.
addObj
.
OldManChargePrice
)
let
zafeiqianzhen
=
this
.
addObj
.
OtherPrice
*
(
Number
(
this
.
addMsg
.
ManNum
)
+
Number
(
this
.
addMsg
.
ChirdNum
)
+
let
zafeiqianzhen
=
this
.
addObj
.
OtherPrice
*
(
Number
(
this
.
addMsg
.
ManNum
)
+
Number
(
this
.
addMsg
.
ChirdNum
)
+
Number
(
this
.
addMsg
.
OldPeopleNum
))
+
this
.
addObj
.
VisaPrice
*
(
Number
(
this
.
addMsg
.
AirticketNum
)
+
Number
(
Number
(
this
.
addMsg
.
OldPeopleNum
))
+
this
.
addObj
.
VisaPrice
*
(
Number
(
this
.
addMsg
.
AirticketNum
)
+
Number
(
this
.
addMsg
.
ManNum
)
+
Number
(
this
.
addMsg
.
ChirdNum
)
+
Number
(
this
.
addMsg
.
OldPeopleNum
))
-
this
.
addObj
.
BackVisaPrice
*
this
.
addMsg
.
ManNum
)
+
Number
(
this
.
addMsg
.
ChirdNum
)
+
Number
(
this
.
addMsg
.
OldPeopleNum
))
-
this
.
addObj
.
BackVisaPrice
*
((
Number
(
this
.
addMsg
.
AirticketNum
)
+
Number
(
this
.
addMsg
.
ManNum
)
+
Number
(
this
.
addMsg
.
ChirdNum
)
+
Number
(
((
Number
(
this
.
addMsg
.
AirticketNum
)
+
Number
(
this
.
addMsg
.
ManNum
)
+
Number
(
this
.
addMsg
.
ChirdNum
)
+
Number
(
this
.
addMsg
.
BabyNum
)
+
Number
(
this
.
addMsg
.
OldPeopleNum
))
-
Number
(
this
.
addMsg
.
VisaNum
))
this
.
addMsg
.
BabyNum
)
+
Number
(
this
.
addMsg
.
OldPeopleNum
))
-
Number
(
this
.
addMsg
.
VisaNum
))
let
danfang
=
Number
(
this
.
addMsg
.
SingleRoomNum
)
*
this
.
addObj
.
SingleRoomPrice
let
danfang
=
Number
(
this
.
addMsg
.
SingleRoomNum
)
*
this
.
addObj
.
SingleRoomPrice
let
ertongbed
=
this
.
addObj
.
ChildNeedPrice
*
Number
(
this
.
addMsg
.
ChirdNeedBedNum
)
-
this
.
addObj
.
ChildNoNeedPrice
*
let
ertongbed
=
this
.
addObj
.
ChildNeedPrice
*
Number
(
this
.
addMsg
.
ChirdNeedBedNum
)
-
this
.
addObj
.
ChildNoNeedPrice
*
(
Number
(
this
.
addMsg
.
ChirdNum
)
-
Number
(
this
.
addMsg
.
ChirdNeedBedNum
))
(
Number
(
this
.
addMsg
.
ChirdNum
)
-
Number
(
this
.
addMsg
.
ChirdNeedBedNum
))
let
lianyun
=
(
Number
(
this
.
addMsg
.
ManNum
)
+
Number
(
this
.
addMsg
.
ChirdNum
)
+
Number
(
this
.
addMsg
.
OldPeopleNum
))
*
let
lianyun
=
(
Number
(
this
.
addMsg
.
ManNum
)
+
Number
(
this
.
addMsg
.
ChirdNum
)
+
Number
(
this
.
addMsg
.
OldPeopleNum
))
*
(
Number
(
this
.
stratPrice
)
+
Number
(
this
.
returnPrice
))
(
Number
(
this
.
stratPrice
)
+
Number
(
this
.
returnPrice
))
let
dandijie
let
dandijie
if
(
this
.
addMsg
.
GroupType
==
4
)
{
if
(
this
.
addMsg
.
GroupType
==
4
)
{
dandijie
=
this
.
SingleDMCPrice
*
Number
(
this
.
addMsg
.
AirticketNum
)
dandijie
=
this
.
SingleDMCPrice
*
Number
(
this
.
addMsg
.
AirticketNum
)
}
else
{
}
else
{
dandijie
=
this
.
addObj
.
SingleDMCPrice
*
Number
(
this
.
addMsg
.
AirticketNum
)
dandijie
=
this
.
addObj
.
SingleDMCPrice
*
Number
(
this
.
addMsg
.
AirticketNum
)
}
}
this
.
addMsg
.
PreferPrice
=
dandijie
+
lianyun
+
chengren
+
ertong
+
yinger
+
laoren
+
zafeiqianzhen
+
danfang
+
this
.
addMsg
.
PreferPrice
=
dandijie
+
lianyun
+
chengren
+
ertong
+
yinger
+
laoren
+
zafeiqianzhen
+
danfang
+
ertongbed
-
this
.
ScenicRefundMoney
*
(
Number
(
this
.
addMsg
.
ManNum
)
+
Number
(
this
.
addMsg
.
ChirdNum
)
+
Number
(
ertongbed
-
this
.
ScenicRefundMoney
*
(
Number
(
this
.
addMsg
.
ManNum
)
+
Number
(
this
.
addMsg
.
ChirdNum
)
+
Number
(
this
.
addMsg
.
OldPeopleNum
));
this
.
addMsg
.
OldPeopleNum
));
}
}
this
.
getTicheng
();
this
.
getTicheng
();
if
(
!
t
)
{
if
(
!
t
)
{
this
.
getTypePrice
()
this
.
getTypePrice
()
}
}
},
},
yzBigBed2
()
{
yzBigBed2
()
{
let
x
=
Number
(
this
.
addMsg
.
AirticketNum
)
+
Number
(
this
.
addMsg
.
ManNum
)
+
Number
(
this
.
addMsg
.
ChirdNeedBedNum
)
+
let
x
=
Number
(
this
.
addMsg
.
AirticketNum
)
+
Number
(
this
.
addMsg
.
ManNum
)
+
Number
(
this
.
addMsg
.
ChirdNeedBedNum
)
+
Number
(
this
.
addMsg
.
OldPeopleNum
)
-
Number
(
this
.
addMsg
.
SingleRoomNum
)
Number
(
this
.
addMsg
.
OldPeopleNum
)
-
Number
(
this
.
addMsg
.
SingleRoomNum
)
...
@@ -1394,7 +1386,6 @@
...
@@ -1394,7 +1386,6 @@
this
.
getHouseNo
()
this
.
getHouseNo
()
this
.
autoRemarks
(
"SingleRoomNum"
,
"单房数量"
);
this
.
autoRemarks
(
"SingleRoomNum"
,
"单房数量"
);
},
},
yzBigBed
()
{
yzBigBed
()
{
let
x
=
Number
(
this
.
addMsg
.
AirticketNum
)
+
Number
(
this
.
addMsg
.
ManNum
)
+
Number
(
this
.
addMsg
.
ChirdNeedBedNum
)
+
let
x
=
Number
(
this
.
addMsg
.
AirticketNum
)
+
Number
(
this
.
addMsg
.
ManNum
)
+
Number
(
this
.
addMsg
.
ChirdNeedBedNum
)
+
Number
(
this
.
addMsg
.
OldPeopleNum
)
-
Number
(
this
.
addMsg
.
SingleRoomNum
)
Number
(
this
.
addMsg
.
OldPeopleNum
)
-
Number
(
this
.
addMsg
.
SingleRoomNum
)
...
@@ -1416,7 +1407,7 @@
...
@@ -1416,7 +1407,7 @@
this
.
autoRemarks
(
"TripleRoomNum"
,
"三人房"
);
this
.
autoRemarks
(
"TripleRoomNum"
,
"三人房"
);
},
},
submitForm
(
addMsg
)
{
//提交创建、修改表单
submitForm
(
addMsg
)
{
//提交创建、修改表单
if
(
this
.
TotalNumber
==
0
)
{
if
(
this
.
TotalNumber
==
0
)
{
this
.
$message
.
error
(
'总人数不能小于1人'
)
this
.
$message
.
error
(
'总人数不能小于1人'
)
return
return
}
}
...
@@ -1452,7 +1443,7 @@
...
@@ -1452,7 +1443,7 @@
this
.
addMsg
.
FSeatNum
=
'0'
this
.
addMsg
.
FSeatNum
=
'0'
this
.
addMsg
.
Commission
=
'0'
this
.
addMsg
.
Commission
=
'0'
this
.
addMsg
.
BrandId
=
''
this
.
addMsg
.
BrandId
=
''
this
.
addMsg
.
PlatformAccount
=
''
this
.
addMsg
.
PlatformAccount
=
''
this
.
addMsg
.
TradeWay
=
'2'
this
.
addMsg
.
TradeWay
=
'2'
this
.
addMsg
.
GuestNum
=
'0'
this
.
addMsg
.
GuestNum
=
'0'
this
.
addMsg
.
IsChildrenTour
=
'0'
this
.
addMsg
.
IsChildrenTour
=
'0'
...
@@ -1489,59 +1480,24 @@
...
@@ -1489,59 +1480,24 @@
qzf
:
''
,
qzf
:
''
,
}
}
},
},
saveOrder
()
{
saveOrder
()
{
//验证人数和机位数
// if ((Number(this.addMsg.ManNum) + Number(this.addMsg.ChirdNum) + Number(this.addMsg.OldPeopleNum)) != Number(
// this.addMsg.YSeatNum) + Number(this.addMsg.ESeatNum) + Number(this.addMsg.FSeatNum)) {
// this.$message.warning('人数和机位数不相等!')
// return
// }
// if ((Number(this.addMsg.AirticketNum) + Number(this.addMsg.ManNum) + Number(this.addMsg.ChirdNum) + Number(this
// .addMsg.OldPeopleNum) + Number(this.addMsg.BabyNum))
<
Number
(
this
.
addMsg
.
VisaNum
))
{
// this.$message.warning('签证数量不能大于人数总和!')
// return
// }
if
((
Number
(
this
.
addMsg
.
AirticketNum
)
+
Number
(
this
.
addMsg
.
ManNum
)
+
Number
(
this
.
addMsg
.
ChirdNum
)
+
Number
(
this
if
((
Number
(
this
.
addMsg
.
AirticketNum
)
+
Number
(
this
.
addMsg
.
ManNum
)
+
Number
(
this
.
addMsg
.
ChirdNum
)
+
Number
(
this
.
addMsg
.
OldPeopleNum
)
+
Number
(
this
.
addMsg
.
BabyNum
))
<
Number
(
this
.
addMsg
.
SafeNum
))
{
.
addMsg
.
OldPeopleNum
)
+
Number
(
this
.
addMsg
.
BabyNum
))
<
Number
(
this
.
addMsg
.
SafeNum
))
{
this
.
$message
.
warning
(
'保险数量不能大于人数总和!'
)
this
.
$message
.
warning
(
'保险数量不能大于人数总和!'
)
return
return
}
}
// if((Number(this.addMsg.ManNum)+Number(this.addMsg.ChirdNoNeedBedNum)+Number(this.addMsg.ChirdNeedBedNum)+Number(this.addMsg.OldPeopleNum))
//
<
(
Number
(
this
.
addMsg
.
YSeatNum
)
+
Number
(
this
.
addMsg
.
ESeatNum
)
+
Number
(
this
.
addMsg
.
FSeatNum
)))
// {
// this.$message.warning('机票数量不能大于人数总和!')
// return
// }
// if (Number(this.addMsg.ChirdNeedBedNum) > Number(this.addMsg.ChirdNum)) {
// this.$message.warning('儿童占床不能大于儿童数!')
// return
// }
// if (Number(this.addMsg.ChirdNum) - Number(this.addMsg.ChirdNeedBedNum) + Number(this.addMsg.BabyNum) > Number(
// this.addMsg.ManNum) + Number(this.addMsg.OldPeopleNum) + Number(this.addMsg.ChirdNeedBedNum)) {
// this.$message.warning('儿童占床数量不足!')
// return
// }
if
(
this
.
userId
==
this
.
createByInfo
)
{
if
(
this
.
userId
==
this
.
createByInfo
)
{
if
(
this
.
addMsg
.
CommissionSharePeople
==
'-1'
)
{
if
(
this
.
addMsg
.
CommissionSharePeople
==
'-1'
)
{
this
.
addMsg
.
CommissionShareMoney
=
'0'
this
.
addMsg
.
CommissionShareMoney
=
'0'
}
}
}
}
if
(
this
.
addMsg
.
GroupType
==
4
)
{
if
(
this
.
addMsg
.
GroupType
==
4
){
this
.
addMsg
.
TC_Price
=
this
.
SingleDMCPricex
;
//地接时 本团单价
this
.
addMsg
.
TC_Price
=
this
.
SingleDMCPricex
;
//地接时 本团单价
this
.
addMsg
.
Unit_Price
=
this
.
SingleDMCPrice
;
// 地接时 成交单价
this
.
addMsg
.
Unit_Price
=
this
.
SingleDMCPrice
;
// 地接时 成交单价
}
}
this
.
addMsg
.
TCID
=
this
.
addObj
.
TCID
this
.
addMsg
.
TCID
=
this
.
addObj
.
TCID
this
.
addMsg
.
GuestNum
=
Number
(
this
.
addMsg
.
ManNum
)
+
Number
(
this
.
addMsg
.
ChirdNum
)
+
Number
(
this
.
addMsg
.
OldPeopleNum
)
+
this
.
addMsg
.
GuestNum
=
Number
(
this
.
addMsg
.
ManNum
)
+
Number
(
this
.
addMsg
.
ChirdNum
)
+
Number
(
this
.
addMsg
.
OldPeopleNum
)
+
Number
(
this
.
addMsg
.
BabyNum
)
+
Number
(
this
.
addMsg
.
AirticketNum
)
Number
(
this
.
addMsg
.
BabyNum
)
+
Number
(
this
.
addMsg
.
AirticketNum
)
this
.
addMsg
.
IsChildrenTour
=
this
.
addObj
.
IsSupportChildren
this
.
addMsg
.
IsChildrenTour
=
this
.
addObj
.
IsSupportChildren
this
.
addMsg
.
IsBirdDiscount
=
this
.
addObj
.
IsBirdDiscount
this
.
addMsg
.
IsBirdDiscount
=
this
.
addObj
.
IsBirdDiscount
...
@@ -1557,26 +1513,26 @@
...
@@ -1557,26 +1513,26 @@
}
}
},
err
=>
{})
},
err
=>
{})
},
},
getNumGuest
(){
getNumGuest
()
{
let
num
=
0
let
num
=
0
if
(
this
.
addMsg
.
GuestList
.
length
==
0
)
{
if
(
this
.
addMsg
.
GuestList
.
length
==
0
)
{
for
(
let
i
=
0
;
i
<
this
.
TotalNumber
;
i
++
)
{
for
(
let
i
=
0
;
i
<
this
.
TotalNumber
;
i
++
)
{
this
.
addMsg
.
GuestList
.
push
(
JSON
.
parse
(
JSON
.
stringify
(
this
.
GuestObj
)))
this
.
addMsg
.
GuestList
.
push
(
JSON
.
parse
(
JSON
.
stringify
(
this
.
GuestObj
)))
}
}
}
else
if
(
this
.
addMsg
.
GuestList
.
length
<
this
.
TotalNumber
)
{
}
else
if
(
this
.
addMsg
.
GuestList
.
length
<
this
.
TotalNumber
)
{
num
=
this
.
TotalNumber
-
this
.
addMsg
.
GuestList
.
length
num
=
this
.
TotalNumber
-
this
.
addMsg
.
GuestList
.
length
for
(
let
i
=
0
;
i
<
num
;
i
++
)
{
for
(
let
i
=
0
;
i
<
num
;
i
++
)
{
this
.
addMsg
.
GuestList
.
push
(
JSON
.
parse
(
JSON
.
stringify
(
this
.
GuestObj
)))
this
.
addMsg
.
GuestList
.
push
(
JSON
.
parse
(
JSON
.
stringify
(
this
.
GuestObj
)))
}
}
}
else
if
(
this
.
addMsg
.
GuestList
.
length
>
this
.
TotalNumber
)
{
}
else
if
(
this
.
addMsg
.
GuestList
.
length
>
this
.
TotalNumber
)
{
num
=
this
.
addMsg
.
GuestList
.
length
-
this
.
TotalNumber
num
=
this
.
addMsg
.
GuestList
.
length
-
this
.
TotalNumber
for
(
let
i
=
0
;
i
<
num
;
i
++
)
{
for
(
let
i
=
0
;
i
<
num
;
i
++
)
{
let
x
=
this
.
addMsg
.
GuestList
.
length
-
1
let
x
=
this
.
addMsg
.
GuestList
.
length
-
1
this
.
addMsg
.
GuestList
.
splice
(
x
,
1
)
this
.
addMsg
.
GuestList
.
splice
(
x
,
1
)
}
}
}
}
},
},
Transformation
(
val
,
type
,
index
)
{
Transformation
(
val
,
type
,
index
)
{
let
text
=
this
.
pinyin
(
val
,
{
let
text
=
this
.
pinyin
(
val
,
{
style
:
this
.
pinyin
.
STYLE_NORMAL
style
:
this
.
pinyin
.
STYLE_NORMAL
});
});
...
@@ -1613,9 +1569,10 @@
...
@@ -1613,9 +1569,10 @@
this
.
SingleDMCPricex
=
obj
.
SingleDMCPrice
;
this
.
SingleDMCPricex
=
obj
.
SingleDMCPrice
;
},
},
getPlatformAccount
(
typeIdtwo
)
{
getPlatformAccount
(
typeIdtwo
)
{
let
platBranchId
=
this
.
getLocalStorage
().
RB_Branch_id
;
let
platBranchId
=
this
.
getLocalStorage
().
RB_Branch_id
;
this
.
apipost
(
'FinancialInstitutions_post_GetALLAccountList'
,
{
this
.
apipost
(
'FinancialInstitutions_post_GetALLAccountList'
,
{
TypeId
:
typeIdtwo
,
BranchId
:
platBranchId
TypeId
:
typeIdtwo
,
BranchId
:
platBranchId
},
res
=>
{
},
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
PlatformAccountList
=
res
.
data
.
data
this
.
PlatformAccountList
=
res
.
data
.
data
...
@@ -1680,7 +1637,7 @@
...
@@ -1680,7 +1637,7 @@
this
.
apipost
(
'app_today_visit_GetOrderMyCustomerList'
,
{
this
.
apipost
(
'app_today_visit_GetOrderMyCustomerList'
,
{
typeId
:
this
.
addMsg
.
CustomerType
,
typeId
:
this
.
addMsg
.
CustomerType
,
lineId
:
this
.
addObj
.
LineID
,
lineId
:
this
.
addObj
.
LineID
,
IsLineId
:
1
,
IsLineId
:
1
,
},
res
=>
{
},
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
khmdList
=
res
.
data
.
data
this
.
khmdList
=
res
.
data
.
data
...
@@ -1747,7 +1704,9 @@
...
@@ -1747,7 +1704,9 @@
},
err
=>
{})
},
err
=>
{})
},
},
getLineList
()
{
getLineList
()
{
this
.
apipost
(
"line_post_GetAllList_V2"
,
{
LineDirection
:
3
},
res
=>
{
this
.
apipost
(
"line_post_GetAllList_V2"
,
{
LineDirection
:
3
},
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
LineList
=
res
.
data
.
data
;
this
.
LineList
=
res
.
data
.
data
;
}
}
...
@@ -1798,8 +1757,7 @@
...
@@ -1798,8 +1757,7 @@
this
.
apipost
(
"sellorder_get_GetAllStartCity"
,
{},
res
=>
{
this
.
apipost
(
"sellorder_get_GetAllStartCity"
,
{},
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
startCityList
=
res
.
data
.
data
;
this
.
startCityList
=
res
.
data
.
data
;
}
else
{
}
else
{}
}
});
});
},
},
getStartList1
()
{
getStartList1
()
{
...
@@ -1809,8 +1767,7 @@
...
@@ -1809,8 +1767,7 @@
},
res
=>
{
},
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
startCityList1
=
res
.
data
.
data
;
this
.
startCityList1
=
res
.
data
.
data
;
}
else
{
}
else
{}
}
});
});
},
},
getCompanyList
()
{
getCompanyList
()
{
...
@@ -1882,10 +1839,10 @@
...
@@ -1882,10 +1839,10 @@
},
},
mounted
()
{
mounted
()
{
// crm自动登陆传过来的参数
// crm自动登陆传过来的参数
if
(
this
.
$route
.
query
.
crmOrderObj
)
{
if
(
this
.
$route
.
query
.
crmOrderObj
)
{
this
.
crmOrderObj
=
JSON
.
parse
(
this
.
$route
.
query
.
crmOrderObj
)
this
.
crmOrderObj
=
JSON
.
parse
(
this
.
$route
.
query
.
crmOrderObj
)
this
.
addMsg
.
LureEmpId
=
this
.
crmOrderObj
.
LureEmpId
//引流id
this
.
addMsg
.
LureEmpId
=
this
.
crmOrderObj
.
LureEmpId
//引流id
this
.
addMsg
.
CRMGuestId
=
this
.
crmOrderObj
.
CRMGuestId
//客人ID
this
.
addMsg
.
CRMGuestId
=
this
.
crmOrderObj
.
CRMGuestId
//客人ID
}
}
this
.
userId
=
this
.
getLocalStorage
().
EmployeeId
this
.
userId
=
this
.
getLocalStorage
().
EmployeeId
...
@@ -1898,7 +1855,7 @@
...
@@ -1898,7 +1855,7 @@
this
.
msg
.
TCIDList
=
this
.
TCIDList
=
this
.
$route
.
query
.
TCIDList
;
this
.
msg
.
TCIDList
=
this
.
TCIDList
=
this
.
$route
.
query
.
TCIDList
;
}
}
if
(
this
.
msg
.
StartTime
===
""
)
{
if
(
this
.
msg
.
StartTime
===
""
)
{
let
nowDay
=
this
.
FormartDate
(
new
Date
());
let
nowDay
=
this
.
FormartDate
(
new
Date
());
this
.
msg
.
StartTime
=
nowDay
;
this
.
msg
.
StartTime
=
nowDay
;
}
}
let
userInfo
=
this
.
getLocalStorage
()
let
userInfo
=
this
.
getLocalStorage
()
...
@@ -1919,7 +1876,7 @@
...
@@ -1919,7 +1876,7 @@
// this.getKhmdList()
// this.getKhmdList()
this
.
getJyfs
()
this
.
getJyfs
()
this
.
getFylx
()
this
.
getFylx
()
this
.
getCountry
()
//国籍
this
.
getCountry
()
//国籍
}
}
}
}
...
...
src/components/SingleContract.vue
View file @
9196014c
...
@@ -298,11 +298,12 @@
...
@@ -298,11 +298,12 @@
.TC-MainContent
.ql-editor
{
.TC-MainContent
.ql-editor
{
min-height
:
200px
;
min-height
:
200px
;
}
}
.TC-MainContent
.disClick
{
.TC-MainContent
.disClick
{
background-color
:
#d1d1d1
!important
;
background-color
:
#d1d1d1
!important
;
color
:
#fff
!important
;
color
:
#fff
!important
;
background-image
:
none
;
background-image
:
none
;
border
:
1px
solid
#d1d1d1
!important
;
border
:
1px
solid
#d1d1d1
!important
;
}
}
.TC-MainContent
.disClick
:hover
{
.TC-MainContent
.disClick
:hover
{
...
@@ -324,7 +325,8 @@
...
@@ -324,7 +325,8 @@
单项委托协议
单项委托协议
</span>
</span>
<div
class=
"pull-right"
>
<div
class=
"pull-right"
>
<input
type=
"button"
class=
"btn-warning"
:class=
"
{'disClick':!isSubmit}" @click="submitForm('CtObj')" value="保存" />
<input
type=
"button"
class=
"btn-warning"
:class=
"
{'disClick':!isSubmit}" @click="submitForm('CtObj')"
value="保存" />
</div>
</div>
</div>
</div>
<el-form
label-width=
"180px"
:model=
"CtObj"
:rules=
"rules"
ref=
"CtObj"
>
<el-form
label-width=
"180px"
:model=
"CtObj"
:rules=
"rules"
ref=
"CtObj"
>
...
@@ -411,11 +413,22 @@
...
@@ -411,11 +413,22 @@
<div
class=
"createTableTitle"
>
受托方(旅行社)信息
</div>
<div
class=
"createTableTitle"
>
受托方(旅行社)信息
</div>
<table
class=
"createTable"
>
<table
class=
"createTable"
>
<tbody>
<tbody>
<tr>
<td>
<el-form-item
label=
"合同章"
>
<el-select
v-model=
"CtObj.SignType"
placeholder=
"请选择"
>
<el-option
key=
"0"
label=
"和平章"
:value=
"0"
>
</el-option>
<el-option
key=
"1"
label=
"日本公司章"
:value=
"1"
>
</el-option>
</el-select>
</el-form-item>
</td>
</tr>
<tr>
<tr>
<td>
<td>
<el-form-item
label=
"名称"
>
<el-form-item
label=
"名称"
>
<el-input
type=
"text"
v-model=
"CtObj.TravelAgency_Name"
class=
"w300"
<el-input
type=
"text"
v-model=
"CtObj.TravelAgency_Name"
class=
"w300"
maxlength=
"70"
></el-input>
maxlength=
"70"
></el-input>
</el-form-item>
</el-form-item>
</td>
</td>
</tr>
</tr>
...
@@ -1258,6 +1271,7 @@
...
@@ -1258,6 +1271,7 @@
Tourists_Fax
:
""
,
Tourists_Fax
:
""
,
Tourists_EmergencyLinkMan
:
""
,
Tourists_EmergencyLinkMan
:
""
,
Tourists_EmergencyLinkTel
:
""
,
Tourists_EmergencyLinkTel
:
""
,
SignType
:
0
,
//合同章类型
TravelAgency_Name
:
"(株)ピースインターナショナル"
,
//旅行社名称
TravelAgency_Name
:
"(株)ピースインターナショナル"
,
//旅行社名称
TravelAgency_LicenseNum
:
"L-SC-CJ00015"
,
TravelAgency_LicenseNum
:
"L-SC-CJ00015"
,
TravelAgency_DealMan
:
""
,
TravelAgency_DealMan
:
""
,
...
@@ -1418,10 +1432,10 @@
...
@@ -1418,10 +1432,10 @@
};
};
},
},
filters
:{
filters
:
{
YMD
(
date
)
{
YMD
(
date
)
{
return
moment
(
date
).
format
(
"YYYY-MM-DD HH:mm"
);
return
moment
(
date
).
format
(
"YYYY-MM-DD HH:mm"
);
}
}
},
},
methods
:
{
methods
:
{
//跳转锚点
//跳转锚点
...
...
src/components/TravelContractView.vue
View file @
9196014c
...
@@ -809,7 +809,7 @@
...
@@ -809,7 +809,7 @@
<td>
受托方(旅行社)签章:
</td>
<td>
受托方(旅行社)签章:
</td>
<td
style=
"position:relative;"
>
<td
style=
"position:relative;"
>
<font>
{{CtObj.TravelAgency_Name}}
</font>
<font>
{{CtObj.TravelAgency_Name}}
</font>
<img
:src=
"C
urrentUserInfo
.ZhangImg"
v-if=
"CtObj.IsTravelAgencySignature==1"
alt=
""
<img
:src=
"C
tObj
.ZhangImg"
v-if=
"CtObj.IsTravelAgencySignature==1"
alt=
""
style=
"width:120px;heigth:120px;position:absolute;top:0;"
/>
style=
"width:120px;heigth:120px;position:absolute;top:0;"
/>
</td>
</td>
</tr>
</tr>
...
@@ -1350,7 +1350,7 @@
...
@@ -1350,7 +1350,7 @@
</td>
</td>
<td
style=
"width:15%"
>
出境社盖章:
</td>
<td
style=
"width:15%"
>
出境社盖章:
</td>
<td
style=
"width:35%;position:relative;"
>
<td
style=
"width:35%;position:relative;"
>
<img
:src=
"C
urrentUserInfo
.ZhangImg"
v-if=
"CtObj.IsTravelAgencySignature==1"
alt=
""
<img
:src=
"C
tObj
.ZhangImg"
v-if=
"CtObj.IsTravelAgencySignature==1"
alt=
""
style=
"width:120px;heigth:120px;position:absolute;top:0;"
/>
style=
"width:120px;heigth:120px;position:absolute;top:0;"
/>
</td>
</td>
</tr>
</tr>
...
@@ -1799,7 +1799,7 @@
...
@@ -1799,7 +1799,7 @@
<td>
乙方签字(盖章)
</td>
<td>
乙方签字(盖章)
</td>
<td
style=
"position:relative;"
>
<td
style=
"position:relative;"
>
<font>
{{CtObj.TravelAgency_Name}}
</font>
<font>
{{CtObj.TravelAgency_Name}}
</font>
<img
:src=
"C
urrentUserInfo
.ZhangImg"
v-if=
"CtObj.IsTravelAgencySignature==1"
alt=
""
<img
:src=
"C
tObj
.ZhangImg"
v-if=
"CtObj.IsTravelAgencySignature==1"
alt=
""
style=
"width:120px;heigth:120px;position:absolute;top:0;"
/>
style=
"width:120px;heigth:120px;position:absolute;top:0;"
/>
</td>
</td>
</tr>
</tr>
...
@@ -2123,7 +2123,8 @@
...
@@ -2123,7 +2123,8 @@
TripType
:
0
,
//行程类型(0-简易行程,1-标准行程)
TripType
:
0
,
//行程类型(0-简易行程,1-标准行程)
Tourists_Sign
:
''
,
Tourists_Sign
:
''
,
CreateTimeStr
:
""
,
CreateTimeStr
:
""
,
IsTravelAgencySignature
:
0
//是否盖章
IsTravelAgencySignature
:
0
,
//是否盖章
ZhangImg
:
""
,
//合同章
},
},
};
};
},
},
...
@@ -2257,8 +2258,7 @@
...
@@ -2257,8 +2258,7 @@
this
.
CtObj
.
OtherConventionPrice
=
tempObj
.
OtherConventionPrice
;
this
.
CtObj
.
OtherConventionPrice
=
tempObj
.
OtherConventionPrice
;
this
.
CtObj
.
TicketTotalNum
=
tempObj
.
TicketTotalNum
;
this
.
CtObj
.
TicketTotalNum
=
tempObj
.
TicketTotalNum
;
this
.
CtObj
.
TicketOutDayNum
=
tempObj
.
TicketOutDayNum
;
this
.
CtObj
.
TicketOutDayNum
=
tempObj
.
TicketOutDayNum
;
this
.
CtObj
.
TicketTotalDepositPrice
=
this
.
CtObj
.
TicketTotalDepositPrice
=
tempObj
.
TicketTotalDepositPrice
;
tempObj
.
TicketTotalDepositPrice
;
this
.
CtObj
.
HotelTotal
=
tempObj
.
HotelTotal
;
this
.
CtObj
.
HotelTotal
=
tempObj
.
HotelTotal
;
this
.
CtObj
.
HotelCheckInType
=
tempObj
.
HotelCheckInType
;
this
.
CtObj
.
HotelCheckInType
=
tempObj
.
HotelCheckInType
;
this
.
CtObj
.
HotelNotice
=
tempObj
.
HotelNotice
;
this
.
CtObj
.
HotelNotice
=
tempObj
.
HotelNotice
;
...
@@ -2267,6 +2267,7 @@
...
@@ -2267,6 +2267,7 @@
this
.
CtObj
.
VisaTotalPrice
=
tempObj
.
VisaTotalPrice
;
this
.
CtObj
.
VisaTotalPrice
=
tempObj
.
VisaTotalPrice
;
this
.
CtObj
.
Tourists_Sign
=
tempObj
.
Tourists_Sign
;
this
.
CtObj
.
Tourists_Sign
=
tempObj
.
Tourists_Sign
;
this
.
CtObj
.
IsTravelAgencySignature
=
tempObj
.
IsTravelAgencySignature
;
this
.
CtObj
.
IsTravelAgencySignature
=
tempObj
.
IsTravelAgencySignature
;
this
.
CtObj
.
ZhangImg
=
tempObj
.
ZhangImg
;
this
.
CtObj
.
TicketAndHotelTotalPrice
=
this
.
CtObj
.
TicketAndHotelTotalPrice
=
tempObj
.
TicketAndHotelTotalPrice
;
tempObj
.
TicketAndHotelTotalPrice
;
if
(
if
(
...
...
src/components/orderCommon/order-form2.vue
View file @
9196014c
This source diff could not be displayed because it is too large. You can
view the blob
instead.
src/components/orderCommon/productOrderList.vue
View file @
9196014c
<
style
>
<
style
>
@import
"../../assets/css/newTravelManager.css"
;
@import
"../../assets/css/newTravelManager.css"
;
.productQueryList
{
.productQueryList
{
width
:
100%
;
width
:
100%
;
min-width
:
1366px
;
min-width
:
1366px
;
padding-left
:
10px
;
padding-left
:
10px
;
}
}
.productQueryList
li
{
.productQueryList
li
{
width
:
100%
;
width
:
100%
;
border
:
1px
solid
#e5e5e5
;
border
:
1px
solid
#e5e5e5
;
background
:
#fff
;
background
:
#fff
;
margin-bottom
:
10px
;
margin-bottom
:
10px
;
color
:
#333
;
color
:
#333
;
font-size
:
14px
;
font-size
:
14px
;
}
}
.productQueryList
li
::after
{
.productQueryList
li
::after
{
content
:
""
;
content
:
""
;
display
:
block
;
display
:
block
;
clear
:
both
;
clear
:
both
;
}
}
.productQueryList
li
i
.iconfont
{
.productQueryList
li
i
.iconfont
{
color
:
#bbb
;
color
:
#bbb
;
margin-right
:
8px
;
margin-right
:
8px
;
}
}
.productQueryList
li
>
div
:first-child
{
.productQueryList
li
>
div
:first-child
{
display
:
table
;
display
:
table
;
width
:
100%
;
width
:
100%
;
}
}
.productQueryList
li
>
div
>
div
{
.productQueryList
li
>
div
>
div
{
display
:
table-cell
;
display
:
table-cell
;
border-right
:
1px
dashed
#dcdfe6
;
border-right
:
1px
dashed
#dcdfe6
;
}
}
.productQueryList
li
>
div
>
div
:last-child
{
.productQueryList
li
>
div
>
div
:last-child
{
border-right
:
none
;
border-right
:
none
;
}
}
.productQueryList
li
.d11
{
.productQueryList
li
.d11
{
float
:
left
;
float
:
left
;
width
:
160px
;
width
:
160px
;
height
:
120px
;
height
:
120px
;
margin
:
14px
14px
0
14px
;
margin
:
14px
14px
0
14px
;
}
}
.productQueryList
li
.d11
>
li
{
.productQueryList
li
.d11
>
li
{
width
:
160px
;
width
:
160px
;
height
:
120px
;
height
:
120px
;
border
:
none
;
border
:
none
;
}
}
.productQueryList
li
.d11
>
li
>
img
{
.productQueryList
li
.d11
>
li
>
img
{
width
:
160px
;
width
:
160px
;
height
:
120px
;
height
:
120px
;
}
}
.productQueryList
li
.d12
{
.productQueryList
li
.d12
{
float
:
left
;
float
:
left
;
padding-top
:
18px
;
padding-top
:
18px
;
width
:
200px
;
width
:
200px
;
}
}
.productQueryList
li
.d12
.d12p
{
.productQueryList
li
.d12
.d12p
{
margin-top
:
3px
;
margin-top
:
3px
;
font-size
:
12px
;
font-size
:
12px
;
color
:
#999
;
color
:
#999
;
cursor
:
pointer
;
cursor
:
pointer
;
max-height
:
40px
;
max-height
:
40px
;
line-height
:
20px
;
line-height
:
20px
;
display
:
-webkit-box
;
display
:
-webkit-box
;
overflow
:
hidden
;
overflow
:
hidden
;
text-overflow
:
ellipsis
;
text-overflow
:
ellipsis
;
-webkit-line-clamp
:
2
;
-webkit-line-clamp
:
2
;
-webkit-box-orient
:
vertical
;
-webkit-box-orient
:
vertical
;
}
}
.productQueryList
li
.d12
.d12p
:hover
{
.productQueryList
li
.d12
.d12p
:hover
{
text-decoration
:
underline
;
text-decoration
:
underline
;
color
:
#333
;
color
:
#333
;
}
}
.productQueryList
li
.d12
.d12TC
{
.productQueryList
li
.d12
.d12TC
{
margin
:
5px
0
;
margin
:
5px
0
;
color
:
#666666
;
color
:
#666666
;
font-size
:
12px
;
font-size
:
12px
;
}
}
.productQueryList
li
.d1
{
.productQueryList
li
.d1
{
width
:
18%
;
width
:
18%
;
position
:
relative
;
position
:
relative
;
padding
:
0
20px
;
padding
:
0
20px
;
}
}
.productQueryList
li
.d2
{
.productQueryList
li
.d2
{
width
:
14%
;
width
:
14%
;
text-align
:
center
;
text-align
:
center
;
padding-top
:
20px
;
padding-top
:
20px
;
}
}
.productQueryList
li
.d2
p
.flightNo
{
.productQueryList
li
.d2
p
.flightNo
{
background
:
#ccc
;
background
:
#ccc
;
width
:
136px
;
width
:
136px
;
margin
:
5px
0
;
margin
:
5px
0
;
padding
:
0
10px
;
padding
:
0
10px
;
height
:
22px
;
height
:
22px
;
line-height
:
22px
;
line-height
:
22px
;
display
:
inline-block
;
display
:
inline-block
;
font-size
:
14px
;
font-size
:
14px
;
}
}
.productQueryList
li
.d2
p
.flightNo
em
{
.productQueryList
li
.d2
p
.flightNo
em
{
font-style
:
normal
;
font-style
:
normal
;
color
:
#333
;
color
:
#333
;
font-size
:
12px
;
font-size
:
12px
;
font-weight
:
bold
;
font-weight
:
bold
;
}
}
.productQueryList
li
.d2
p
.flightNo
.flem
{
.productQueryList
li
.d2
p
.flightNo
.flem
{
height
:
22px
;
height
:
22px
;
width
:
50px
;
width
:
50px
;
display
:
inline-block
;
display
:
inline-block
;
overflow
:
hidden
;
overflow
:
hidden
;
white-space
:
nowrap
;
white-space
:
nowrap
;
text-overflow
:
ellipsis
;
text-overflow
:
ellipsis
;
}
}
.productQueryList
li
.d2
p
>
span
{
.productQueryList
li
.d2
p
>
span
{
color
:
#fff
;
color
:
#fff
;
font-size
:
12px
;
font-size
:
12px
;
border-radius
:
10px
;
border-radius
:
10px
;
background
:
#2aaef2
;
background
:
#2aaef2
;
padding
:
2px
5px
;
padding
:
2px
5px
;
cursor
:
pointer
;
cursor
:
pointer
;
}
}
.productQueryList
li
.d2
>
div
>
div
{
.productQueryList
li
.d2
>
div
>
div
{
display
:
inline-block
;
display
:
inline-block
;
line-height
:
24px
;
line-height
:
24px
;
font-size
:
12px
;
font-size
:
12px
;
}
}
.productQueryList
li
.d3
{
.productQueryList
li
.d3
{
width
:
17%
;
width
:
17%
;
padding-left
:
40px
;
padding-left
:
40px
;
padding-top
:
20px
;
padding-top
:
20px
;
}
}
.productQueryList
li
.d3
p
{
.productQueryList
li
.d3
p
{
line-height
:
24px
;
line-height
:
24px
;
}
}
.productQueryList
li
.d3
p
>
span
{
.productQueryList
li
.d3
p
>
span
{
color
:
#666
;
color
:
#666
;
font-size
:
12px
;
font-size
:
12px
;
margin-right
:
10px
;
margin-right
:
10px
;
}
}
.productQueryList
li
.d3
p
>
em
{
.productQueryList
li
.d3
p
>
em
{
background
:
#ff9c00
;
background
:
#ff9c00
;
font-style
:
normal
;
font-style
:
normal
;
margin-left
:
8px
;
margin-left
:
8px
;
color
:
#fff
;
color
:
#fff
;
border-radius
:
4px
;
border-radius
:
4px
;
padding
:
2px
5px
;
padding
:
2px
5px
;
}
}
.productQueryList
li
.d4
{
.productQueryList
li
.d4
{
width
:
10%
;
width
:
10%
;
padding-left
:
20px
;
padding-left
:
20px
;
padding-top
:
20px
;
padding-top
:
20px
;
}
}
.productQueryList
li
.d4
p
span
.price
{
.productQueryList
li
.d4
p
span
.price
{
color
:
#333
;
color
:
#333
;
text-decoration
:
underline
;
text-decoration
:
underline
;
font-size
:
12px
;
font-size
:
12px
;
}
}
.productQueryList
li
.d4
p
span
.price
:hover
{
.productQueryList
li
.d4
p
span
.price
:hover
{
color
:
#e95252
;
color
:
#e95252
;
font-weight
:
bold
;
font-weight
:
bold
;
cursor
:
pointer
;
cursor
:
pointer
;
}
}
.productQueryList
li
.d5
{
.productQueryList
li
.d5
{
width
:
15%
;
width
:
15%
;
padding-left
:
40px
;
padding-left
:
40px
;
padding-top
:
20px
;
padding-top
:
20px
;
}
}
.productQueryList
li
.d5
p
{
.productQueryList
li
.d5
p
{
line-height
:
26px
;
line-height
:
26px
;
}
}
.productQueryList
li
.d5
p
>
span
{
.productQueryList
li
.d5
p
>
span
{
color
:
#666
;
color
:
#666
;
font-size
:
12px
;
font-size
:
12px
;
margin-right
:
10px
;
margin-right
:
10px
;
}
}
.productQueryList
li
.d5
p
>
i
{
.productQueryList
li
.d5
p
>
i
{
font-weight
:
bold
;
font-weight
:
bold
;
font-style
:
normal
;
font-style
:
normal
;
}
}
.productQueryList
li
.d8
{
.productQueryList
li
.d8
{
width
:
15%
;
width
:
15%
;
padding-left
:
40px
;
padding-left
:
40px
;
padding-top
:
20px
;
padding-top
:
20px
;
}
}
.productQueryList
li
.d8
p
{
.productQueryList
li
.d8
p
{
line-height
:
26px
;
line-height
:
26px
;
}
}
.productQueryList
li
.d8
p
>
span
{
.productQueryList
li
.d8
p
>
span
{
color
:
#666
;
color
:
#666
;
font-size
:
12px
;
font-size
:
12px
;
margin-right
:
10px
;
margin-right
:
10px
;
}
}
.productQueryList
li
.d8
p
>
i
{
.productQueryList
li
.d8
p
>
i
{
font-style
:
normal
;
font-style
:
normal
;
}
}
.productQueryList
li
.d6
{
.productQueryList
li
.d6
{
padding
:
20px
40px
;
padding
:
20px
40px
;
width
:
100%
;
width
:
100%
;
height
:
inherit
;
height
:
inherit
;
border-top
:
1px
solid
#e5e5e5
;
border-top
:
1px
solid
#e5e5e5
;
}
}
.productQueryList
li
.d6
p
{
.productQueryList
li
.d6
p
{
display
:
table-cell
;
display
:
table-cell
;
color
:
#e95252
;
color
:
#e95252
;
}
}
.productQueryList
li
.d6
p
:nth-child
(
1
)
{
.productQueryList
li
.d6
p
:nth-child
(
1
)
{
width
:
60px
;
width
:
60px
;
font-size
:
12px
;
font-size
:
12px
;
}
}
.productQueryList
li
.d7
{
.productQueryList
li
.d7
{
width
:
10%
;
width
:
10%
;
min-width
:
160px
;
min-width
:
160px
;
text-align
:
center
;
text-align
:
center
;
padding
:
40px
20px
;
padding
:
40px
20px
;
border-right
:
none
;
border-right
:
none
;
}
}
.productQueryList
li
.d7
button
{
.productQueryList
li
.d7
button
{
width
:
30px
;
width
:
30px
;
height
:
30px
;
height
:
30px
;
border-radius
:
4px
;
border-radius
:
4px
;
}
}
.productQueryList
li
.d7
.el-button--primary
{
.productQueryList
li
.d7
.el-button--primary
{
padding
:
5px
;
padding
:
5px
;
margin
:
0
;
margin
:
0
;
font-size
:
14px
!important
;
font-size
:
14px
!important
;
color
:
#fff
;
color
:
#fff
;
}
}
.productQueryList
li
.d7
i
.iconfont
{
.productQueryList
li
.d7
i
.iconfont
{
color
:
#fff
;
color
:
#fff
;
margin
:
0
;
margin
:
0
;
}
}
.pro_tripDetails
{
.pro_tripDetails
{
padding
:
0
;
padding
:
0
;
box-shadow
:
0px
1px
3px
0px
#dedede
;
box-shadow
:
0px
1px
3px
0px
#dedede
;
max-height
:
400px
;
max-height
:
400px
;
overflow-y
:
auto
;
overflow-y
:
auto
;
}
}
.pro_tripDetails
.popper__arrow
::after
{
.pro_tripDetails
.popper__arrow
::after
{
border-bottom-color
:
#ededed
!important
;
border-bottom-color
:
#ededed
!important
;
}
}
.pro_tripDetails
table
{
.pro_tripDetails
table
{
padding
:
10px
0
0
20px
;
padding
:
10px
0
0
20px
;
background-color
:
#ededed
;
background-color
:
#ededed
;
border-collapse
:
collapse
;
border-collapse
:
collapse
;
border
:
1px
solid
#d2d2d2
;
border
:
1px
solid
#d2d2d2
;
font-size
:
12px
;
font-size
:
12px
;
}
}
.pro_tripDetails
table
th
{
.pro_tripDetails
table
th
{
background-color
:
#ededed
;
background-color
:
#ededed
;
padding
:
5px
;
padding
:
5px
;
}
}
.pro_tripDetails
table
td
{
.pro_tripDetails
table
td
{
background-color
:
#ffffff
;
background-color
:
#ffffff
;
padding
:
9px
15px
;
padding
:
9px
15px
;
color
:
#333333
;
color
:
#333333
;
border
:
1px
solid
#d2d2d2
;
border
:
1px
solid
#d2d2d2
;
}
}
.pro_tripDetails
table
td
._d_name
{
.pro_tripDetails
table
td
._d_name
{
background-color
:
#ededed
;
background-color
:
#ededed
;
}
}
.pro_tripDetails
table
._color_666
{
.pro_tripDetails
table
._color_666
{
color
:
#666666
;
color
:
#666666
;
}
}
.pro_tripDetails
table
tr
._color_666
th
{
.pro_tripDetails
table
tr
._color_666
th
{
padding
:
9px
15px
;
padding
:
9px
15px
;
}
}
.productQuerybottomLayer
{
.productQuerybottomLayer
{
overflow
:
auto
;
overflow
:
auto
;
position
:
fixed
;
position
:
fixed
;
max-height
:
300px
;
max-height
:
300px
;
z-index
:
50
;
z-index
:
50
;
bottom
:
0
;
bottom
:
0
;
left
:
0
;
left
:
0
;
border-top
:
3px
solid
#38425d
;
border-top
:
3px
solid
#38425d
;
background-color
:
#ffffff
;
background-color
:
#ffffff
;
padding
:
10px
10px
0
;
padding
:
10px
10px
0
;
width
:
100%
;
width
:
100%
;
}
}
.productQuerybottomLayer
.el-form-item__label
{
.productQuerybottomLayer
.el-form-item__label
{
font-size
:
12px
!important
;
font-size
:
12px
!important
;
}
}
.productQuerybottomLayer
>
p
{
.productQuerybottomLayer
>
p
{
border-left
:
3px
solid
#e95252
;
border-left
:
3px
solid
#e95252
;
text-indent
:
15px
;
text-indent
:
15px
;
height
:
16px
;
height
:
16px
;
font-family
:
"PingFangSc-Fine"
;
font-family
:
"PingFangSc-Fine"
;
font-size
:
16px
;
font-size
:
16px
;
margin-bottom
:
20px
;
margin-bottom
:
20px
;
line-height
:
14px
;
line-height
:
14px
;
color
:
#000
;
color
:
#000
;
}
}
.productQuerybottomLayer
.el-input
{
.productQuerybottomLayer
.el-input
{
width
:
auto
!important
;
width
:
auto
!important
;
}
}
.productQueryList
.disabledBtn
{
.productQueryList
.disabledBtn
{
background
:
#999
!important
;
background
:
#999
!important
;
border-color
:
#999
!important
;
border-color
:
#999
!important
;
}
}
.product_union
{
.product_union
{
position
:
absolute
;
position
:
absolute
;
top
:
0px
;
top
:
0px
;
left
:
0px
;
left
:
0px
;
width
:
0px
;
width
:
0px
;
height
:
0px
;
height
:
0px
;
border-top
:
15px
solid
red
;
border-top
:
15px
solid
red
;
border-bottom
:
15px
solid
transparent
;
border-bottom
:
15px
solid
transparent
;
border-left
:
15px
solid
red
;
border-left
:
15px
solid
red
;
border-right
:
15px
solid
transparent
;
border-right
:
15px
solid
transparent
;
}
}
.product_union
::after
{
.product_union
::after
{
content
:
"联"
;
content
:
"联"
;
position
:
absolute
;
position
:
absolute
;
top
:
-14px
;
top
:
-14px
;
left
:
-11px
;
left
:
-11px
;
white-space
:
nowrap
;
white-space
:
nowrap
;
color
:
#ffffff
;
color
:
#ffffff
;
font-size
:
12px
;
font-size
:
12px
;
}
}
.product_union1
{
.product_union1
{
position
:
absolute
;
position
:
absolute
;
top
:
0px
;
top
:
0px
;
left
:
0px
;
left
:
0px
;
width
:
0px
;
width
:
0px
;
height
:
0px
;
height
:
0px
;
border-top
:
15px
solid
red
;
border-top
:
15px
solid
red
;
border-bottom
:
15px
solid
transparent
;
border-bottom
:
15px
solid
transparent
;
border-left
:
15px
solid
red
;
border-left
:
15px
solid
red
;
border-right
:
15px
solid
transparent
;
border-right
:
15px
solid
transparent
;
}
}
.product_union1
::after
{
.product_union1
::after
{
content
:
"内"
;
content
:
"内"
;
position
:
absolute
;
position
:
absolute
;
top
:
-14px
;
top
:
-14px
;
left
:
-11px
;
left
:
-11px
;
white-space
:
nowrap
;
white-space
:
nowrap
;
color
:
#ffffff
;
color
:
#ffffff
;
font-size
:
12px
;
font-size
:
12px
;
}
}
.product_warning
{
.product_warning
{
position
:
absolute
;
position
:
absolute
;
top
:
0px
;
top
:
0px
;
right
:
0px
;
right
:
0px
;
width
:
0px
;
width
:
0px
;
height
:
0px
;
height
:
0px
;
border-top
:
10px
solid
red
;
border-top
:
10px
solid
red
;
border-bottom
:
10px
solid
transparent
;
border-bottom
:
10px
solid
transparent
;
border-left
:
10px
solid
transparent
;
border-left
:
10px
solid
transparent
;
border-right
:
10px
solid
red
;
border-right
:
10px
solid
red
;
}
}
.product_warning
::after
{
.product_warning
::after
{
content
:
"!"
;
content
:
"!"
;
position
:
absolute
;
position
:
absolute
;
top
:
-12px
;
top
:
-12px
;
right
:
-5px
;
right
:
-5px
;
white-space
:
nowrap
;
white-space
:
nowrap
;
color
:
#ffffff
;
color
:
#ffffff
;
font-size
:
12px
;
font-size
:
12px
;
}
}
.PQ_detail
{
.PQ_detail
{
width
:
100%
;
width
:
100%
;
border-collapse
:
collapse
;
border-collapse
:
collapse
;
}
}
.PQ_detail
tr
th
,
.PQ_detail
tr
th
,
.v-table-title-cell
{
.v-table-title-cell
{
background
:
#e6e6e6
;
background
:
#e6e6e6
;
height
:
40px
;
height
:
40px
;
font-size
:
14px
;
font-size
:
14px
;
border-right
:
1px
solid
#e6e6e6
;
border-right
:
1px
solid
#e6e6e6
;
color
:
#333
;
color
:
#333
;
}
}
.PQ_detail
tr
{
.PQ_detail
tr
{
background
:
#fff
;
background
:
#fff
;
text-align
:
center
;
text-align
:
center
;
height
:
40px
;
height
:
40px
;
}
}
.PQ_detail
tr
td
{
.PQ_detail
tr
td
{
font-size
:
12px
;
font-size
:
12px
;
border
:
1px
solid
#e5e5e5
;
border
:
1px
solid
#e5e5e5
;
}
}
.PQ_HotelPop
{
.PQ_HotelPop
{
overflow
:
auto
;
overflow
:
auto
;
max-height
:
350px
;
max-height
:
350px
;
}
}
.PQ_HotelPop
table
td
{
.PQ_HotelPop
table
td
{
padding
:
5px
0
;
padding
:
5px
0
;
text-align
:
center
;
text-align
:
center
;
}
}
.PQ_HotelPop
table
th
{
.PQ_HotelPop
table
th
{
text-align
:
center
;
text-align
:
center
;
}
}
.productQuerybottomLayer
.el-upload-list
{
.productQuerybottomLayer
.el-upload-list
{
width
:
200px
;
width
:
200px
;
}
}
</
style
>
</
style
>
<
template
>
<
template
>
<div
class=
"productQueryList"
v-loading=
"loading"
>
<div
class=
"productQueryList"
v-loading=
"loading"
>
<ul
v-if=
"list.length != 0"
>
<ul
v-if=
"list.length != 0"
>
<li
v-for=
"(item, index) in list"
:key=
"index"
>
<li
v-for=
"(item, index) in list"
:key=
"index"
>
<div
class=
"dline"
>
<div
class=
"dline"
>
<div
class=
"d1"
>
<div
class=
"d1"
>
<div
v-if=
"item.IsB2B === 0"
class=
"product_union1"
></div>
<div
v-if=
"item.IsB2B === 0"
class=
"product_union1"
></div>
<div
v-if=
"item.IsUnionTravel === 1"
class=
"product_union"
></div>
<div
v-if=
"item.IsUnionTravel === 1"
class=
"product_union"
></div>
<div
v-if=
"item.IsWarning === 1"
class=
"product_warning"
></div>
<div
v-if=
"item.IsWarning === 1"
class=
"product_warning"
></div>
<div
class=
"d12"
style=
"float: none; margin: auto"
:style=
"
{'width': pagesTitle=='跟团游产品'?'200px':'auto'}">
<div
class=
"d12"
style=
"float: none; margin: auto"
:style=
"
{'width': pagesTitle=='跟团游产品'?'200px':'auto'}">
<p><i
class=
"iconfont icon-biaoti1"
></i>
{{
item
.
LineName
}}
</p>
<p><i
class=
"iconfont icon-biaoti1"
></i>
{{
item
.
LineName
}}
</p>
<p
class=
"d12TC"
>
{{
item
.
TCNUM
}}
(
{{
item
.
TCID
}}
)
</p>
<p
class=
"d12TC"
>
{{
item
.
TCNUM
}}
(
{{
item
.
TCID
}}
)
</p>
<p>
{{
item
.
LtName
}}
</p>
<p>
{{
item
.
LtName
}}
</p>
<el-tooltip
class=
"item"
effect=
"dark"
:content=
"item.Title"
placement=
"top-start"
<el-tooltip
class=
"item"
effect=
"dark"
:content=
"item.Title"
placement=
"top-start"
popper-class=
"max-w250"
>
popper-class=
"max-w250"
>
<p
class=
"d12p"
@
click=
"getTitledetail(item)"
:title=
"item.Title"
>
<p
class=
"d12p"
@
click=
"getTitledetail(item)"
:title=
"item.Title"
>
{{
item
.
Title
}}
{{
item
.
Title
}}
</p>
</el-tooltip>
<p
v-if=
"item.CustomerName&&item.CustomerName!=''"
style=
"font-size: 11px;font-weight:bold;color:red"
>
<span
v-if=
"item.CustomerName"
>
客户名称:
{{
item
.
CustomerName
}}
</span>
</p>
</p>
<!--
<p
v-if=
"item.PriceOfferUrl&&item.PriceOfferUrl!=''"
>
</el-tooltip>
<p
v-if=
"item.CustomerName&&item.CustomerName!=''"
style=
"font-size: 11px;font-weight:bold;color:red"
>
<span
v-if=
"item.CustomerName"
>
客户名称:
{{
item
.
CustomerName
}}
</span>
</p>
<!--
<p
v-if=
"item.PriceOfferUrl&&item.PriceOfferUrl!=''"
>
<a
style=
"color:blue;"
:href=
"item.PriceOfferUrl"
v-if=
"item.PriceOfferUrl"
target=
"_blank"
>
下载报价单
</a>
<a
style=
"color:blue;"
:href=
"item.PriceOfferUrl"
v-if=
"item.PriceOfferUrl"
target=
"_blank"
>
下载报价单
</a>
</p>
-->
</p>
-->
</div>
</div>
</div>
<div
class=
"d2"
v-if=
"pagesTitle=='跟团游产品'"
>
</div>
<p
style=
"text-align: left; text-indent: 50px"
>
<div
class=
"d2"
v-if=
"pagesTitle=='跟团游产品'"
>
<i
class=
"iconfont icon-hangban1"
></i>
{{
$t
(
"salesModule.GoFlight"
)
}}
<p
style=
"text-align: left; text-indent: 50px"
>
</p>
<i
class=
"iconfont icon-hangban1"
></i>
{{
$t
(
"salesModule.GoFlight"
)
}}
<p
class=
"flightNo"
>
</p>
<em
class=
"fl flem"
<p
class=
"flightNo"
>
:title=
"item.flightList[0] && item.flightList[0].AlName"
>
{{
item
.
flightList
[
0
]
&&
item
.
flightList
[
0
].
AlName
}}
</em>
<em
class=
"fl flem"
<em
class=
"fr"
>
{{
:title=
"item.flightList[0] && item.flightList[0].AlName"
>
{{
item
.
flightList
[
0
]
&&
item
.
flightList
[
0
].
AlName
}}
</em>
<em
class=
"fr"
>
{{
item
.
flightList
[
0
]
&&
item
.
flightList
[
0
].
Flight_number
item
.
flightList
[
0
]
&&
item
.
flightList
[
0
].
Flight_number
}}
</em>
}}
</em>
</p>
</p>
<div>
<div>
<div>
<div>
<p>
<p>
{{
{{
item
.
flightList
[
0
]
&&
item
.
flightList
[
0
].
DepartureName
item
.
flightList
[
0
]
&&
item
.
flightList
[
0
].
DepartureName
}}
---------
{{
}}
---------
{{
item
.
flightList
[
0
]
&&
item
.
flightList
[
0
].
ArrivalCityName
item
.
flightList
[
0
]
&&
item
.
flightList
[
0
].
ArrivalCityName
}}
}}
</p>
</p>
<p>
<p>
<span
style=
"background-color: transparent; color: #000000"
>
{{
<span
style=
"background-color: transparent; color: #000000"
>
{{
item
.
flightList
[
0
]
&&
item
.
flightList
[
0
].
Departure_time
item
.
flightList
[
0
]
&&
item
.
flightList
[
0
].
Departure_time
}}
</span>
}}
</span>
<el-popover
width=
"900"
trigger=
"click"
popper-class=
"pro_tripDetails"
>
<el-popover
width=
"900"
trigger=
"click"
popper-class=
"pro_tripDetails"
>
<table
width=
"100%"
border=
"0"
cellspacing=
"0"
cellpadding=
"0"
>
<table
width=
"100%"
border=
"0"
cellspacing=
"0"
cellpadding=
"0"
>
<tr
class=
"_color_666"
style=
"text-align: center"
>
<tr
class=
"_color_666"
style=
"text-align: center"
>
<th
width=
"60"
>
{{
$t
(
"Airticket.Air_segment"
)
}}
</th>
<th
width=
"60"
>
{{
$t
(
"Airticket.Air_segment"
)
}}
</th>
<th
width=
"80"
>
{{
$t
(
"system.query_flightNum"
)
}}
</th>
<th
width=
"80"
>
{{
$t
(
"system.query_flightNum"
)
}}
</th>
<th
width=
"150"
>
{{
$t
(
"system.ph_flightTime"
)
}}
</th>
<th
width=
"150"
>
{{
$t
(
"system.ph_flightTime"
)
}}
</th>
<th
width=
"80"
>
<th
width=
"80"
>
{{
$t
(
"system.query_arrivalTime"
)
}}
{{
$t
(
"system.query_arrivalTime"
)
}}
</th>
</th>
<th
width=
"100"
>
{{
$t
(
"system.query_stopCity"
)
}}
</th>
<th
width=
"100"
>
{{
$t
(
"system.query_stopCity"
)
}}
</th>
<th
width=
"60"
>
{{
$t
(
"admin.admin_status"
)
}}
</th>
<th
width=
"60"
>
{{
$t
(
"admin.admin_status"
)
}}
</th>
</tr>
</tr>
<tr
v-for=
"(ds, din) in tripDetails"
:key=
"din"
style=
"text-align: center"
>
<tr
v-for=
"(ds, din) in tripDetails"
:key=
"din"
style=
"text-align: center"
>
<td
class=
"_d_name _color_666"
>
<td
class=
"_d_name _color_666"
>
<span
v-if=
"din == 0"
>
{{
<span
v-if=
"din == 0"
>
{{
$t
(
"Airticket.Air_go"
)
$t
(
"Airticket.Air_go"
)
}}
</span>
}}
</span>
<span
v-else-if=
"din == tripDetails.length - 1"
>
{{
<span
v-else-if=
"din == tripDetails.length - 1"
>
{{
$t
(
"Airticket.Air_returnTrip"
)
$t
(
"Airticket.Air_returnTrip"
)
}}
</span>
}}
</span>
<span
v-else-if=
"
<span
v-else-if=
"
din > 0 && din != tripDetails.length - 1
din > 0 && din != tripDetails.length - 1
"
>
{{
$t
(
"Airticket.Air_transit"
)
}}
</span>
"
>
{{
$t
(
"Airticket.Air_transit"
)
}}
</span>
</td>
</td>
<td>
<td>
<div>
{{
ds
.
Flight_number
}}
</div>
<div>
{{
ds
.
Flight_number
}}
</div>
<div
style=
"margin-top: 5px"
>
{{
ds
.
AlName
}}
</div>
<div
style=
"margin-top: 5px"
>
{{
ds
.
AlName
}}
</div>
</td>
</td>
<td>
<td>
<div>
<div>
{{
ds
.
FlightDate
}}
{{
ds
.
Departure_time
}}
{{
ds
.
FlightDate
}}
{{
ds
.
Departure_time
}}
</div>
</div>
<div
style=
"margin-top: 5px"
>
{{
ds
.
dName
}}
</div>
<div
style=
"margin-top: 5px"
>
{{
ds
.
dName
}}
</div>
</td>
</td>
<td>
<td>
<div>
<div>
{{
ds
.
FlightArrivalTime
}}
{{
ds
.
Arrival_time
}}
{{
ds
.
FlightArrivalTime
}}
{{
ds
.
Arrival_time
}}
</div>
</div>
<div
style=
"margin-top: 5px"
>
{{
ds
.
aName
}}
</div>
<div
style=
"margin-top: 5px"
>
{{
ds
.
aName
}}
</div>
</td>
</td>
<td>
{{
ds
.
StopoverName
}}
</td>
<td>
{{
ds
.
StopoverName
}}
</td>
<td>
<td>
<span
v-if=
"ds.FlightState == 1"
style=
"color: rgb(71, 191, 140) !important"
>
OK
</span>
<span
v-if=
"ds.FlightState == 1"
style=
"color: rgb(71, 191, 140) !important"
>
OK
</span>
<span
v-else
style=
"color: red !important"
>
{{
<span
v-else
style=
"color: red !important"
>
{{
$t
(
"visa.v_zanding"
)
$t
(
"visa.v_zanding"
)
}}
</span>
}}
</span>
</td>
</td>
</tr>
</tr>
</table>
</table>
<span
slot=
"reference"
@
click=
"getDetails(index)"
>
{{
<span
slot=
"reference"
@
click=
"getDetails(index)"
>
{{
$t
(
"Airticket.Air_backAndforth"
)
$t
(
"Airticket.Air_backAndforth"
)
}}
</span>
}}
</span>
</el-popover>
</el-popover>
<span
style=
"background-color: transparent; color: #000000"
>
{{
<span
style=
"background-color: transparent; color: #000000"
>
{{
item
.
flightList
[
0
]
&&
item
.
flightList
[
0
].
Arrival_time
item
.
flightList
[
0
]
&&
item
.
flightList
[
0
].
Arrival_time
}}
</span>
}}
</span>
</p>
</p>
</div>
</div>
<div>
<div>
<p>
{{
item
.
ACityName
}}
</p>
<p>
{{
item
.
ACityName
}}
</p>
<p>
{{
item
.
Arrival_time
}}
</p>
<p>
{{
item
.
Arrival_time
}}
</p>
</div>
</div>
</div>
</div>
</div>
<div
class=
"d3"
v-if=
"pagesTitle=='跟团游产品'"
>
</div>
<p>
<div
class=
"d3"
v-if=
"pagesTitle=='跟团游产品'"
>
<i
class=
"iconfont icon-tuandui"
></i>
{{
$t
(
"visa.v_teaminfo"
)
<p>
<i
class=
"iconfont icon-tuandui"
></i>
{{
$t
(
"visa.v_teaminfo"
)
}}
<em>
{{
item
.
DayNum
}}{{
$t
(
"hotel.hotel_day"
)
}}{{
item
.
NightNum
}}
<em>
{{
item
.
DayNum
}}{{
$t
(
"hotel.hotel_day"
)
}}{{
item
.
NightNum
}}{{
$t
(
"Operation.Op_night"
)
}}
</em>
}}{{
$t
(
"Operation.Op_night"
)
}}
</em>
</p>
</p>
<p>
<p>
<span>
{{
$t
(
"Airticket.Air_StartTime"
)
}}
</span>
{{
item
.
StartDate
}}
<span>
{{
$t
(
"Airticket.Air_StartTime"
)
}}
</span>
{{
item
.
StartDate
}}
</p>
</p>
<p>
<p>
<span>
{{
$t
(
"system.table_goCity"
)
}}
</span>
{{
item
.
StartCityName
}}
<span>
{{
$t
(
"system.table_goCity"
)
}}
</span>
{{
item
.
StartCityName
}}
</p>
</p>
<p>
<p>
<span>
{{
$t
(
"salesModule.BackCity"
)
}}
</span>
{{
item
.
ReturnArriveCityName
}}
<span>
{{
$t
(
"salesModule.BackCity"
)
}}
</span>
{{
item
.
ReturnArriveCityName
}}
</p>
</p>
<p>
<p>
<span>
{{
$t
(
"scen.sc_cp"
)
}}
</span>
{{
item
.
OutBranchName
}}
<span>
{{
$t
(
"scen.sc_cp"
)
}}
</span>
{{
item
.
OutBranchName
}}
<span
class=
"TC_neibu"
style=
"float: inherit;color: #ffffff;margin-left: 5px;"
<span
class=
"TC_neibu"
style=
"float: inherit;color: #ffffff;margin-left: 5px;"
v-if=
"item.StandardCurrencyName"
:class=
"
{'TCneibu':item.StandardCurrencyName=='人民币','TCb2b':item.StandardCurrencyName=='日元',
v-if=
"item.StandardCurrencyName"
:class=
"
{'TCneibu':item.StandardCurrencyName=='人民币','TCb2b':item.StandardCurrencyName=='日元',
'TCb2c':item.StandardCurrencyName=='新台币','AppPlat':item.StandardCurrencyName=='',
'TCb2c':item.StandardCurrencyName=='新台币','AppPlat':item.StandardCurrencyName=='',
'otherPlat':item.StandardCurrencyName=='',}">
{{
item
.
StandardCurrencyName
}}
结算
</span>
'otherPlat':item.StandardCurrencyName=='',}">
{{
item
.
StandardCurrencyName
}}
结算
</span>
</p>
</p>
<p
v-show=
"item.ClearOrderHour > 0"
>
<p
v-show=
"item.ClearOrderHour > 0"
>
<span>
{{
$t
(
"salesModule.THQW"
)
}}
</span>
<span>
{{
$t
(
"salesModule.THQW"
)
}}
</span>
<span
class=
"TCL-greenType"
>
{{
item
.
ClearOrderHour
}}{{
$t
(
"salesModule.Hour"
)
}}
</span>
<span
class=
"TCL-greenType"
>
{{
item
.
ClearOrderHour
}}{{
$t
(
"salesModule.Hour"
)
}}
</span>
</p>
</p>
<p
v-show=
"item.SaleClearOrderHour && item.SaleClearOrderHour > 0"
>
<p
v-show=
"item.SaleClearOrderHour && item.SaleClearOrderHour > 0"
>
<span>
{{
$t
(
"salesModule.XSQW"
)
}}
</span>
<span>
{{
$t
(
"salesModule.XSQW"
)
}}
</span>
<span
class=
"TCL-greenType"
>
{{
item
.
SaleClearOrderHour
<span
class=
"TCL-greenType"
>
{{
item
.
SaleClearOrderHour
}}{{
$t
(
"salesModule.Hour"
)
}}
</span>
}}{{
$t
(
"salesModule.Hour"
)
}}
</span>
</p>
</p>
<p
v-if=
"
<p
v-if=
"
item.LineID == 14 &&
item.LineID == 14 &&
item.HotelOrderListReports &&
item.HotelOrderListReports &&
item.HotelOrderListReports.length > 0
item.HotelOrderListReports.length > 0
"
>
"
>
<el-popover
width=
"600"
trigger=
"click"
popper-class=
"PQ_HotelPop"
>
<el-popover
width=
"600"
trigger=
"click"
popper-class=
"PQ_HotelPop"
>
<commonHotelInfo
:HotelObj=
"item.HotelOrderListReports"
:showHotelObj=
"showHotelObj"
>
<commonHotelInfo
:HotelObj=
"item.HotelOrderListReports"
:showHotelObj=
"showHotelObj"
>
</commonHotelInfo>
</commonHotelInfo>
<span
slot=
"reference"
class=
"price"
style=
"cursor: pointer; text-decoration: underline"
<span
slot=
"reference"
class=
"price"
style=
"cursor: pointer; text-decoration: underline"
@
click=
"clickHotel(item.TCID, item.LineID, item.ltID)"
>
{{
$t
(
"salesModule.HotelOrder"
)
}}
</span>
@
click=
"clickHotel(item.TCID, item.LineID, item.ltID)"
>
{{
$t
(
"salesModule.HotelOrder"
)
}}
</span>
</el-popover>
</el-popover>
</p>
</p>
</div>
</div>
<div
class=
"d4"
>
<div
class=
"d4"
>
<p>
<p>
<i
class=
"iconfont icon-jiage"
></i>
{{
$t
(
"Operation.Op_PriceInfo"
)
}}
<i
class=
"iconfont icon-jiage"
></i>
{{
$t
(
"Operation.Op_PriceInfo"
)
}}
</p>
</p>
<p
style=
"
<p
style=
"
color: #47bf8c;
color: #47bf8c;
font-size: 16px;
font-size: 16px;
font-weight: bold;
font-weight: bold;
margin: 5px 0;
margin: 5px 0;
"
>
"
>
{{
$t
(
"Operation.Op_tradePrice"
)
}}
:¥
{{
{{
$t
(
"Operation.Op_tradePrice"
)
}}
:¥
{{
item
.
B2BMemberPrice
|
priceFormat
(
item
.
B2BMemberPrice
)
item
.
B2BMemberPrice
|
priceFormat
(
item
.
B2BMemberPrice
)
}}
<br
/>
}}
<br
/>
{{
$t
(
"Operation.Op_directPrice"
)
}}
:¥
{{
{{
$t
(
"Operation.Op_directPrice"
)
}}
:¥
{{
item
.
B2CMemberPrice
|
priceFormat
(
item
.
B2CMemberPrice
)
item
.
B2CMemberPrice
|
priceFormat
(
item
.
B2CMemberPrice
)
}}
}}
</p>
</p>
<p>
<p>
<el-popover
width=
"630"
trigger=
"click"
>
<el-popover
width=
"630"
trigger=
"click"
>
<table
class=
"PQ_detail"
>
<table
class=
"PQ_detail"
>
<tr>
<tr>
<td
:colspan=
"pagesTitle=='跟团游产品'?'6':'5'"
style=
"text-align: left; padding-left: 10px"
>
<td
:colspan=
"pagesTitle=='跟团游产品'?'6':'5'"
style=
"text-align: left; padding-left: 10px"
>
{{
$t
(
"salesModule.BasePrice"
)
}}
{{
$t
(
"salesModule.BasePrice"
)
}}
</td>
</td>
</tr>
</tr>
<tr>
<tr>
<th
v-if=
"pagesTitle=='跟团游产品'"
>
{{
$t
(
"advmanager.v_type"
)
}}
</th>
<th
v-if=
"pagesTitle=='跟团游产品'"
>
{{
$t
(
"advmanager.v_type"
)
}}
</th>
<th>
{{
$t
(
"salesModule.HYTHJ"
)
}}
</th>
<th>
{{
$t
(
"salesModule.HYTHJ"
)
}}
</th>
<th>
{{
$t
(
"salesModule.PTTHJ"
)
}}
</th>
<th>
{{
$t
(
"salesModule.PTTHJ"
)
}}
</th>
<th>
{{
$t
(
"salesModule.ZKHYJ"
)
}}
</th>
<th>
{{
$t
(
"salesModule.ZKHYJ"
)
}}
</th>
<th
colspan=
"2"
>
{{
$t
(
"salesModule.PTZKJ"
)
}}
</th>
<th
colspan=
"2"
>
{{
$t
(
"salesModule.PTZKJ"
)
}}
</th>
</tr>
</tr>
<tr>
<tr>
<td
v-if=
"pagesTitle=='跟团游产品'"
>
{{
$t
(
"salesModule.Adult"
)
}}
</td>
<td
v-if=
"pagesTitle=='跟团游产品'"
>
{{
$t
(
"salesModule.Adult"
)
}}
</td>
<td>
<td>
{{
{{
item
.
B2BMemberPrice
|
priceFormat
(
item
.
B2BMemberPrice
)
item
.
B2BMemberPrice
|
priceFormat
(
item
.
B2BMemberPrice
)
}}
}}
</td>
</td>
<td>
{{
item
.
B2BPrice
|
priceFormat
(
item
.
B2BPrice
)
}}
</td>
<td>
{{
item
.
B2BPrice
|
priceFormat
(
item
.
B2BPrice
)
}}
</td>
<td>
<td>
{{
{{
item
.
B2CMemberPrice
|
priceFormat
(
item
.
B2CMemberPrice
)
item
.
B2CMemberPrice
|
priceFormat
(
item
.
B2CMemberPrice
)
}}
}}
</td>
</td>
<td
colspan=
"2"
>
{{
item
.
B2CPrice
|
priceFormat
(
item
.
B2CPrice
)
}}
</td>
<td
colspan=
"2"
>
{{
item
.
B2CPrice
|
priceFormat
(
item
.
B2CPrice
)
}}
</td>
</tr>
</tr>
<template
v-if=
"pagesTitle=='跟团游产品'"
>
<template
v-if=
"pagesTitle=='跟团游产品'"
>
<tr>
<tr>
<td>
{{
$t
(
"salesModule.ChildBed"
)
}}
</td>
<td>
{{
$t
(
"salesModule.ChildBed"
)
}}
</td>
<td>
<td>
...
@@ -788,115 +788,118 @@
...
@@ -788,115 +788,118 @@
<td>
{{
item
.
TipAmount
?
item
.
TipAmount
:
'0.00'
}}
</td>
<td>
{{
item
.
TipAmount
?
item
.
TipAmount
:
'0.00'
}}
</td>
</tr>
</tr>
</
template
>
</
template
>
</table>
</table>
<span
slot=
"reference"
class=
"price"
>
{{
<span
slot=
"reference"
class=
"price"
>
{{
$t("Operation.Op_priceDetail")
$t("Operation.Op_priceDetail")
}}
</span>
}}
</span>
</el-popover>
</el-popover>
</p>
</p>
</div>
</div>
<div
class=
"d5"
>
<div
class=
"d5"
>
<p>
<p>
<i
class=
"iconfont icon-tuanwei"
></i>
{{ $t("visa.v_tuanweiinfo") }}
<i
class=
"iconfont icon-tuanwei"
></i>
{{ $t("visa.v_tuanweiinfo") }}
</p>
</p>
<p>
<p>
<span>
{{ $t("visa.v_currentseat") }}
</span><i
:style=
"item.SurplusSeat < 0 ? 'color: red' : ''"
>
{{
<span>
{{ $t("visa.v_currentseat") }}
</span><i
:style=
"item.SurplusSeat < 0 ? 'color: red' : ''"
>
{{
item.SurplusSeat
item.SurplusSeat
}}
</i>
}}
</i>
</p>
</p>
<p>
<p>
<span>
{{ $t("visa.v_yibaoru") }}
</span><i>
{{ item.Seat == "" ? "0" : item.Seat
<span>
{{ $t("visa.v_yibaoru") }}
</span><i>
{{ item.Seat == "" ? "0" : item.Seat
}}{{ $t("salesModule.PeoPle") }}
</i>
({{ $t("Operation.Op_takeSeat") }}:{{ item.Occupied
}}{{ $t("salesModule.PeoPle") }}
</i>
({{ $t("Operation.Op_takeSeat") }}:{{ item.Occupied
}}{{ $t("salesModule.PeoPle") }})
}}{{ $t("salesModule.PeoPle") }})
</p>
</p>
<p>
<p>
<span>
{{ $t("visa.v_houbu") }}
</span>
<span>
{{ $t("visa.v_houbu") }}
</span>
<em
v-if=
"item.IsSubstitution == 1"
>
{{ $t("salesModule.KYHB") }}({{ $t("visa.v_houbu")
<em
v-if=
"item.IsSubstitution == 1"
>
{{ $t("salesModule.KYHB") }}({{ $t("visa.v_houbu")
}}{{ item.SubstitutionCount
}}{{ item.SubstitutionCount
}}{{ $t("salesModule.PeoPle") }})
</em>
}}{{ $t("salesModule.PeoPle") }})
</em>
<em
v-if=
"item.IsSubstitution != 1"
style=
"color: #e95252"
>
{{
<em
v-if=
"item.IsSubstitution != 1"
style=
"color: #e95252"
>
{{
$t("salesModule.RefuseHB")
$t("salesModule.RefuseHB")
}}
</em>
}}
</em>
</p>
</p>
<p
v-if=
"pagesTitle=='跟团游产品'"
>
<p
v-if=
"pagesTitle=='跟团游产品'"
>
<span>
操作OP
</span><i
style=
"font-weight: normal"
>
{{ item.OPName }}
</i>
<span>
操作OP
</span><i
style=
"font-weight: normal"
>
{{ item.OPName }}
</i>
</p>
</p>
</div>
</div>
<div
class=
"d8"
v-if=
"pagesTitle=='跟团游产品'"
>
<div
class=
"d8"
v-if=
"pagesTitle=='跟团游产品'"
>
<p>
<p>
<i
class=
"iconfont icon-hangban1"
></i>
{{ $t("Operation.Op_Warmprompt") }}
<i
class=
"iconfont icon-hangban1"
></i>
{{ $t("Operation.Op_Warmprompt") }}
</p>
</p>
<p>
<p>
<span>
{{ $t("visa.v_sqtime") }}
</span><i>
{{
<span>
{{ $t("visa.v_sqtime") }}
</span><i>
{{
item.SendVisaTime === "" ? "未设置" : item.SendVisaTime
item.SendVisaTime === "" ? "未设置" : item.SendVisaTime
}}
</i>
}}
</i>
</p>
</p>
<p>
<p>
<span>
{{ $t("visa.v_cqtime") }}
</span><i>
{{
<span>
{{ $t("visa.v_cqtime") }}
</span><i>
{{
item.OutVisaTime === "" ? "未设置" : item.OutVisaTime
item.OutVisaTime === "" ? "未设置" : item.OutVisaTime
}}
</i>
}}
</i>
</p>
</p>
<p>
<p>
<span>
{{ $t("visa.v_kptime") }}
</span><i>
{{
<span>
{{ $t("visa.v_kptime") }}
</span><i>
{{
item.TicketDeadline === "" ? "未设置" : item.TicketDeadline
item.TicketDeadline === "" ? "未设置" : item.TicketDeadline
}}
</i>
}}
</i>
</p>
</p>
<p
v-if=
"item.VisaFileList.length !== 0"
>
<p
v-if=
"item.VisaFileList.length !== 0"
>
<span>
{{ $t("visa.v_visaInformation") }}
</span>
<span>
{{ $t("visa.v_visaInformation") }}
</span>
</p>
</p>
<p
v-if=
"item.VisaFileList.length !== 0"
v-for=
"(item2, index2) in item.VisaFileList"
:key=
"index2"
>
<p
v-if=
"item.VisaFileList.length !== 0"
v-for=
"(item2, index2) in item.VisaFileList"
:key=
"index2"
>
<span
style=
"cursor: pointer; text-decoration: underline"
<span
style=
"cursor: pointer; text-decoration: underline"
@
click=
"downloadFile(item2)"
>
{{ item2.Name }}
</span>
@
click=
"downloadFile(item2)"
>
{{ item2.Name }}
</span>
</p>
</p>
<p>
<p>
<span>
{{ $t("salesModule.TicketStatus") }}:
</span>
<span>
{{ $t("salesModule.TicketStatus") }}:
</span>
<span
class=
"fz16 fbold"
>
<span
class=
"fz16 fbold"
>
<el-tooltip
class=
"item"
effect=
"dark"
:content=
"$t('salesModule.AllTk')"
placement=
"top"
>
<el-tooltip
class=
"item"
effect=
"dark"
:content=
"$t('salesModule.AllTk')"
placement=
"top"
>
<span
style=
"color: #4bca81"
v-if=
"item.MakeInvoice == 1"
>
√
</span>
<span
style=
"color: #4bca81"
v-if=
"item.MakeInvoice == 1"
>
√
</span>
</el-tooltip>
<el-tooltip
class=
"item"
effect=
"dark"
:content=
"$t('salesModule.NotDeal')"
placement=
"top"
>
<span
style=
"color: #e95252"
v-if=
"item.MakeInvoice == '-1'"
>
x
</span>
</el-tooltip>
<el-tooltip
class=
"item"
effect=
"dark"
:content=
"$t('salesModule.YCZD')"
placement=
"top"
>
<span
style=
"color: #e95252"
v-if=
"item.MakeInvoice == '0'"
>
O
</span>
</el-tooltip>
</span>
</p>
</div>
<div
class=
"d7"
>
<el-button-group
style=
"display: block"
>
<el-tooltip
class=
"item"
effect=
"dark"
:content=
"$t('salesModule.LookBM')"
placement=
"top-start"
>
<el-button
@
click=
"
goUrl(item.TCID, item.TCNUM)
"
type=
"primary"
style=
"background-color: #00c6ff !important; border-color: #00c6ff !important"
icon=
"iconfont icon-sousuo"
>
</el-button>
</el-tooltip>
</el-tooltip>
<!--关内团后不能在报名 hk 2022-07-13去掉 && item.IsB2B === 1 修改为可报名 -->
<el-tooltip
class=
"item"
effect=
"dark"
:content=
"$t('salesModule.NotDeal')"
placement=
"top"
>
<el-tooltip
class=
"item"
effect=
"dark"
:content=
"$t('salesModule.LJXD')"
placement=
"top-start"
<span
style=
"color: #e95252"
v-if=
"item.MakeInvoice == '-1'"
>
x
</span>
v-if=
"item.IsPayOrder !== 1 "
>
<el-button
type=
"primary"
style=
"background-color: #f16c3c !important; border-color: #f16c3c !important"
v-if=
"!TCIDList"
icon=
"iconfont icon-fukuan1"
@
click=
"goBuy(item)"
></el-button>
</el-tooltip>
</el-tooltip>
<el-tooltip
class=
"item"
effect=
"dark"
:content=
"$t('Operation.Op_tripDownLoad')"
placement=
"top-start"
>
<el-tooltip
class=
"item"
effect=
"dark"
:content=
"$t('salesModule.YCZD')"
placement=
"top"
>
<el-button
@
click=
"toTrip(item)"
type=
"primary"
style=
"background-color: #47bf8c !important; border-color: #47bf8c !important"
<span
style=
"color: #e95252"
v-if=
"item.MakeInvoice == '0'"
>
O
</span>
icon=
"iconfont icon-xiazai"
></el-button>
</el-tooltip>
</el-tooltip>
<el-tooltip
v-if=
"
</span>
</p>
</div>
<div
class=
"d7"
>
<el-button-group
style=
"display: block"
>
<el-tooltip
class=
"item"
effect=
"dark"
:content=
"$t('salesModule.LookBM')"
placement=
"top-start"
>
<el-button
@
click=
"
goUrl(item.TCID, item.TCNUM)
"
type=
"primary"
style=
"background-color: #00c6ff !important; border-color: #00c6ff !important"
icon=
"iconfont icon-sousuo"
>
</el-button>
</el-tooltip>
<!--关内团后不能在报名 hk 2022-07-13去掉 && item.IsB2B === 1 修改为可报名 -->
<el-tooltip
class=
"item"
effect=
"dark"
:content=
"$t('salesModule.LJXD')"
placement=
"top-start"
v-if=
"item.IsPayOrder !== 1 "
>
<el-button
type=
"primary"
style=
"background-color: #f16c3c !important; border-color: #f16c3c !important"
v-if=
"!TCIDList"
icon=
"iconfont icon-fukuan1"
@
click=
"goBuy(item)"
></el-button>
</el-tooltip>
<el-tooltip
class=
"item"
effect=
"dark"
:content=
"$t('Operation.Op_tripDownLoad')"
placement=
"top-start"
>
<el-button
@
click=
"toTrip(item)"
type=
"primary"
style=
"background-color: #47bf8c !important; border-color: #47bf8c !important"
icon=
"iconfont icon-xiazai"
></el-button>
</el-tooltip>
<el-tooltip
v-if=
"
CurrentUserInfo.IsOpenB2C == 1 &&
CurrentUserInfo.IsOpenB2C == 1 &&
CurrentUserInfo.B2BDomain != '' &&
CurrentUserInfo.B2BDomain != '' &&
item.LineID != 2 &&
item.LineID != 2 &&
item.LineID != 8
item.LineID != 8
"
class=
"item"
effect=
"dark"
content=
"直客版预览"
placement=
"top-start"
>
"
class=
"item"
effect=
"dark"
content=
"直客版预览"
placement=
"top-start"
>
<el-button
@
click
.
native=
"goB2B(item)"
type=
"primary"
<el-button
@
click
.
native=
"goB2B(item)"
type=
"primary"
style=
"background-color: #f16c3c !important; border-color: #f16c3c !important"
icon=
"iconfont icon-view"
></el-button>
style=
"background-color: #f16c3c !important; border-color: #f16c3c !important"
</el-tooltip>
icon=
"iconfont icon-view"
></el-button>
</el-button-group>
</el-tooltip>
<el-button-group
v-show=
"qjGroupId == userInfo.RB_Group_id || S_Travel_Share"
style=
"display: block"
>
</el-button-group>
<el-tooltip
class=
"item"
effect=
"dark"
:content=
"$t('salesModule.ShareTrip')"
placement=
"top-start"
<el-button-group
v-show=
"qjGroupId == userInfo.RB_Group_id || S_Travel_Share"
style=
"display: block"
>
style=
"float: left"
>
<el-tooltip
class=
"item"
effect=
"dark"
:content=
"$t('salesModule.ShareTrip')"
placement=
"top-start"
<el-popover
width=
"180"
trigger=
"click"
>
style=
"float: left"
>
<div
class=
"w150"
v-loading=
"wxLoading"
>
<el-popover
width=
"180"
trigger=
"click"
>
<img
style=
"
<div
class=
"w150"
v-loading=
"wxLoading"
>
<img
style=
"
float: left;
float: left;
width: 108px;
width: 108px;
height: 108px;
height: 108px;
...
@@ -906,51 +909,51 @@
...
@@ -906,51 +909,51 @@
? ''
? ''
: 'data:image/png;base64,' + item.wxImage
: 'data:image/png;base64,' + item.wxImage
"
/>
"
/>
<p
style=
"text-align: center; font-size: 12px; color: #666"
>
<p
style=
"text-align: center; font-size: 12px; color: #666"
>
{{ $t("salesModule.XCX") }}
{{ $t("salesModule.XCX") }}
</p>
</p>
</div>
</div>
<el-button
slot=
"reference"
type=
"primary"
style=
"
<el-button
slot=
"reference"
type=
"primary"
style=
"
background-color: #b552e9 !important;
background-color: #b552e9 !important;
border-color: #b552e9 !important;
border-color: #b552e9 !important;
border-radius: 0;
border-radius: 0;
border-top-left-radius: 4px;
border-top-left-radius: 4px;
border-bottom-left-radius: 4px;
border-bottom-left-radius: 4px;
"
icon=
"iconfont icon-fenxiang"
@
click=
"getWxCode(index)"
></el-button>
"
icon=
"iconfont icon-fenxiang"
@
click=
"getWxCode(index)"
></el-button>
</el-popover>
</el-popover>
</el-tooltip>
</el-tooltip>
<el-tooltip
class=
"item"
effect=
"dark"
:content=
"$t('salesModule.ShareApp')"
placement=
"top-start"
<el-tooltip
class=
"item"
effect=
"dark"
:content=
"$t('salesModule.ShareApp')"
placement=
"top-start"
style=
"float: left"
>
style=
"float: left"
>
<el-popover
width=
"180"
trigger=
"click"
>
<el-popover
width=
"180"
trigger=
"click"
>
<div
class=
"w150"
>
<div
class=
"w150"
>
<img
style=
"
<img
style=
"
float: left;
float: left;
width: 108px;
width: 108px;
height: 108px;
height: 108px;
margin: 10px 21px 3px;
margin: 10px 21px 3px;
"
:src=
"'data:image/png;base64,' + item.AppImage"
/>
"
:src=
"'data:image/png;base64,' + item.AppImage"
/>
<p
style=
"text-align: center; font-size: 12px; color: #666"
>
<p
style=
"text-align: center; font-size: 12px; color: #666"
>
{{ $t("salesModule.Helper") }}
{{ $t("salesModule.Helper") }}
</p>
</p>
</div>
</div>
<el-button
slot=
"reference"
type=
"primary"
style=
"
<el-button
slot=
"reference"
type=
"primary"
style=
"
background-color: #e6a014 !important;
background-color: #e6a014 !important;
border-color: #e6a014 !important;
border-color: #e6a014 !important;
border-radius: 0;
border-radius: 0;
"
icon=
"iconfont icon-erweima"
></el-button>
"
icon=
"iconfont icon-erweima"
></el-button>
</el-popover>
</el-popover>
</el-tooltip>
</el-tooltip>
<el-tooltip
class=
"item"
effect=
"dark"
:content=
"'广告数量' + item.AdvertCount"
placement=
"top-start"
>
<el-tooltip
class=
"item"
effect=
"dark"
:content=
"'广告数量' + item.AdvertCount"
placement=
"top-start"
>
<el-button
type=
"primary"
style=
"background-color: #e95252 !important; border-color: #e95252 !important"
v-if=
"!TCIDList"
<el-button
type=
"primary"
style=
"background-color: #e95252 !important; border-color: #e95252 !important"
icon=
"iconfont icon-guanggao"
@
click=
"goUrlX(item)"
></el-button>
v-if=
"!TCIDList"
icon=
"iconfont icon-guanggao"
@
click=
"goUrlX(item)"
></el-button>
</el-tooltip>
</el-tooltip>
</el-button-group>
</el-button-group>
</div>
</div>
</div>
</div>
<div
class=
"d6"
>
<div
class=
"d6"
>
<el-popover
placement=
"right"
width=
"500"
trigger=
"click"
:content=
"item.ProductRecommend"
>
<el-popover
placement=
"right"
width=
"500"
trigger=
"click"
:content=
"item.ProductRecommend"
>
<span
style=
"
<span
style=
"
cursor: pointer;
cursor: pointer;
padding: 2px 5px;
padding: 2px 5px;
display: inline-block;
display: inline-block;
...
@@ -959,268 +962,260 @@
...
@@ -959,268 +962,260 @@
border: 1px solid #ccc;
border: 1px solid #ccc;
font-size: 12px;
font-size: 12px;
"
slot=
"reference"
>
{{ $t("Operation.Op_bentuanMaidian") }}
</span>
"
slot=
"reference"
>
{{ $t("Operation.Op_bentuanMaidian") }}
</span>
</el-popover>
</el-popover>
<p>
{{ $t("Operation.Op_remark") }}:
</p>
<p>
{{ $t("Operation.Op_remark") }}:
</p>
<p
:title=
"item.OpRemark"
>
{{ item.OpRemark }}
</p>
<p
:title=
"item.OpRemark"
>
{{ item.OpRemark }}
</p>
</div>
</div>
</li>
</li>
</ul>
</ul>
<div
class=
"noData"
v-else
>
<div
class=
"noData"
v-else
>
{{ $t("system.content_noData") }}
{{ $t("system.content_noData") }}
</div>
</div>
<!-- 产品详情 -->
<!-- 产品详情 -->
<el-dialog
custom-class=
"ComTeamPlan_info_box"
:title=
"tripTitle"
:visible
.
sync=
"outerVisible"
center
>
<el-dialog
custom-class=
"ComTeamPlan_info_box"
:title=
"tripTitle"
:visible
.
sync=
"outerVisible"
center
>
<commonTeamInfo
ref=
"comTeam"
></commonTeamInfo>
<commonTeamInfo
ref=
"comTeam"
></commonTeamInfo>
</el-dialog>
</el-dialog>
<!-- 行程下载 -->
<!-- 行程下载 -->
<el-dialog
custom-class=
"w450"
title=
"行程下载"
:visible
.
sync=
"travelControlTripLayerShow"
center
>
<el-dialog
custom-class=
"w450"
title=
"行程下载"
:visible
.
sync=
"travelControlTripLayerShow"
center
>
<tripDownLoadCommon
ref=
"tripDownLoadCommon"
:tripObj=
"tripObj"
@
headCallBack=
"hideTripDown"
:downType=
"1"
>
<tripDownLoadCommon
ref=
"tripDownLoadCommon"
:tripObj=
"tripObj"
@
headCallBack=
"hideTripDown"
:downType=
"1"
>
</tripDownLoadCommon>
</tripDownLoadCommon>
</el-dialog>
</el-dialog>
<!-- 下单 -->
<!-- 下单 -->
<div
class=
"buy-box"
v-show=
"isShowTeamOrder"
>
<div
class=
"buy-box"
v-show=
"isShowTeamOrder"
>
<orderForm
@
success=
"reSearchPage"
@
close=
"closeForm"
<orderForm
@
success=
"reSearchPage"
@
close=
"closeForm"
:PTCID=
"teamInfo.TCID"
:POrderId=
"0"
:PBranchId=
"0"
:PTCID=
"teamInfo.TCID"
:PProductType=
"1"
:showCity=
"true"
:productObj=
"teamInfo"
:pagesTitle=
"pagesTitle"
>
:POrderId=
"0"
:PBranchId=
"0"
:PProductType=
"1"
:showCity=
"true"
:productObj=
"teamInfo"
:pagesTitle=
"pagesTitle"
>
</orderForm>
</orderForm>
</div>
</div>
</div>
</div>
</template>
</template>
<
script
>
<
script
>
import
commonTeamInfo
from
"../commonPage/commonTeamInfo.vue"
;
import
commonTeamInfo
from
"../commonPage/commonTeamInfo.vue"
;
import
tripDownLoadCommon
from
"../commonPage/TripDownLoadCommon.vue"
;
import
tripDownLoadCommon
from
"../commonPage/TripDownLoadCommon.vue"
;
import
carousel
from
"../commonPage/carousel.vue"
;
import
carousel
from
"../commonPage/carousel.vue"
;
import
commonHotelInfo
from
"../commonPage/commonHotelInfo.vue"
;
import
commonHotelInfo
from
"../commonPage/commonHotelInfo.vue"
;
import
orderForm
from
"./order-form2.vue"
;
import
orderForm
from
"./order-form2.vue"
;
export
default
{
props
:
[
'loading'
,
'list'
,
'pagesTitle'
],
export
default
{
data
()
{
props
:[
'loading'
,
'list'
,
'pagesTitle'
],
return
{
data
()
{
//当前登录用户信息
return
{
CurrentUserInfo
:
{},
//当前登录用户信息
travelControlTripLayerShow
:
false
,
CurrentUserInfo
:
{},
wxLoading
:
false
,
travelControlTripLayerShow
:
false
,
userId
:
""
,
wxLoading
:
false
,
outerVisible
:
false
,
userId
:
""
,
tripTitle
:
""
,
outerVisible
:
false
,
tripDetails
:
[],
tripTitle
:
""
,
TCIDList
:
null
,
tripDetails
:
[],
tripObj
:
{
TCIDList
:
null
,
tcid
:
0
,
tripObj
:
{
configId
:
0
,
tcid
:
0
,
cityId
:
0
,
configId
:
0
,
orderId
:
0
,
cityId
:
0
,
orderId
:
0
,
},
showHotelObj
:
{
showPrice
:
false
,
showPay
:
false
,
showZhan
:
false
,
},
qjGroupId
:
-
1
,
S_Travel_Share
:
false
,
//分享权限
userInfo
:
{},
crmOrderObj
:
null
,
isShowTeamOrder
:
false
,
//是否显示订单弹窗
teamInfo
:
{},
//团队信息
};
},
components
:
{
orderForm
,
commonTeamInfo
,
tripDownLoadCommon
,
carousel
,
commonHotelInfo
,
},
filters
:
{
priceFormat
(
value
)
{
if
(
value
==
null
)
{
return
0.0
;
}
let
nStr
=
value
.
toFixed
(
2
);
nStr
+=
""
;
let
x
=
nStr
.
split
(
"."
);
let
x1
=
x
[
0
];
let
x2
=
x
.
length
>
1
?
"."
+
x
[
1
]
:
""
;
var
rgx
=
/
(\d
+
)(\d{3})
/
;
while
(
rgx
.
test
(
x1
))
{
x1
=
x1
.
replace
(
rgx
,
"$1"
+
","
+
"$2"
);
}
return
x1
+
x2
;
},
},
priceFormat2
(
value
)
{
showHotelObj
:
{
if
(
value
==
null
)
{
showPrice
:
false
,
return
"已包含"
;
showPay
:
false
,
}
showZhan
:
false
,
let
nStr
=
value
.
toFixed
(
2
);
nStr
+=
""
;
let
x
=
nStr
.
split
(
"."
);
let
x1
=
x
[
0
];
let
x2
=
x
.
length
>
1
?
"."
+
x
[
1
]
:
""
;
var
rgx
=
/
(\d
+
)(\d{3})
/
;
while
(
rgx
.
test
(
x1
))
{
x1
=
x1
.
replace
(
rgx
,
"$1"
+
","
+
"$2"
);
}
let
result
=
x1
+
x2
;
if
(
result
===
"0.00"
)
{
result
=
"已包含"
;
}
return
result
;
},
},
qjGroupId
:
-
1
,
S_Travel_Share
:
false
,
//分享权限
userInfo
:
{},
crmOrderObj
:
null
,
isShowTeamOrder
:
false
,
//是否显示订单弹窗
teamInfo
:
{},
//团队信息
};
},
components
:
{
orderForm
,
commonTeamInfo
,
tripDownLoadCommon
,
carousel
,
commonHotelInfo
,
},
filters
:
{
priceFormat
(
value
)
{
if
(
value
==
null
)
{
return
0.0
;
}
let
nStr
=
value
.
toFixed
(
2
);
nStr
+=
""
;
let
x
=
nStr
.
split
(
"."
);
let
x1
=
x
[
0
];
let
x2
=
x
.
length
>
1
?
"."
+
x
[
1
]
:
""
;
var
rgx
=
/
(\d
+
)(\d{3})
/
;
while
(
rgx
.
test
(
x1
))
{
x1
=
x1
.
replace
(
rgx
,
"$1"
+
","
+
"$2"
);
}
return
x1
+
x2
;
},
},
methods
:
{
priceFormat2
(
value
)
{
//刷新页面
if
(
value
==
null
)
{
reSearchPage
()
{
return
"已包含"
;
this
.
isShowTeamOrder
=
false
;
}
this
.
teamInfo
=
{};
let
nStr
=
value
.
toFixed
(
2
);
this
.
$emit
(
"success"
);
nStr
+=
""
;
},
let
x
=
nStr
.
split
(
"."
);
//关闭窗口
let
x1
=
x
[
0
];
closeForm
()
{
let
x2
=
x
.
length
>
1
?
"."
+
x
[
1
]
:
""
;
this
.
isShowTeamOrder
=
false
;
var
rgx
=
/
(\d
+
)(\d{3})
/
;
this
.
teamInfo
=
{};
while
(
rgx
.
test
(
x1
))
{
},
x1
=
x1
.
replace
(
rgx
,
"$1"
+
","
+
"$2"
);
// 分享权限
}
GetSupperOrderEditAuth
()
{
let
result
=
x1
+
x2
;
var
actionCode
=
this
.
$AuthCode
.
S_Travel_Share
;
if
(
result
===
"0.00"
)
{
this
.
CheckUserAuth
(
actionCode
,
(
res
)
=>
{
result
=
"已包含"
;
if
(
res
.
data
.
resultCode
==
1
&&
res
.
data
.
data
==
1
)
{
}
this
.
S_Travel_Share
=
true
;
return
result
;
}
},
});
},
},
methods
:
{
downloadFile
(
item
)
{
//刷新页面
let
reg
=
/^http
(
s
)?
:
\/\/(
.*
?)\/
/
;
reSearchPage
()
{
this
.
downloadFileRename
(
item
.
FullUrl
.
replace
(
reg
,
""
),
item
.
Name
);
this
.
isShowTeamOrder
=
false
;
},
this
.
teamInfo
=
{};
// 获取微信二维码
this
.
$emit
(
"success"
);
getWxCode
(
key
)
{
},
this
.
wxLoading
=
false
;
//关闭窗口
if
(
this
.
list
[
key
].
wxImage
===
""
)
{
closeForm
()
{
this
.
wxLoading
=
true
;
this
.
isShowTeamOrder
=
false
;
this
.
apipost
(
this
.
teamInfo
=
{};
"TaskManagemnet_get_GetWeiXinShare"
,
{
},
ConfigId
:
this
.
list
[
key
].
ConfigID
,
// 分享权限
TCID
:
this
.
list
[
key
].
TCID
,
GetSupperOrderEditAuth
()
{
},
var
actionCode
=
this
.
$AuthCode
.
S_Travel_Share
;
(
res
)
=>
{
this
.
CheckUserAuth
(
actionCode
,
(
res
)
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
if
(
res
.
data
.
resultCode
==
1
&&
res
.
data
.
data
==
1
)
{
let
url
=
res
.
data
.
data
;
this
.
S_Travel_Share
=
true
;
this
.
list
[
key
].
wxImage
=
url
;
this
.
wxLoading
=
false
;
}
else
{
this
.
$message
.
error
(
"二维码获取失败"
);
}
},
(
err
)
=>
{}
);
}
},
toTrip
(
obj
)
{
this
.
tripObj
.
tcid
=
obj
.
TCID
;
this
.
tripObj
.
configId
=
obj
.
ConfigID
;
this
.
tripObj
.
cityId
=
obj
.
StartCityID
;
this
.
tripObj
.
orderId
=
0
;
this
.
travelControlTripLayerShow
=
true
;
},
hideTripDown
()
{
this
.
travelControlTripLayerShow
=
false
;
},
goUrl
(
id
,
tcmun
)
{
let
path
if
(
this
.
pagesTitle
==
'跟团游产品'
){
path
=
'groupTourOrderByTuan'
}
if
(
this
.
pagesTitle
==
'当地游产品'
){
path
=
'groupTourOrderByTuanOne'
}
this
.
$router
.
push
({
name
:
path
,
query
:
{
id
:
id
,
tcmun
:
tcmun
,
blank
:
"y"
,
tab
:
"团报名清单"
,
},
});
},
goUrlX
(
item
)
{
this
.
$router
.
push
({
name
:
"GroupAdvertising"
,
query
:
{
LineID
:
item
.
LineID
,
TCID
:
item
.
TCID
,
blank
:
"y"
,
tab
:
"团期广告"
,
},
});
},
//获取航班详情
getDetails
(
index
)
{
this
.
tripDetails
=
this
.
list
[
index
].
flightList
;
},
goBuy
(
obj
)
{
this
.
teamInfo
=
obj
;
this
.
isShowTeamOrder
=
true
;
},
// 产品详情
getTitledetail
(
item
){
if
(
this
.
pagesTitle
==
'跟团游产品'
){
this
.
getJourney
(
item
.
ConfigID
,
item
.
TCID
,
item
.
LineName
)
}
if
(
this
.
pagesTitle
==
'当地游产品'
){
this
.
goB2Bdetail
(
item
.
ConfigID
,
item
.
TCID
)
}
}
},
});
goB2Bdetail
(
ConfigId
,
tcid
)
{
},
var
B2BDomain
=
this
.
CurrentUserInfo
.
B2BDomain
//'www.oytour.com';
downloadFile
(
item
)
{
this
.
$tripUtils
.
GotoB2BPage
(
B2BDomain
,
encodeURIComponent
(
ConfigId
),
tcid
);
let
reg
=
/^http
(
s
)?
:
\/\/(
.*
?)\/
/
;
},
this
.
downloadFileRename
(
item
.
FullUrl
.
replace
(
reg
,
""
),
item
.
Name
);
getJourney
(
id
,
TCID
,
title
)
{
},
var
that
=
this
;
// 获取微信二维码
this
.
tripTitle
=
title
;
getWxCode
(
key
)
{
this
.
$nextTick
(()
=>
{
this
.
wxLoading
=
false
;
that
.
$refs
.
comTeam
.
GetTrip
(
id
,
TCID
);
if
(
this
.
list
[
key
].
wxImage
===
""
)
{
});
this
.
wxLoading
=
true
;
that
.
outerVisible
=
true
;
},
clickHotel
(
TCID
,
LineId
,
LineteamId
)
{
var
msg
=
{
TCID
:
TCID
,
LineId
:
LineId
,
LineteamId
:
LineteamId
,
};
this
.
apipost
(
this
.
apipost
(
"b2b_post_SetHotelClickService"
,
"TaskManagemnet_get_GetWeiXinShare"
,
{
msg
,
ConfigId
:
this
.
list
[
key
].
ConfigID
,
TCID
:
this
.
list
[
key
].
TCID
,
},
(
res
)
=>
{
(
res
)
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{}
if
(
res
.
data
.
resultCode
==
1
)
{
let
url
=
res
.
data
.
data
;
this
.
list
[
key
].
wxImage
=
url
;
this
.
wxLoading
=
false
;
}
else
{
this
.
$message
.
error
(
"二维码获取失败"
);
}
},
},
(
err
)
=>
{}
(
err
)
=>
{}
);
);
},
}
//直客版行程
goB2B
(
item
)
{
var
B2BDomain
=
this
.
CurrentUserInfo
.
B2BDomain
;
this
.
$tripUtils
.
GotoB2CPage
(
B2BDomain
,
item
.
ConfigID
,
item
.
TCID
);
},
},
},
mounted
()
{
toTrip
(
obj
)
{
this
.
userInfo
=
this
.
getLocalStorage
();
this
.
tripObj
.
tcid
=
obj
.
TCID
;
this
.
GetSupperOrderEditAuth
();
//分享权限
this
.
tripObj
.
configId
=
obj
.
ConfigID
;
this
.
qjGroupId
=
this
.
QjGroupId
();
this
.
tripObj
.
cityId
=
obj
.
StartCityID
;
this
.
CurrentUserInfo
=
this
.
userInfo
;
this
.
tripObj
.
orderId
=
0
;
this
.
userId
=
this
.
userInfo
.
EmployeeId
;
this
.
travelControlTripLayerShow
=
true
;
if
(
this
.
$route
.
query
.
TCIDList
)
{
},
this
.
TCIDList
=
this
.
$route
.
query
.
TCIDList
;
hideTripDown
()
{
this
.
travelControlTripLayerShow
=
false
;
},
goUrl
(
id
,
tcmun
)
{
let
path
if
(
this
.
pagesTitle
==
'跟团游产品'
)
{
path
=
'groupTourOrderByTuan'
}
if
(
this
.
pagesTitle
==
'当地游产品'
)
{
path
=
'groupTourOrderByTuanOne'
}
}
this
.
$router
.
push
({
name
:
path
,
query
:
{
id
:
id
,
tcmun
:
tcmun
,
blank
:
"y"
,
tab
:
"团报名清单"
,
},
});
},
goUrlX
(
item
)
{
this
.
$router
.
push
({
name
:
"GroupAdvertising"
,
query
:
{
LineID
:
item
.
LineID
,
TCID
:
item
.
TCID
,
blank
:
"y"
,
tab
:
"团期广告"
,
},
});
},
},
};
//获取航班详情
getDetails
(
index
)
{
</
script
>
this
.
tripDetails
=
this
.
list
[
index
].
flightList
;
},
\ No newline at end of file
goBuy
(
obj
)
{
this
.
teamInfo
=
obj
;
this
.
isShowTeamOrder
=
true
;
},
// 产品详情
getTitledetail
(
item
)
{
if
(
this
.
pagesTitle
==
'跟团游产品'
)
{
this
.
getJourney
(
item
.
ConfigID
,
item
.
TCID
,
item
.
LineName
)
}
if
(
this
.
pagesTitle
==
'当地游产品'
)
{
this
.
goB2Bdetail
(
item
.
ConfigID
,
item
.
TCID
)
}
},
goB2Bdetail
(
ConfigId
,
tcid
)
{
var
B2BDomain
=
this
.
CurrentUserInfo
.
B2BDomain
//'www.oytour.com';
this
.
$tripUtils
.
GotoB2BPage
(
B2BDomain
,
encodeURIComponent
(
ConfigId
),
tcid
);
},
getJourney
(
id
,
TCID
,
title
)
{
var
that
=
this
;
this
.
tripTitle
=
title
;
this
.
$nextTick
(()
=>
{
that
.
$refs
.
comTeam
.
GetTrip
(
id
,
TCID
);
});
that
.
outerVisible
=
true
;
},
clickHotel
(
TCID
,
LineId
,
LineteamId
)
{
var
msg
=
{
TCID
:
TCID
,
LineId
:
LineId
,
LineteamId
:
LineteamId
,
};
this
.
apipost
(
"b2b_post_SetHotelClickService"
,
msg
,
(
res
)
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{}
},
(
err
)
=>
{}
);
},
//直客版行程
goB2B
(
item
)
{
var
B2BDomain
=
this
.
CurrentUserInfo
.
B2BDomain
;
this
.
$tripUtils
.
GotoB2CPage
(
B2BDomain
,
item
.
ConfigID
,
item
.
TCID
);
},
},
mounted
()
{
this
.
userInfo
=
this
.
getLocalStorage
();
this
.
GetSupperOrderEditAuth
();
//分享权限
this
.
qjGroupId
=
this
.
QjGroupId
();
this
.
CurrentUserInfo
=
this
.
userInfo
;
this
.
userId
=
this
.
userInfo
.
EmployeeId
;
if
(
this
.
$route
.
query
.
TCIDList
)
{
this
.
TCIDList
=
this
.
$route
.
query
.
TCIDList
;
}
},
};
</
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