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
Show 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
...
...
@@ -243,14 +243,16 @@
</el-select>
</span></li>
<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
v-for=
"item in LineList"
:label=
'item.LineName'
:value=
'item.LineID'
:key=
'item.LineID'
>
</el-option>
</el-select>
</span></li>
<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
v-for=
"item in LineTeamList"
:label=
'item.LtName'
:value=
'item.LtID'
:key=
'item.LtID'
>
</el-option>
...
...
@@ -270,54 +272,45 @@
</span>
</li>
<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>
</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;"
>
<el-popover
width=
"270"
trigger=
"click"
>
<div
class=
"superSearchLayer"
>
<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>
<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><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><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>
</el-select>
</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>
<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>
</li>
<li
style=
"height:34px;line-height:34px;padding: 0 0 0 20px;vertical-align: middle;"
>
...
...
@@ -327,7 +320,8 @@
<div
class=
"clearfix"
>
<div
class=
"TC_leftSearch"
>
<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-option
:label=
'$t("system.ph_buxian")'
value=
'-1'
></el-option>
<el-option
:label=
"$t('salesModule.Nobaoming')"
value=
'1'
></el-option>
...
...
@@ -338,7 +332,8 @@
</el-select>
</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-option
:label=
'$t("system.ph_buxian")'
value=
'-1'
></el-option>
<el-option
:label=
"$t('salesModule.Inner10')"
value=
'1'
></el-option>
...
...
@@ -348,7 +343,8 @@
</el-select>
</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-option
:label=
'$t("system.ph_buxian")'
value=
'-1'
></el-option>
<el-option
label=
'100%'
value=
'1'
></el-option>
...
...
@@ -359,30 +355,35 @@
</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>
<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>
</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>
</ul>
</div>
<el-pagination
background
@
current-change=
"handleCurrentChange"
:current-page
.
sync=
"currentPage"
layout=
"total,prev, pager, next, jumper
"
: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>
<!-- 产品列表 -->
<productOrderList
:loading=
"loading"
:list=
"list"
@
success=
"resetPageIndex"
:pagesTitle=
"pagesTitle"
></productOrderList>
<el-pagination
background
@
current-change=
"handleCurrentChange"
:current-page
.
sync=
"currentPage"
layout=
"total,prev, pager, next, jumper"
:page-size=
"msg.pageSize"
:total=
"total"
>
<productOrderList
:loading=
"loading"
:list=
"list"
@
success=
"resetPageIndex"
:pagesTitle=
"pagesTitle"
>
</productOrderList>
<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-dialog
custom-class=
'ComTeamPlan_info_box'
:title=
"tripTitle"
:visible
.
sync=
"outerVisible"
center
>
<commonTeamInfo
ref=
"comTeam"
></commonTeamInfo>
</el-dialog>
<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>
</div>
</
template
>
...
...
@@ -431,8 +432,8 @@
currentPage
:
1
,
total
:
0
,
addObj
:
{},
Unit_PriceList
:
[],
//成交单价下拉数据
LessMoney
:
0
,
Unit_PriceList
:
[],
//成交单价下拉数据
LessMoney
:
0
,
addMsg
:
{
OrderId
:
'0'
,
TCID
:
'0'
,
...
...
@@ -462,7 +463,7 @@
ClientSource
:
''
,
BrandId
:
''
,
TradeWay
:
'2'
,
PlatformAccount
:
''
,
PlatformAccount
:
''
,
PlatformOrder
:
''
,
GuestNum
:
0
,
IsChildrenTour
:
'0'
,
...
...
@@ -486,11 +487,10 @@
IsShowMessagesMoney
:
'2'
,
GuestList
:
[],
GatherAddress
:
''
,
LureEmpId
:
0
,
//引流id
LureEmpId
:
0
,
//引流id
CRMGuestId
:
0
,
//客人ID
},
GuestList
:
[
{
GuestList
:
[{
SurName
:
''
,
Name
:
''
,
Sex
:
''
,
...
...
@@ -500,9 +500,9 @@
Nationality
:
''
,
PassportNo
:
''
,
Remarks
:
''
,
MobilePhone
:
''
}
],
GuestObj
:{
MobilePhone
:
''
}
],
GuestObj
:
{
SurName
:
''
,
Name
:
''
,
Sex
:
''
,
...
...
@@ -566,50 +566,37 @@
message
:
'请输入正确的手机'
}
],
SurName
:
[
{
SurName
:
[{
required
:
true
,
message
:
'请输入姓'
,
trigger
:
'blur'
},
],
Name
:
[
{
},
],
Name
:
[{
required
:
true
,
message
:
'请输入名'
,
trigger
:
'blur'
},
],
Sex
:
[
{
},
],
Sex
:
[{
required
:
true
,
message
:
'请选择性别'
,
trigger
:
'change'
},
],
Birthday
:
[
{
},
],
Birthday
:
[{
required
:
true
,
message
:
'请选择出生日期'
,
trigger
:
'blur'
},
],
Nationality
:
[
{
},
],
Nationality
:
[{
required
:
true
,
message
:
'请选择国籍'
,
trigger
:
'change'
},
],
PassportNo
:
[
{
},
],
PassportNo
:
[{
required
:
true
,
message
:
'请输入护照号'
,
trigger
:
'blur'
},
],
MobilePhone
:
[
{
},
],
MobilePhone
:
[{
required
:
true
,
message
:
'请输入联系人电话'
,
trigger
:
'blur'
...
...
@@ -619,13 +606,11 @@
message
:
'请输入正确的手机'
}
],
GatherAddress
:
[
{
GatherAddress
:
[{
required
:
true
,
message
:
'请输入集合地'
,
trigger
:
'blur'
},
]
},
]
},
msg
:
{
pageIndex
:
1
,
...
...
@@ -693,14 +678,19 @@
cityId
:
0
,
orderId
:
0
},
SingleDMCPricex
:
0
,
// 单地接;
SingleDMCPrice
:
0
,
// 单地接;
optionsList
:
[
{
Name
:
'男'
,
Id
:
1
},
{
Name
:
'女'
,
Id
:
2
},
SingleDMCPricex
:
0
,
// 单地接;
SingleDMCPrice
:
0
,
// 单地接;
optionsList
:
[{
Name
:
'男'
,
Id
:
1
},
{
Name
:
'女'
,
Id
:
2
},
],
TotalNumber
:
0
,
countryList
:
[],
//国籍
countryList
:
[],
//国籍
//当前登录用户信息
CurrentUserInfo
:
{},
crmOrderObj
:
null
,
...
...
@@ -713,11 +703,7 @@
carousel
:
carousel
},
watch
:
{
// addMsg: {
// handler: function (val, oldVal) {
// },
// deep: true
// }
},
filters
:
{
priceFormat
(
value
)
{
...
...
@@ -757,13 +743,8 @@
},
methods
:
{
goB2Bdetail
(
ConfigId
,
tcid
)
{
var
B2BDomain
=
this
.
CurrentUserInfo
.
B2BDomain
//'www.oytour.com';
this
.
$tripUtils
.
GotoB2BPage
(
B2BDomain
,
encodeURIComponent
(
ConfigId
),
tcid
);
// var url = "http://" + 'www.oytour.com';
// window.open(
// url + "/#/detail/XXcsyIZsyIY%3D/" +tcid +"/" +encodeURIComponent(ConfigId),
// "_blank"
// );
var
B2BDomain
=
this
.
CurrentUserInfo
.
B2BDomain
//'www.oytour.com';
this
.
$tripUtils
.
GotoB2BPage
(
B2BDomain
,
encodeURIComponent
(
ConfigId
),
tcid
);
},
getCountry
()
{
//获取国家
...
...
@@ -773,7 +754,6 @@
msg
,
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
countryList
=
res
.
data
.
data
;
}
else
{
this
.
$message
.
error
(
res
.
data
.
message
);
...
...
@@ -800,12 +780,11 @@
this
.
getTotalPrice
()
}
},
gettypechange
(
type
){
if
(
type
==
4
)
{
gettypechange
(
type
)
{
if
(
type
==
4
)
{
this
.
HightUnitPrice
=
'1'
;
this
.
addMsg
.
AirticketNum
=
0
;
this
.
addMsg
.
ManNum
=
0
;
// this.addMsg.ChirdNum = 0;
this
.
addMsg
.
BabyNum
=
0
;
this
.
addMsg
.
OldPeopleNum
=
0
;
this
.
addMsg
.
ChirdNoNeedBedNum
=
0
;
...
...
@@ -816,11 +795,10 @@
this
.
addMsg
.
VisaNum
=
0
;
this
.
addMsg
.
PredictRoomNum
=
0
;
this
.
addMsg
.
YSeatNum
=
0
;
}
else
{
}
else
{
this
.
HightUnitPrice
=
'2'
;
this
.
addMsg
.
AirticketNum
=
0
;
this
.
addMsg
.
ManNum
=
0
;
// this.addMsg.ChirdNum = 0;
this
.
addMsg
.
BabyNum
=
0
;
this
.
addMsg
.
OldPeopleNum
=
0
;
this
.
addMsg
.
ChirdNoNeedBedNum
=
0
;
...
...
@@ -879,7 +857,8 @@
this
.
remarkMsg
.
qzf
=
'签证费'
+
this
.
addObj
.
VisaPrice
+
'/人;'
;
}
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 @@
}
}
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 @@
tradeWayMethods
()
{
if
(
this
.
addMsg
.
TradeWay
==
2
)
{
this
.
addMsg
.
PlatformOrder
=
''
this
.
addMsg
.
PlatformAccount
=
''
this
.
addMsg
.
PlatformAccount
=
''
this
.
addMsg
.
MinOrderPrice
=
0
this
.
addMsg
.
CostType
=
''
this
.
addMsg
.
TradeDate
=
''
...
...
@@ -1181,7 +1161,7 @@
}
},
err
=>
{})
},
resetSelect
(){
resetSelect
()
{
if
(
this
.
addMsg
.
CustomerType
==
1
)
{
this
.
addMsg
.
CustomerId
=
''
}
...
...
@@ -1215,22 +1195,26 @@
this
.
addMsg
.
CustomerId
=
'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
)
)
if
(
maxPeopleNum
>
0
){
this
.
apipost
(
'sellorder_post_GetLessPrice'
,
{
"TCID"
:
this
.
addObj
.
TCID
,
"MaxPeopleNum"
:
maxPeopleNum
},
res
=>
{
let
maxPeopleNum
=
(
Number
(
this
.
addMsg
.
ManNum
)
+
Number
(
this
.
addMsg
.
ChirdNoNeedBedNum
)
+
Number
(
this
.
addMsg
.
ChirdNeedBedNum
)
+
Number
(
this
.
addMsg
.
OldPeopleNum
)
+
Number
(
this
.
addMsg
.
AirticketNum
))
if
(
maxPeopleNum
>
0
)
{
this
.
apipost
(
'sellorder_post_GetLessPrice'
,
{
"TCID"
:
this
.
addObj
.
TCID
,
"MaxPeopleNum"
:
maxPeopleNum
},
res
=>
{
this
.
LessMoney
=
res
.
data
.
data
.
lessMoney
;
if
(
parseFloat
(
this
.
LessMoney
)
>
0
)
{
this
.
Unit_PriceList
=
[];
for
(
var
i
=
0
;
i
<=
parseInt
(
this
.
LessMoney
)
/
10
;
i
++
)
{
if
(
parseFloat
(
this
.
LessMoney
)
>
0
)
{
this
.
Unit_PriceList
=
[];
for
(
var
i
=
0
;
i
<=
parseInt
(
this
.
LessMoney
)
/
10
;
i
++
)
{
var
obj
=
{
ID
:
''
,
LessMoney
:
''
}
obj
.
ID
=
this
.
addMsg
.
Unit_Price
-
i
*
10
;
obj
.
LessMoney
=
this
.
addMsg
.
Unit_Price
-
i
*
10
;
obj
.
ID
=
this
.
addMsg
.
Unit_Price
-
i
*
10
;
obj
.
LessMoney
=
this
.
addMsg
.
Unit_Price
-
i
*
10
;
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
=
{
ID
:
''
,
LessMoney
:
''
...
...
@@ -1240,7 +1224,7 @@
this
.
Unit_PriceList
.
push
(
obj
);
}
}
else
{
this
.
Unit_PriceList
=
[];
this
.
Unit_PriceList
=
[];
var
obj
=
{
ID
:
''
,
LessMoney
:
''
...
...
@@ -1269,7 +1253,8 @@
let
ewtc
=
chajia
>
0
?
chajia
*
0.5
*
num
:
chajia
*
num
//额外提成
this
.
addMsg
.
Commission
=
(
Number
(
this
.
addMsg
.
PreferPrice
)
*
0.01
+
ewtc
).
toFixed
(
2
)
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
.
Commission
>
0
)
{
this
.
addMsg
.
CommissionShareMoney
=
this
.
addMsg
.
Commission
/
2
...
...
@@ -1284,21 +1269,26 @@
},
getHouseNo
()
{
//算法:((成人+儿童占床数+老人-(三人房数量*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
(
this
.
addMsg
.
SingleRoomNum
))
/
2
+
Number
(
this
.
addMsg
.
SingleRoomNum
)
+
Number
(
this
.
addMsg
.
TripleRoomNum
)
},
getNumber
()
{
// 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
))
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
))
var
SeatNum
=
(
Number
(
this
.
addMsg
.
ManNum
)
+
Number
(
this
.
addMsg
.
ChirdNum
)
+
Number
(
this
.
addMsg
.
OldPeopleNum
)
+
Number
(
this
.
addMsg
.
BabyNum
))
-
(
Number
(
this
.
addMsg
.
ESeatNum
)
+
Number
(
this
.
addMsg
.
FSeatNum
));
this
.
TotalNumber
=
(
Number
(
this
.
addMsg
.
AirticketNum
)
+
Number
(
this
.
addMsg
.
ManNum
)
+
Number
(
this
.
addMsg
.
ChirdNum
)
+
var
SeatNum
=
(
Number
(
this
.
addMsg
.
ManNum
)
+
Number
(
this
.
addMsg
.
ChirdNum
)
+
Number
(
this
.
addMsg
.
OldPeopleNum
)
+
Number
(
this
.
addMsg
.
BabyNum
))
-
(
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
))
this
.
addMsg
.
YSeatNum
=
SeatNum
<
0
?
0
:
SeatNum
;
this
.
addMsg
.
YSeatNum
=
SeatNum
<
0
?
0
:
SeatNum
;
this
.
autoRemarks
(
"VisaNum"
,
"不要签证数量"
)
},
getTotalPrice
(
t
)
{
...
...
@@ -1313,7 +1303,7 @@
this
.
addMsg
.
Unit_Price
=
this
.
addMsg
.
TC_Price
return
}
if
(
parseFloat
(
this
.
SingleDMCPrice
)
<
this
.
SingleDMCPricex
)
{
if
(
parseFloat
(
this
.
SingleDMCPrice
)
<
this
.
SingleDMCPricex
)
{
this
.
$message
.
error
(
'成交单价必须大于等于本团单价!'
)
this
.
SingleDMCPrice
=
this
.
SingleDMCPricex
return
...
...
@@ -1334,18 +1324,20 @@
this
.
addObj
.
OldManChargePrice
)
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
(
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
(
this
.
addMsg
.
BabyNum
)
+
Number
(
this
.
addMsg
.
OldPeopleNum
))
-
Number
(
this
.
addMsg
.
VisaNum
))
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
))
let
lianyun
=
(
Number
(
this
.
addMsg
.
ManNum
)
+
Number
(
this
.
addMsg
.
ChirdNum
)
+
Number
(
this
.
addMsg
.
OldPeopleNum
))
*
(
Number
(
this
.
stratPrice
)
+
Number
(
this
.
returnPrice
))
let
dandijie
if
(
this
.
addMsg
.
GroupType
==
4
)
{
if
(
this
.
addMsg
.
GroupType
==
4
)
{
dandijie
=
this
.
SingleDMCPrice
*
Number
(
this
.
addMsg
.
AirticketNum
)
}
else
{
}
else
{
dandijie
=
this
.
addObj
.
SingleDMCPrice
*
Number
(
this
.
addMsg
.
AirticketNum
)
}
this
.
addMsg
.
PreferPrice
=
dandijie
+
lianyun
+
chengren
+
ertong
+
yinger
+
laoren
+
zafeiqianzhen
+
danfang
+
...
...
@@ -1355,35 +1347,35 @@
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
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
)
+
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
(
this
.
addMsg
.
BabyNum
)
+
Number
(
this
.
addMsg
.
OldPeopleNum
))
-
Number
(
this
.
addMsg
.
VisaNum
))
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
))
let
lianyun
=
(
Number
(
this
.
addMsg
.
ManNum
)
+
Number
(
this
.
addMsg
.
ChirdNum
)
+
Number
(
this
.
addMsg
.
OldPeopleNum
))
*
(
Number
(
this
.
stratPrice
)
+
Number
(
this
.
returnPrice
))
let
dandijie
if
(
this
.
addMsg
.
GroupType
==
4
)
{
if
(
this
.
addMsg
.
GroupType
==
4
)
{
dandijie
=
this
.
SingleDMCPrice
*
Number
(
this
.
addMsg
.
AirticketNum
)
}
else
{
}
else
{
dandijie
=
this
.
addObj
.
SingleDMCPrice
*
Number
(
this
.
addMsg
.
AirticketNum
)
}
this
.
addMsg
.
PreferPrice
=
dandijie
+
lianyun
+
chengren
+
ertong
+
yinger
+
laoren
+
zafeiqianzhen
+
danfang
+
ertongbed
-
this
.
ScenicRefundMoney
*
(
Number
(
this
.
addMsg
.
ManNum
)
+
Number
(
this
.
addMsg
.
ChirdNum
)
+
Number
(
this
.
addMsg
.
OldPeopleNum
));
}
this
.
getTicheng
();
if
(
!
t
)
{
this
.
getTypePrice
()
}
},
yzBigBed2
()
{
let
x
=
Number
(
this
.
addMsg
.
AirticketNum
)
+
Number
(
this
.
addMsg
.
ManNum
)
+
Number
(
this
.
addMsg
.
ChirdNeedBedNum
)
+
Number
(
this
.
addMsg
.
OldPeopleNum
)
-
Number
(
this
.
addMsg
.
SingleRoomNum
)
...
...
@@ -1394,7 +1386,6 @@
this
.
getHouseNo
()
this
.
autoRemarks
(
"SingleRoomNum"
,
"单房数量"
);
},
yzBigBed
()
{
let
x
=
Number
(
this
.
addMsg
.
AirticketNum
)
+
Number
(
this
.
addMsg
.
ManNum
)
+
Number
(
this
.
addMsg
.
ChirdNeedBedNum
)
+
Number
(
this
.
addMsg
.
OldPeopleNum
)
-
Number
(
this
.
addMsg
.
SingleRoomNum
)
...
...
@@ -1416,7 +1407,7 @@
this
.
autoRemarks
(
"TripleRoomNum"
,
"三人房"
);
},
submitForm
(
addMsg
)
{
//提交创建、修改表单
if
(
this
.
TotalNumber
==
0
)
{
if
(
this
.
TotalNumber
==
0
)
{
this
.
$message
.
error
(
'总人数不能小于1人'
)
return
}
...
...
@@ -1452,7 +1443,7 @@
this
.
addMsg
.
FSeatNum
=
'0'
this
.
addMsg
.
Commission
=
'0'
this
.
addMsg
.
BrandId
=
''
this
.
addMsg
.
PlatformAccount
=
''
this
.
addMsg
.
PlatformAccount
=
''
this
.
addMsg
.
TradeWay
=
'2'
this
.
addMsg
.
GuestNum
=
'0'
this
.
addMsg
.
IsChildrenTour
=
'0'
...
...
@@ -1490,58 +1481,23 @@
}
},
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
.
addMsg
.
OldPeopleNum
)
+
Number
(
this
.
addMsg
.
BabyNum
))
<
Number
(
this
.
addMsg
.
SafeNum
))
{
this
.
$message
.
warning
(
'保险数量不能大于人数总和!'
)
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
.
addMsg
.
CommissionSharePeople
==
'-1'
)
{
this
.
addMsg
.
CommissionShareMoney
=
'0'
}
}
if
(
this
.
addMsg
.
GroupType
==
4
){
this
.
addMsg
.
TC_Price
=
this
.
SingleDMCPricex
;
//地接时 本团单价
if
(
this
.
addMsg
.
GroupType
==
4
)
{
this
.
addMsg
.
TC_Price
=
this
.
SingleDMCPricex
;
//地接时 本团单价
this
.
addMsg
.
Unit_Price
=
this
.
SingleDMCPrice
;
// 地接时 成交单价
}
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
)
this
.
addMsg
.
IsChildrenTour
=
this
.
addObj
.
IsSupportChildren
this
.
addMsg
.
IsBirdDiscount
=
this
.
addObj
.
IsBirdDiscount
...
...
@@ -1557,26 +1513,26 @@
}
},
err
=>
{})
},
getNumGuest
(){
getNumGuest
()
{
let
num
=
0
if
(
this
.
addMsg
.
GuestList
.
length
==
0
)
{
for
(
let
i
=
0
;
i
<
this
.
TotalNumber
;
i
++
)
{
if
(
this
.
addMsg
.
GuestList
.
length
==
0
)
{
for
(
let
i
=
0
;
i
<
this
.
TotalNumber
;
i
++
)
{
this
.
addMsg
.
GuestList
.
push
(
JSON
.
parse
(
JSON
.
stringify
(
this
.
GuestObj
)))
}
}
else
if
(
this
.
addMsg
.
GuestList
.
length
<
this
.
TotalNumber
)
{
num
=
this
.
TotalNumber
-
this
.
addMsg
.
GuestList
.
length
for
(
let
i
=
0
;
i
<
num
;
i
++
)
{
}
else
if
(
this
.
addMsg
.
GuestList
.
length
<
this
.
TotalNumber
)
{
num
=
this
.
TotalNumber
-
this
.
addMsg
.
GuestList
.
length
for
(
let
i
=
0
;
i
<
num
;
i
++
)
{
this
.
addMsg
.
GuestList
.
push
(
JSON
.
parse
(
JSON
.
stringify
(
this
.
GuestObj
)))
}
}
else
if
(
this
.
addMsg
.
GuestList
.
length
>
this
.
TotalNumber
)
{
num
=
this
.
addMsg
.
GuestList
.
length
-
this
.
TotalNumber
for
(
let
i
=
0
;
i
<
num
;
i
++
)
{
let
x
=
this
.
addMsg
.
GuestList
.
length
-
1
this
.
addMsg
.
GuestList
.
splice
(
x
,
1
)
}
else
if
(
this
.
addMsg
.
GuestList
.
length
>
this
.
TotalNumber
)
{
num
=
this
.
addMsg
.
GuestList
.
length
-
this
.
TotalNumber
for
(
let
i
=
0
;
i
<
num
;
i
++
)
{
let
x
=
this
.
addMsg
.
GuestList
.
length
-
1
this
.
addMsg
.
GuestList
.
splice
(
x
,
1
)
}
}
},
Transformation
(
val
,
type
,
index
)
{
Transformation
(
val
,
type
,
index
)
{
let
text
=
this
.
pinyin
(
val
,
{
style
:
this
.
pinyin
.
STYLE_NORMAL
});
...
...
@@ -1613,9 +1569,10 @@
this
.
SingleDMCPricex
=
obj
.
SingleDMCPrice
;
},
getPlatformAccount
(
typeIdtwo
)
{
let
platBranchId
=
this
.
getLocalStorage
().
RB_Branch_id
;
let
platBranchId
=
this
.
getLocalStorage
().
RB_Branch_id
;
this
.
apipost
(
'FinancialInstitutions_post_GetALLAccountList'
,
{
TypeId
:
typeIdtwo
,
BranchId
:
platBranchId
TypeId
:
typeIdtwo
,
BranchId
:
platBranchId
},
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
PlatformAccountList
=
res
.
data
.
data
...
...
@@ -1747,7 +1704,9 @@
},
err
=>
{})
},
getLineList
()
{
this
.
apipost
(
"line_post_GetAllList_V2"
,
{
LineDirection
:
3
},
res
=>
{
this
.
apipost
(
"line_post_GetAllList_V2"
,
{
LineDirection
:
3
},
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
LineList
=
res
.
data
.
data
;
}
...
...
@@ -1798,8 +1757,7 @@
this
.
apipost
(
"sellorder_get_GetAllStartCity"
,
{},
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
startCityList
=
res
.
data
.
data
;
}
else
{
}
}
else
{}
});
},
getStartList1
()
{
...
...
@@ -1809,8 +1767,7 @@
},
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
startCityList1
=
res
.
data
.
data
;
}
else
{
}
}
else
{}
});
},
getCompanyList
()
{
...
...
@@ -1882,9 +1839,9 @@
},
mounted
()
{
// crm自动登陆传过来的参数
if
(
this
.
$route
.
query
.
crmOrderObj
)
{
if
(
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
}
...
...
@@ -1898,7 +1855,7 @@
this
.
msg
.
TCIDList
=
this
.
TCIDList
=
this
.
$route
.
query
.
TCIDList
;
}
if
(
this
.
msg
.
StartTime
===
""
)
{
let
nowDay
=
this
.
FormartDate
(
new
Date
());
let
nowDay
=
this
.
FormartDate
(
new
Date
());
this
.
msg
.
StartTime
=
nowDay
;
}
let
userInfo
=
this
.
getLocalStorage
()
...
...
@@ -1919,7 +1876,7 @@
// this.getKhmdList()
this
.
getJyfs
()
this
.
getFylx
()
this
.
getCountry
()
//国籍
this
.
getCountry
()
//国籍
}
}
...
...
src/components/SingleContract.vue
View file @
9196014c
...
...
@@ -298,11 +298,12 @@
.TC-MainContent
.ql-editor
{
min-height
:
200px
;
}
.TC-MainContent
.disClick
{
background-color
:
#d1d1d1
!important
;
color
:
#fff
!important
;
background-color
:
#d1d1d1
!important
;
color
:
#fff
!important
;
background-image
:
none
;
border
:
1px
solid
#d1d1d1
!important
;
border
:
1px
solid
#d1d1d1
!important
;
}
.TC-MainContent
.disClick
:hover
{
...
...
@@ -324,7 +325,8 @@
单项委托协议
</span>
<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>
<el-form
label-width=
"180px"
:model=
"CtObj"
:rules=
"rules"
ref=
"CtObj"
>
...
...
@@ -411,11 +413,22 @@
<div
class=
"createTableTitle"
>
受托方(旅行社)信息
</div>
<table
class=
"createTable"
>
<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>
<td>
<el-form-item
label=
"名称"
>
<el-input
type=
"text"
v-model=
"CtObj.TravelAgency_Name"
class=
"w300"
maxlength=
"70"
></el-input>
<el-input
type=
"text"
v-model=
"CtObj.TravelAgency_Name"
class=
"w300"
maxlength=
"70"
></el-input>
</el-form-item>
</td>
</tr>
...
...
@@ -1258,6 +1271,7 @@
Tourists_Fax
:
""
,
Tourists_EmergencyLinkMan
:
""
,
Tourists_EmergencyLinkTel
:
""
,
SignType
:
0
,
//合同章类型
TravelAgency_Name
:
"(株)ピースインターナショナル"
,
//旅行社名称
TravelAgency_LicenseNum
:
"L-SC-CJ00015"
,
TravelAgency_DealMan
:
""
,
...
...
@@ -1418,8 +1432,8 @@
};
},
filters
:{
YMD
(
date
)
{
filters
:
{
YMD
(
date
)
{
return
moment
(
date
).
format
(
"YYYY-MM-DD HH:mm"
);
}
},
...
...
src/components/TravelContractView.vue
View file @
9196014c
...
...
@@ -809,7 +809,7 @@
<td>
受托方(旅行社)签章:
</td>
<td
style=
"position:relative;"
>
<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;"
/>
</td>
</tr>
...
...
@@ -1350,7 +1350,7 @@
</td>
<td
style=
"width:15%"
>
出境社盖章:
</td>
<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;"
/>
</td>
</tr>
...
...
@@ -1799,7 +1799,7 @@
<td>
乙方签字(盖章)
</td>
<td
style=
"position:relative;"
>
<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;"
/>
</td>
</tr>
...
...
@@ -2123,7 +2123,8 @@
TripType
:
0
,
//行程类型(0-简易行程,1-标准行程)
Tourists_Sign
:
''
,
CreateTimeStr
:
""
,
IsTravelAgencySignature
:
0
//是否盖章
IsTravelAgencySignature
:
0
,
//是否盖章
ZhangImg
:
""
,
//合同章
},
};
},
...
...
@@ -2257,8 +2258,7 @@
this
.
CtObj
.
OtherConventionPrice
=
tempObj
.
OtherConventionPrice
;
this
.
CtObj
.
TicketTotalNum
=
tempObj
.
TicketTotalNum
;
this
.
CtObj
.
TicketOutDayNum
=
tempObj
.
TicketOutDayNum
;
this
.
CtObj
.
TicketTotalDepositPrice
=
tempObj
.
TicketTotalDepositPrice
;
this
.
CtObj
.
TicketTotalDepositPrice
=
tempObj
.
TicketTotalDepositPrice
;
this
.
CtObj
.
HotelTotal
=
tempObj
.
HotelTotal
;
this
.
CtObj
.
HotelCheckInType
=
tempObj
.
HotelCheckInType
;
this
.
CtObj
.
HotelNotice
=
tempObj
.
HotelNotice
;
...
...
@@ -2267,6 +2267,7 @@
this
.
CtObj
.
VisaTotalPrice
=
tempObj
.
VisaTotalPrice
;
this
.
CtObj
.
Tourists_Sign
=
tempObj
.
Tourists_Sign
;
this
.
CtObj
.
IsTravelAgencySignature
=
tempObj
.
IsTravelAgencySignature
;
this
.
CtObj
.
ZhangImg
=
tempObj
.
ZhangImg
;
this
.
CtObj
.
TicketAndHotelTotalPrice
=
tempObj
.
TicketAndHotelTotalPrice
;
if
(
...
...
src/components/orderCommon/order-form2.vue
View file @
9196014c
<
style
scoped
>
.commonOrderForm
{
.commonOrderForm
{
position
:
fixed
;
left
:
0
;
right
:
0
;
...
...
@@ -12,9 +12,9 @@
padding
:
10px
10px
0
;
width
:
100%
;
padding
:
20px
20px
10px
80px
;
}
}
.title
{
.title
{
border-left
:
3px
solid
#e95252
;
text-indent
:
15px
;
height
:
16px
;
...
...
@@ -23,34 +23,36 @@
margin-bottom
:
20px
;
line-height
:
14px
;
color
:
#000
;
}
.passengerSaleList_table
{
}
.passengerSaleList_table
{
width
:
100%
;
color
:
#333
;
border-bottom
:
1px
solid
#cccccc
;
border-right
:
1px
solid
#cccccc
;
}
}
.passengerSaleList_table
tr
{
.passengerSaleList_table
tr
{
background
:
#fff
;
}
}
.passengerSaleList_table
tr
th
{
.passengerSaleList_table
tr
th
{
background
:
#e6e6e6
;
height
:
30px
;
font-size
:
12px
;
text-align
:
center
;
border-top
:
1px
solid
#cccccc
;
border-left
:
1px
solid
#cccccc
;
}
}
.passengerSaleList_table
tr
td
{
.passengerSaleList_table
tr
td
{
padding
:
10px
10px
25px
10px
;
font-size
:
12px
;
text-align
:
center
;
border-top
:
1px
solid
#cccccc
;
border-left
:
1px
solid
#cccccc
;
}
}
</
style
>
<
template
>
<div
class=
"commonOrderForm"
:style=
"
{ height: ScreenHeight }">
...
...
@@ -58,55 +60,27 @@
{{
$t
(
"salesModule.SignImdi"
)
}}
<span
v-if=
"crmOrderObj"
>
<span
style=
"color: red"
>
引流人:
{{
crmOrderObj
.
LureEmpNmae
}}
</span>
<span
style=
"color: #2aaef2"
>
/客人:
{{
crmOrderObj
.
CRMGuestName
}}
</span
>
<span
style=
"color: #2aaef2"
>
/客人:
{{
crmOrderObj
.
CRMGuestName
}}
</span>
</span>
<span
class=
"fr"
>
<input
type=
"button"
class=
"hollowFixedBtn"
:value=
"$t('pub.cancelBtn')"
@
click=
"cancelSubmit()"
/>
<input
type=
"button"
class=
"normalBtn"
:value=
"$t('salesModule.SignImdi')"
@
click=
"submitForm('addMsg')"
/>
<input
type=
"button"
class=
"hollowFixedBtn"
:value=
"$t('pub.cancelBtn')"
@
click=
"cancelSubmit()"
/>
<input
type=
"button"
class=
"normalBtn"
:value=
"$t('salesModule.SignImdi')"
@
click=
"submitForm('addMsg')"
/>
</span>
</p>
<el-form
:model=
"addMsg"
ref=
"addMsg"
label-position=
"right"
:rules=
"rules"
label-width=
"90px"
>
<el-form
:model=
"addMsg"
ref=
"addMsg"
label-position=
"right"
:rules=
"rules"
label-width=
"90px"
>
<el-row
:gutter=
"20"
>
<el-col
:span=
"4"
>
<!-- 客户类型 -->
<el-form-item
:label=
"$t('fnc.khleixing')"
prop=
"CustomerType"
>
<el-select
v-model=
"addMsg.CustomerType"
filterable
:placeholder=
"$t('pub.pleaseSel')"
@
change=
"
<el-select
v-model=
"addMsg.CustomerType"
filterable
:placeholder=
"$t('pub.pleaseSel')"
@
change=
"
resetMsg(addMsg.CustomerType);
getTypePrice();
resetSelect();
getClientSource();
getCustomer();
getTotalPrice();
"
>
<el-option
v-for=
"item in customerTypeList"
:label=
"item.Name"
:value=
"item.Id"
:key=
"item.Id"
>
"
>
<el-option
v-for=
"item in customerTypeList"
:label=
"item.Name"
:value=
"item.Id"
:key=
"item.Id"
>
</el-option>
</el-select>
</el-form-item>
...
...
@@ -114,82 +88,42 @@
<el-col
:span=
"4"
v-if=
"pagesTitle != '当地游产品'"
>
<!-- 参团类型 -->
<el-form-item
:label=
"$t('fnc.ctleixing')"
prop=
"GroupType"
>
<el-select
v-model=
"addMsg.GroupType"
@
change=
"changeGroupType(addMsg.GroupType)"
filterable
:placeholder=
"$t('pub.pleaseSel')"
>
<!-- v-if="item.Id != 5" -->
<el-option
v-for=
"item in joinTypeList"
:label=
"item.Name"
:value=
"item.Id"
:key=
"item.Id"
>
<el-select
v-model=
"addMsg.GroupType"
@
change=
"changeGroupType(addMsg.GroupType)"
filterable
:placeholder=
"$t('pub.pleaseSel')"
>
<el-option
v-for=
"item in joinTypeList"
:label=
"item.Name"
:value=
"item.Id"
:key=
"item.Id"
>
</el-option>
</el-select>
</el-form-item>
</el-col>
<el-col
:span=
"4"
v-if=
"addMsg.GroupType == '3'"
>
<!--自由行占床不占床0-占床,1-不占床-->
<el-form-item
:label=
"$t('salesModule.IsUseRoom')"
prop=
"GroupTypeNeedHouse"
>
<el-switch
v-model=
"addMsg.GroupTypeNeedHouse"
active-value=
"0"
inactive-value=
"1"
></el-switch>
<el-form-item
:label=
"$t('salesModule.IsUseRoom')"
prop=
"GroupTypeNeedHouse"
>
<el-switch
v-model=
"addMsg.GroupTypeNeedHouse"
active-value=
"0"
inactive-value=
"1"
></el-switch>
</el-form-item>
</el-col>
<el-col
:span=
"4"
v-if=
"addMsg.CustomerType == 3 || addMsg.CustomerType == 4"
>
<el-col
:span=
"4"
v-if=
"addMsg.CustomerType == 3 || addMsg.CustomerType == 4"
>
<!--联系人-->
<el-form-item
:label=
"$t('hotel.suplier_contact')"
prop=
"ContactName"
>
<el-input
v-model=
"addMsg.ContactName"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"4"
v-if=
"addMsg.CustomerType == 3 || addMsg.CustomerType == 4"
>
<el-col
:span=
"4"
v-if=
"addMsg.CustomerType == 3 || addMsg.CustomerType == 4"
>
<!--联系电话-->
<el-form-item
:label=
"$t('restaurant.res_ContactNumber')"
prop=
"ContactMobile"
>
<el-form-item
:label=
"$t('restaurant.res_ContactNumber')"
prop=
"ContactMobile"
>
<el-input
v-model=
"addMsg.ContactMobile"
maxlength=
"20"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"4"
v-if=
"
<el-col
:span=
"4"
v-if=
"
addMsg.CustomerType == 1 ||
addMsg.CustomerType == 2 ||
addMsg.CustomerType == ''
"
>
"
>
<!--同行Id-->
<el-form-item
:label=
"$t('salesModule.CustomerStore')"
prop=
"CustomerId"
>
<el-select
v-model=
"addMsg.CustomerId"
filterable
:placeholder=
"$t('pub.pleaseSel')"
@
change=
"changeCustomer"
>
<el-option
v-for=
"(item, index) in customerList"
:label=
"item.customerName + '-' + item.contact"
:value=
"item.customerId"
:key=
"index"
>
<el-form-item
:label=
"$t('salesModule.CustomerStore')"
prop=
"CustomerId"
>
<el-select
v-model=
"addMsg.CustomerId"
filterable
:placeholder=
"$t('pub.pleaseSel')"
@
change=
"changeCustomer"
>
<el-option
v-for=
"(item, index) in customerList"
:label=
"item.customerName + '-' + item.contact"
:value=
"item.customerId"
:key=
"index"
>
</el-option>
</el-select>
</el-form-item>
...
...
@@ -203,501 +137,284 @@
<template
v-if=
"showCity && pagesTitle == '跟团游产品'"
>
<el-col
:span=
"4"
>
<!--出发城市-->
<el-form-item
:label=
"$t('system.table_goCity')"
prop=
"DepartureCityId"
>
<el-select
v-model=
"addMsg.DepartureCityId"
:disabled=
"
<el-form-item
:label=
"$t('system.table_goCity')"
prop=
"DepartureCityId"
>
<el-select
v-model=
"addMsg.DepartureCityId"
:disabled=
"
priceObj.SonControlID !== -1 &&
priceObj.OutBranchId !== priceObj.SonControlID
"
filterable
:placeholder=
"$t('pub.pleaseSel')"
@
change=
"addMsg.IsIntermodal = 2"
>
<el-option
v-for=
"item in startCityList"
:label=
"item.Name"
:value=
"item.ID"
:key=
"item.ID"
>
"
filterable
:placeholder=
"$t('pub.pleaseSel')"
@
change=
"addMsg.IsIntermodal = 2"
>
<el-option
v-for=
"item in startCityList"
:label=
"item.Name"
:value=
"item.ID"
:key=
"item.ID"
>
</el-option>
</el-select>
</el-form-item>
</el-col>
<el-col
:span=
"4"
>
<!--出发是否联运-->
<el-form-item
:label=
"$t('salesModule.IsLianYn')"
prop=
"IsIntermodal"
v-show=
"
<el-form-item
:label=
"$t('salesModule.IsLianYn')"
prop=
"IsIntermodal"
v-show=
"
addMsg.DepartureCityId != priceObj.StartCityID &&
addMsg.DepartureCityId != ''
"
>
<el-switch
v-model=
"addMsg.IsIntermodal"
active-value=
"1"
inactive-value=
"2"
@
change=
"getUnionTravelPrice(priceObj, 1)"
></el-switch>
"
>
<el-switch
v-model=
"addMsg.IsIntermodal"
active-value=
"1"
inactive-value=
"2"
@
change=
"getUnionTravelPrice(priceObj, 1)"
></el-switch>
</el-form-item>
</el-col>
<el-col
:span=
"4"
>
<!--联运时间-->
<el-form-item
:label=
"$t('salesModule.LYtime')"
prop=
"GoCityTime"
v-show=
"
<el-form-item
:label=
"$t('salesModule.LYtime')"
prop=
"GoCityTime"
v-show=
"
addMsg.IsIntermodal == 1 &&
addMsg.DepartureCityId != priceObj.StartCityID
"
>
<el-date-picker
:picker-options=
"pickerOptions0"
v-model=
"addMsg.GoCityTime"
value-format=
"yyyy-MM-dd"
type=
"date"
@
change=
"getUnionTravelPrice(priceObj, 1)"
></el-date-picker>
"
>
<el-date-picker
:picker-options=
"pickerOptions0"
v-model=
"addMsg.GoCityTime"
value-format=
"yyyy-MM-dd"
type=
"date"
@
change=
"getUnionTravelPrice(priceObj, 1)"
></el-date-picker>
</el-form-item>
</el-col>
<el-col
:span=
"4"
>
<!--返回城市-->
<el-form-item
:label=
"$t('salesModule.BackCity')"
prop=
"ReturnArriveCityId"
>
<el-select
v-model=
"addMsg.ReturnArriveCityId"
:disabled=
"
<el-form-item
:label=
"$t('salesModule.BackCity')"
prop=
"ReturnArriveCityId"
>
<el-select
v-model=
"addMsg.ReturnArriveCityId"
:disabled=
"
priceObj.SonControlID !== -1 &&
priceObj.OutBranchId !== priceObj.SonControlID
"
filterable
:placeholder=
"$t('pub.pleaseSel')"
@
change=
"addMsg.IsReturnIntermodal = 2"
>
<el-option
v-for=
"item in startCityList"
:label=
"item.Name"
:value=
"item.ID"
:key=
"item.ID"
>
"
filterable
:placeholder=
"$t('pub.pleaseSel')"
@
change=
"addMsg.IsReturnIntermodal = 2"
>
<el-option
v-for=
"item in startCityList"
:label=
"item.Name"
:value=
"item.ID"
:key=
"item.ID"
>
</el-option>
</el-select>
</el-form-item>
</el-col>
<el-col
:span=
"4"
>
<!--返程是否联运-->
<el-form-item
:label=
"$t('salesModule.IsLianYn')"
prop=
"IsReturnIntermodal"
v-show=
"
<el-form-item
:label=
"$t('salesModule.IsLianYn')"
prop=
"IsReturnIntermodal"
v-show=
"
addMsg.ReturnArriveCityId != priceObj.ReturnArriveCityId &&
addMsg.ReturnArriveCityId != ''
"
>
<el-switch
v-model=
"addMsg.IsReturnIntermodal"
active-value=
"1"
inactive-value=
"2"
@
change=
"getUnionTravelPrice(priceObj, 2)"
></el-switch>
"
>
<el-switch
v-model=
"addMsg.IsReturnIntermodal"
active-value=
"1"
inactive-value=
"2"
@
change=
"getUnionTravelPrice(priceObj, 2)"
></el-switch>
</el-form-item>
</el-col>
<el-col
:span=
"4"
>
<!--返程联运时间-->
<el-form-item
:label=
"$t('salesModule.LYtime')"
prop=
"IsReturnIntermodal"
v-show=
"
<el-form-item
:label=
"$t('salesModule.LYtime')"
prop=
"IsReturnIntermodal"
v-show=
"
addMsg.IsReturnIntermodal == 1 &&
addMsg.ReturnArriveCityId != priceObj.ReturnArriveCityId
"
>
<el-date-picker
:picker-options=
"pickerOptions1"
v-model=
"addMsg.BackCityTime"
value-format=
"yyyy-MM-dd"
type=
"date"
@
change=
"getUnionTravelPrice(priceObj, 2)"
></el-date-picker>
"
>
<el-date-picker
:picker-options=
"pickerOptions1"
v-model=
"addMsg.BackCityTime"
value-format=
"yyyy-MM-dd"
type=
"date"
@
change=
"getUnionTravelPrice(priceObj, 2)"
></el-date-picker>
</el-form-item>
</el-col>
</
template
>
<el-col
:span=
"4"
>
<el-form-item
:label=
"$t('salesModule.TeamPrice')"
prop=
"TC_Price"
>
<el-input
v-if=
"addMsg.GroupType != 4"
v-model=
"addMsg.TC_Price"
:disabled=
"pagesTitle == '跟团游产品' ? false : true"
@
input=
"getTotalPrice()"
>
<el-input
v-if=
"addMsg.GroupType != 4"
v-model=
"addMsg.TC_Price"
:disabled=
"pagesTitle == '跟团游产品' ? false : true"
@
input=
"getTotalPrice()"
>
</el-input>
<el-input
v-else
v-model=
"SingleDMCPricex"
:disabled=
"true"
@
input=
"getTotalPrice()"
></el-input>
<el-input
v-else
v-model=
"SingleDMCPricex"
:disabled=
"true"
@
input=
"getTotalPrice()"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"4"
v-show=
"
<el-col
:span=
"4"
v-show=
"
addMsg.IsIntermodal == 1 &&
addMsg.DepartureCityId != priceObj.StartCityID
"
>
"
>
<el-form-item
:label=
"$t('salesModule.StartLY')"
>
<el-input
v-model=
"stratPrice"
v-show=
"stratPriceShow"
:disabled=
"true"
></el-input>
<span
class=
"colorE95252"
v-show=
"!stratPriceShow"
>
{{ $t("pub.NoPrice") }}!
</span
>
<el-input
v-model=
"stratPrice"
v-show=
"stratPriceShow"
:disabled=
"true"
></el-input>
<span
class=
"colorE95252"
v-show=
"!stratPriceShow"
>
{{ $t("pub.NoPrice") }}!
</span>
</el-form-item>
</el-col>
<el-col
:span=
"4"
v-show=
"
<el-col
:span=
"4"
v-show=
"
addMsg.IsReturnIntermodal == 1 &&
addMsg.ReturnArriveCityId != priceObj.ReturnArriveCityId
"
>
"
>
<el-form-item
:label=
"$t('salesModule.BackLY')"
>
<el-input
v-model=
"returnPrice"
v-show=
"returnPriceShow"
:disabled=
"true"
></el-input>
<span
class=
"colorE95252"
v-show=
"!returnPriceShow"
>
{{ $t("pub.NoPrice") }}!
</span
>
<el-input
v-model=
"returnPrice"
v-show=
"returnPriceShow"
:disabled=
"true"
></el-input>
<span
class=
"colorE95252"
v-show=
"!returnPriceShow"
>
{{ $t("pub.NoPrice") }}!
</span>
</el-form-item>
</el-col>
<el-col
:span=
"4"
v-if=
"HightUnitPrice === '2'"
>
<el-form-item
:label=
"$t('fnc.cjdanjia')"
prop=
"Unit_Price"
>
<el-select
v-model=
"addMsg.Unit_Price"
filterable
:placeholder=
"$t('pub.pleaseSel')"
@
change=
"getTotalPrice(2)"
>
<el-option
v-for=
"item in Unit_PriceList"
:label=
"item.LessMoney"
:value=
"item.ID"
:key=
"item.ID"
>
<el-select
v-model=
"addMsg.Unit_Price"
filterable
:placeholder=
"$t('pub.pleaseSel')"
@
change=
"getTotalPrice(2)"
>
<el-option
v-for=
"item in Unit_PriceList"
:label=
"item.LessMoney"
:value=
"item.ID"
:key=
"item.ID"
>
</el-option>
</el-select>
</el-form-item>
</el-col>
<el-col
:span=
"4"
v-else
>
<el-form-item
:label=
"$t('fnc.cjdanjia')"
prop=
"Unit_Price"
>
<el-input
v-if=
"addMsg.GroupType != 4"
v-model=
"addMsg.Unit_Price"
@
change=
"getTotalPrice(3)"
>
<el-input
v-if=
"addMsg.GroupType != 4"
v-model=
"addMsg.Unit_Price"
@
change=
"getTotalPrice(3)"
>
</el-input>
<el-input
v-else
v-model=
"SingleDMCPrice"
@
change=
"getTotalPrice(3)"
></el-input>
<el-input
v-else
v-model=
"SingleDMCPrice"
@
change=
"getTotalPrice(3)"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"4"
v-show=
"addMsg.GroupType != '4'"
>
<!--高于本团单价-->
<el-form-item
:label=
"$t('salesModule.UpTeamPrice')"
>
<el-switch
v-model=
"HightUnitPrice"
active-value=
"1"
inactive-value=
"2"
></el-switch>
<el-switch
v-model=
"HightUnitPrice"
active-value=
"1"
inactive-value=
"2"
></el-switch>
<!--少价金额-->
<p
v-if=
"LessMoney == 0"
style=
"line-height: 18px; color: #e95252"
>
{{ $t("salesModule.Notice1") }}
</p>
<p
v-else-if=
"LessMoney > 0"
style=
"line-height: 18px; color: #e95252"
>
<p
v-else-if=
"LessMoney > 0"
style=
"line-height: 18px; color: #e95252"
>
{{ $t("salesModule.Notice2") }}{{ LessMoney
}}{{ $t("salesModule.Notice3") }}
</p>
</el-form-item>
</el-col>
</el-row>
<div
style=
"width: 100%; border-top: 1px dashed #ccc; margin-bottom: 25px"
></div>
<div
style=
"width: 100%; border-top: 1px dashed #ccc; margin-bottom: 25px"
></div>
<el-row
:gutter=
"20"
>
<el-col
:span=
"4"
>
<el-form-item
:label=
"$t('salesModule.SingleNum')"
prop=
"AirticketNum"
v-show=
"addMsg.GroupType == 4"
>
<el-input
v-model=
"addMsg.AirticketNum"
@
keyup
.
native=
"checkInteger(addMsg, 'AirticketNum')"
@
input=
"
<el-form-item
:label=
"$t('salesModule.SingleNum')"
prop=
"AirticketNum"
v-show=
"addMsg.GroupType == 4"
>
<el-input
v-model=
"addMsg.AirticketNum"
@
keyup
.
native=
"checkInteger(addMsg, 'AirticketNum')"
@
input=
"
getNumber();
getTotalPrice();
getHouseNo();
autoRemarks('AirticketNum', '单地接数量');
"
></el-input>
"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"4"
v-show=
"addMsg.GroupType !== '4'"
>
<!--成人人数-->
<el-form-item
:label=
"$t('salesModule.AdultNum')"
prop=
"ManNum"
>
<el-input
v-model=
"addMsg.ManNum"
:disabled=
"addMsg.GroupType === '4'"
@
keyup
.
native=
"checkInteger(addMsg, 'ManNum')"
@
input=
"
<el-input
v-model=
"addMsg.ManNum"
:disabled=
"addMsg.GroupType === '4'"
@
keyup
.
native=
"checkInteger(addMsg, 'ManNum')"
@
input=
"
getNumber();
getHouseNo();
getTotalPrice();
"
@
change=
"getNumGuest"
></el-input>
"
@
change=
"getNumGuest"
></el-input>
</el-form-item>
</el-col>
<
template
v-if=
"pagesTitle == '跟团游产品'"
>
<el-col
:span=
"4"
>
<p
v-if=
"priceObj.IsSupportChildren == 2"
style=
"
<p
v-if=
"priceObj.IsSupportChildren == 2"
style=
"
color: #e95252;
font-size: 12px;
line-height: 40px;
text-align: center;
"
>
"
>
{{
$t
(
"salesModule.NoSupplier"
)
}}
!
</p>
<el-form-item
v-if=
"priceObj.IsSupportChildren == 1"
:label=
"$t('Operation.Op_childNobed')"
prop=
"ChirdNoNeedBedNum"
>
<el-input
v-model=
"addMsg.ChirdNoNeedBedNum"
@
keyup
.
native=
"checkInteger(addMsg, 'ChirdNoNeedBedNum')"
<el-form-item
v-if=
"priceObj.IsSupportChildren == 1"
:label=
"$t('Operation.Op_childNobed')"
prop=
"ChirdNoNeedBedNum"
>
<el-input
v-model=
"addMsg.ChirdNoNeedBedNum"
@
keyup
.
native=
"checkInteger(addMsg, 'ChirdNoNeedBedNum')"
@
input=
"
getNumber();
getHouseNo();
getTotalPrice();
autoRemarks('ChirdNoNeedBedNum', '儿童不占床');
"
></el-input>
"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"4"
v-if=
"priceObj.IsSupportChildren == 1"
v-show=
"addMsg.GroupType !== '4'"
>
<el-form-item
:label=
"$t('Operation.Op_childBed')"
prop=
"ChirdNeedBedNum"
>
<el-input
v-model=
"addMsg.ChirdNeedBedNum"
:disabled=
"addMsg.GroupType === '4'"
@
keyup
.
native=
"checkInteger(addMsg, 'ChirdNeedBedNum')"
@
input=
"
<el-col
:span=
"4"
v-if=
"priceObj.IsSupportChildren == 1"
v-show=
"addMsg.GroupType !== '4'"
>
<el-form-item
:label=
"$t('Operation.Op_childBed')"
prop=
"ChirdNeedBedNum"
>
<el-input
v-model=
"addMsg.ChirdNeedBedNum"
:disabled=
"addMsg.GroupType === '4'"
@
keyup
.
native=
"checkInteger(addMsg, 'ChirdNeedBedNum')"
@
input=
"
getNumber();
getHouseNo();
getTotalPrice();
autoRemarks('ChirdNeedBedNum', '儿童占床');
"
></el-input>
"
></el-input>
</el-form-item>
</el-col>
</
template
>
<
template
v-if=
"pagesTitle == '当地游产品'"
>
<el-col
:span=
"4"
>
<p
v-if=
"priceObj.IsSupportChildren == 2"
style=
"
<p
v-if=
"priceObj.IsSupportChildren == 2"
style=
"
color: #e95252;
font-size: 12px;
line-height: 40px;
text-align: center;
"
>
"
>
{{
$t
(
"salesModule.NoSupplier"
)
}}
!
</p>
<!-- getHouseNo(); -->
<el-form-item
v-if=
"priceObj.IsSupportChildren == 1"
v-show=
"addMsg.GroupType !== '4'"
:label=
"$t('salesModule.ChildNum')"
prop=
"ChirdNum"
>
<el-input
v-model=
"addMsg.ChirdNum"
:disabled=
"addMsg.GroupType === '4'"
@
keyup
.
native=
"checkInteger(addMsg, 'ChirdNum')"
@
input=
"
<el-form-item
v-if=
"priceObj.IsSupportChildren == 1"
v-show=
"addMsg.GroupType !== '4'"
:label=
"$t('salesModule.ChildNum')"
prop=
"ChirdNum"
>
<el-input
v-model=
"addMsg.ChirdNum"
:disabled=
"addMsg.GroupType === '4'"
@
keyup
.
native=
"checkInteger(addMsg, 'ChirdNum')"
@
input=
"
getNumber();
getTotalPrice();
autoRemarks('ChirdNum', '儿童人数');
"
@
change=
"getNumGuest()"
></el-input>
"
@
change=
"getNumGuest()"
></el-input>
</el-form-item>
</el-col>
</
template
>
<el-col
:span=
"4"
v-if=
"priceObj.IsSupportChildren == 1"
v-show=
"addMsg.GroupType !== '4'"
>
<el-col
:span=
"4"
v-if=
"priceObj.IsSupportChildren == 1"
v-show=
"addMsg.GroupType !== '4'"
>
<el-form-item
:label=
"$t('salesModule.BabyNum')"
prop=
"BabyNum"
>
<el-input
v-model=
"addMsg.BabyNum"
:disabled=
"addMsg.GroupType === '4'"
@
keyup
.
native=
"checkInteger(addMsg, 'BabyNum')"
@
input=
"
<el-input
v-model=
"addMsg.BabyNum"
:disabled=
"addMsg.GroupType === '4'"
@
keyup
.
native=
"checkInteger(addMsg, 'BabyNum')"
@
input=
"
getNumber();
getTotalPrice();
autoRemarks('BabyNum', '婴儿人数');
"
@
change=
"getNumGuest"
></el-input>
"
@
change=
"getNumGuest"
></el-input>
</el-form-item>
</el-col>
<
template
v-if=
"pagesTitle == '跟团游产品'"
>
<el-col
:span=
"4"
v-show=
"addMsg.GroupType !== '4'"
>
<el-form-item
:label=
"$t('salesModule.OldPeopleNum')"
prop=
"OldPeopleNum"
>
<el-input
v-model=
"addMsg.OldPeopleNum"
:disabled=
"addMsg.GroupType === '4'"
@
keyup
.
native=
"checkInteger(addMsg, 'OldPeopleNum')"
@
input=
"
<el-form-item
:label=
"$t('salesModule.OldPeopleNum')"
prop=
"OldPeopleNum"
>
<el-input
v-model=
"addMsg.OldPeopleNum"
:disabled=
"addMsg.GroupType === '4'"
@
keyup
.
native=
"checkInteger(addMsg, 'OldPeopleNum')"
@
input=
"
getNumber();
getHouseNo();
getTotalPrice();
autoRemarks('OldPeopleNum', '老人人数');
"
></el-input>
"
></el-input>
</el-form-item>
</el-col>
</
template
>
<
template
v-if=
"pagesTitle == '跟团游产品'"
>
<el-col
:span=
"4"
v-if=
"addMsg.GroupTypeNeedHouse == '0'"
>
<el-form-item
:label=
"$t('salesModule.SingleRoomNum')"
prop=
"SingleRoomNum"
>
<el-input
v-model=
"addMsg.SingleRoomNum"
@
keyup
.
native=
"checkInteger(addMsg, 'SingleRoomNum')"
@
input=
"
<el-form-item
:label=
"$t('salesModule.SingleRoomNum')"
prop=
"SingleRoomNum"
>
<el-input
v-model=
"addMsg.SingleRoomNum"
@
keyup
.
native=
"checkInteger(addMsg, 'SingleRoomNum')"
@
input=
"
yzSingleBed();
getTotalPrice();
autoRemarks('SingleRoomNum', '单房数量');
"
></el-input>
"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"4"
v-if=
"addMsg.GroupTypeNeedHouse == '0' && showCity"
>
<el-form-item
:label=
"$t('salesModule.BigRoomNum')"
prop=
"BigRoomNum"
>
<el-input
v-model=
"addMsg.BigRoomNum"
@
keyup
.
native=
"checkInteger(addMsg, 'BigRoomNum')"
@
input=
"
<el-form-item
:label=
"$t('salesModule.BigRoomNum')"
prop=
"BigRoomNum"
>
<el-input
v-model=
"addMsg.BigRoomNum"
@
keyup
.
native=
"checkInteger(addMsg, 'BigRoomNum')"
@
input=
"
yzBigBed();
getTotalPrice();
autoRemarks('BigRoomNum', '大床房');
"
></el-input>
"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"4"
v-if=
"addMsg.GroupTypeNeedHouse == '0' && showCity"
>
<el-form-item
:label=
"$t('salesModule.TripleRoomNum')"
prop=
"TripleRoomNum"
>
<el-input
v-model=
"addMsg.TripleRoomNum"
@
keyup
.
native=
"checkInteger(addMsg, 'TripleRoomNum')"
@
input=
"
<el-form-item
:label=
"$t('salesModule.TripleRoomNum')"
prop=
"TripleRoomNum"
>
<el-input
v-model=
"addMsg.TripleRoomNum"
@
keyup
.
native=
"checkInteger(addMsg, 'TripleRoomNum')"
@
input=
"
yzThreeBed();
getTotalPrice();
autoRemarks('TripleRoomNum', '三人房');
"
></el-input>
"
></el-input>
</el-form-item>
</el-col>
</
template
>
<el-col
:span=
"4"
v-if=
"pagesTitle == '跟团游产品'"
>
<el-form-item
:label=
"$t('salesModule.VisaNum')"
prop=
"VisaNum"
>
<el-input
v-model=
"addMsg.VisaNum"
@
keyup
.
native=
"checkInteger(addMsg, 'VisaNum')"
@
input=
"
<el-input
v-model=
"addMsg.VisaNum"
@
keyup
.
native=
"checkInteger(addMsg, 'VisaNum')"
@
input=
"
yzVisaNum();
getTotalPrice();
autoRemarks('VisaNum', '不要签证数量');
"
></el-input>
"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"4"
v-if=
"showCity || pagesTitle == '当地游产品'"
>
<el-form-item
:label=
"$t('salesModule.SaleNum')"
prop=
"SaleNum"
>
<el-input
v-model=
"addMsg.SafeNum"
@
keyup
.
native=
"checkInteger(addMsg, 'SafeNum')"
@
input=
"
<el-input
v-model=
"addMsg.SafeNum"
@
keyup
.
native=
"checkInteger(addMsg, 'SafeNum')"
@
input=
"
yzSafeNum();
getTotalPrice();
"
@
change=
"getNumGuest"
></el-input>
"
@
change=
"getNumGuest"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"4"
v-if=
"pagesTitle == '跟团游产品'"
>
<el-form-item
:label=
"$t('salesModule.SingleFM')"
>
<el-radio
v-model=
"addMsg.OneSex"
label=
"1"
>
{{ $t("pub.man") }}
<el-radio
v-model=
"addMsg.OneSex"
label=
"1"
>
{{ $t("pub.man") }}
</el-radio>
<el-radio
v-model=
"addMsg.OneSex"
label=
"2"
>
{{ $t("pub.woman") }}
<el-radio
v-model=
"addMsg.OneSex"
label=
"2"
>
{{ $t("pub.woman") }}
</el-radio>
</el-form-item>
</el-col>
<el-col
:span=
"4"
v-if=
"addMsg.GroupTypeNeedHouse == '0' && pagesTitle == '跟团游产品'"
>
<el-form-item
:label=
"$t('salesModule.PredictRoomNum')"
prop=
"PredictRoomNum"
>
<el-input
v-model=
"addMsg.PredictRoomNum"
:disabled=
"true"
></el-input>
<el-col
:span=
"4"
v-if=
"addMsg.GroupTypeNeedHouse == '0' && pagesTitle == '跟团游产品'"
>
<el-form-item
:label=
"$t('salesModule.PredictRoomNum')"
prop=
"PredictRoomNum"
>
<el-input
v-model=
"addMsg.PredictRoomNum"
:disabled=
"true"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"4"
>
...
...
@@ -705,188 +422,85 @@
<el-input
v-model=
"addMsg.PreferPrice"
:disabled=
"true"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"4"
v-show=
"addMsg.CustomerType == 1 || addMsg.CustomerType == 2"
>
<el-form-item
:label=
"$t('salesModule.SharePeople')"
prop=
"CommissionSharePeople"
>
<el-select
:disabled=
"isUpdateSharePeople"
filterable
clearable
@
change=
"getTotalPrice"
v-model=
"addMsg.CommissionSharePeople"
:placeholder=
"$t('pub.pleaseSel')"
>
<el-col
:span=
"4"
v-show=
"addMsg.CustomerType == 1 || addMsg.CustomerType == 2"
>
<el-form-item
:label=
"$t('salesModule.SharePeople')"
prop=
"CommissionSharePeople"
>
<el-select
:disabled=
"isUpdateSharePeople"
filterable
clearable
@
change=
"getTotalPrice"
v-model=
"addMsg.CommissionSharePeople"
:placeholder=
"$t('pub.pleaseSel')"
>
<el-option
:label=
"$t('fnc.no')"
value=
"-1"
key=
"-1"
></el-option>
<el-option
v-for=
"item in employeeList"
:label=
"item.EmName"
:value=
"item.EmployeeId"
:key=
"item.EmployeeId"
></el-option>
<el-option
v-for=
"item in employeeList"
:label=
"item.EmName"
:value=
"item.EmployeeId"
:key=
"item.EmployeeId"
></el-option>
</el-select>
</el-form-item>
</el-col>
<el-col
:span=
"4"
v-show=
"
<el-col
:span=
"4"
v-show=
"
addMsg.CommissionSharePeople != '-1' &&
(addMsg.CustomerType == 1 || addMsg.CustomerType == 2)
"
>
<el-form-item
:label=
"$t('salesModule.ShareMoney')"
prop=
"CommissionShareMoney"
>
<el-input
v-model=
"addMsg.CommissionShareMoney"
:disabled=
"true"
></el-input>
"
>
<el-form-item
:label=
"$t('salesModule.ShareMoney')"
prop=
"CommissionShareMoney"
>
<el-input
v-model=
"addMsg.CommissionShareMoney"
:disabled=
"true"
></el-input>
</el-form-item>
</el-col>
<
template
v-if=
"pagesTitle == '跟团游产品'"
>
<el-col
:span=
"4"
>
<el-form-item
:label=
"$t('Airticket.Air_EconomyClass')"
prop=
"YSeatNum"
>
<el-input
v-model=
"addMsg.YSeatNum"
@
keyup
.
native=
"checkInteger(addMsg, 'YSeatNum')"
></el-input>
<el-form-item
:label=
"$t('Airticket.Air_EconomyClass')"
prop=
"YSeatNum"
>
<el-input
v-model=
"addMsg.YSeatNum"
@
keyup
.
native=
"checkInteger(addMsg, 'YSeatNum')"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"4"
>
<el-form-item
:label=
"$t('Airticket.Air_businessClass')"
prop=
"ESeatNum"
>
<el-input
v-model=
"addMsg.ESeatNum"
@
input=
"getNumber()"
></el-input>
<el-form-item
:label=
"$t('Airticket.Air_businessClass')"
prop=
"ESeatNum"
>
<el-input
v-model=
"addMsg.ESeatNum"
@
input=
"getNumber()"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"4"
>
<el-form-item
:label=
"$t('Airticket.Air_firstClass')"
prop=
"FSeatNum"
>
<el-input
v-model=
"addMsg.FSeatNum"
@
input=
"getNumber()"
></el-input>
<el-form-item
:label=
"$t('Airticket.Air_firstClass')"
prop=
"FSeatNum"
>
<el-input
v-model=
"addMsg.FSeatNum"
@
input=
"getNumber()"
></el-input>
</el-form-item>
</el-col>
</
template
>
<!--<el-col :span="4">
<el-form-item label="单地接数量" prop="AirticketNum">
<el-input v-model='addMsg.AirticketNum' @keyup.native="checkInteger(addMsg,'AirticketNum')" @input='getTotalPrice();getHouseNo()'></el-input>
</el-form-item>
</el-col>-->
<el-col
:span=
"4"
v-if=
"showCity && pagesTitle == '跟团游产品'"
>
<el-form-item
:label=
"$t('salesModule.ScenicRefund')"
>
<el-select
filterable
multiple
class=
"multiple_input"
v-model=
"addMsg.ScenicRefundArr"
:placeholder=
"$t('pub.pleaseSel')"
@
change=
"ScenicRefundMethods"
>
<el-option
v-for=
"(item, index) in ScenicRefundList"
:label=
"item.ScenicName"
:value=
"item.Id"
:key=
"index"
>
<el-select
filterable
multiple
class=
"multiple_input"
v-model=
"addMsg.ScenicRefundArr"
:placeholder=
"$t('pub.pleaseSel')"
@
change=
"ScenicRefundMethods"
>
<el-option
v-for=
"(item, index) in ScenicRefundList"
:label=
"item.ScenicName"
:value=
"item.Id"
:key=
"index"
>
</el-option>
</el-select>
</el-form-item>
</el-col>
<el-col
:span=
"4"
v-if=
"showCity || pagesTitle == '当地游产品'"
>
<el-form-item
:label=
"$t('salesModule.MsgMoney')"
>
<el-select
filterable
v-model=
"addMsg.IsShowMessagesMoney"
:placeholder=
"$t('pub.pleaseSel')"
>
<el-option
:label=
"$t('system.table_isShows')"
value=
"1"
></el-option>
<el-option
:label=
"$t('MarketingActi.notShow')"
value=
"2"
></el-option>
<el-select
filterable
v-model=
"addMsg.IsShowMessagesMoney"
:placeholder=
"$t('pub.pleaseSel')"
>
<el-option
:label=
"$t('system.table_isShows')"
value=
"1"
></el-option>
<el-option
:label=
"$t('MarketingActi.notShow')"
value=
"2"
></el-option>
</el-select>
</el-form-item>
</el-col>
<el-col
:span=
"4"
>
<el-form-item
:label=
"$t('salesModule.CustomFrom')"
prop=
"ClientSource"
>
<el-select
v-model=
"addMsg.ClientSource"
filterable
:placeholder=
"$t('pub.pleaseSel')"
@
change=
"changeClientSource"
>
<el-option
v-for=
"(item, index) in clientSourceList"
:label=
"item.Name"
:value=
"item.Id"
:key=
"index"
>
<el-form-item
:label=
"$t('salesModule.CustomFrom')"
prop=
"ClientSource"
>
<el-select
v-model=
"addMsg.ClientSource"
filterable
:placeholder=
"$t('pub.pleaseSel')"
@
change=
"changeClientSource"
>
<el-option
v-for=
"(item, index) in clientSourceList"
:label=
"item.Name"
:value=
"item.Id"
:key=
"index"
>
</el-option>
</el-select>
</el-form-item>
</el-col>
<el-col
:span=
"4"
>
<el-form-item
:label=
"$t('salesModule.SSPT')"
prop=
"BrandId"
v-show=
"addMsg.ClientSource == 1 || addMsg.ClientSource == 4"
>
<el-select
v-model=
"addMsg.BrandId"
filterable
:placeholder=
"$t('pub.pleaseSel')"
>
<el-option
v-for=
"item in customerBrandList"
:label=
"item.brandName"
:value=
"item.dictId"
:key=
"item.dictId"
>
<el-form-item
:label=
"$t('salesModule.SSPT')"
prop=
"BrandId"
v-show=
"addMsg.ClientSource == 1 || addMsg.ClientSource == 4"
>
<el-select
v-model=
"addMsg.BrandId"
filterable
:placeholder=
"$t('pub.pleaseSel')"
>
<el-option
v-for=
"item in customerBrandList"
:label=
"item.brandName"
:value=
"item.dictId"
:key=
"item.dictId"
>
</el-option>
</el-select>
</el-form-item>
</el-col>
<el-col
:span=
"4"
>
<!--交易方式-->
<el-form-item
:label=
"$t('tips.jiaoyifangshi')"
prop=
"TradeWay"
v-show=
"addMsg.ClientSource == 1 || addMsg.ClientSource == 4"
>
<el-select
v-model=
"addMsg.TradeWay"
filterable
:placeholder=
"$t('pub.pleaseSel')"
@
change=
"tradeWayMethods"
>
<el-option
v-for=
"item in tradeWayList"
:label=
"item.Name"
:value=
"item.Id"
:key=
"item.Id"
>
<el-form-item
:label=
"$t('tips.jiaoyifangshi')"
prop=
"TradeWay"
v-show=
"addMsg.ClientSource == 1 || addMsg.ClientSource == 4"
>
<el-select
v-model=
"addMsg.TradeWay"
filterable
:placeholder=
"$t('pub.pleaseSel')"
@
change=
"tradeWayMethods"
>
<el-option
v-for=
"item in tradeWayList"
:label=
"item.Name"
:value=
"item.Id"
:key=
"item.Id"
>
</el-option>
</el-select>
</el-form-item>
...
...
@@ -894,57 +508,24 @@
<!--平台账户-->
<el-col
:span=
"4"
v-if=
"addMsg.TradeWay == 1 || addMsg.TradeWay == 3"
>
<el-form-item
:label=
"$t('fnc.fkuanzhanghu')"
>
<el-select
filterable
v-model=
"addMsg.PlatformAccount"
:placeholder=
"$t('pub.pleaseSel')"
>
<el-option
v-for=
"item in PlatformAccountList"
:label=
"item.Alias"
:value=
"item.ID"
:key=
"item.ID"
>
<el-select
filterable
v-model=
"addMsg.PlatformAccount"
:placeholder=
"$t('pub.pleaseSel')"
>
<el-option
v-for=
"item in PlatformAccountList"
:label=
"item.Alias"
:value=
"item.ID"
:key=
"item.ID"
>
</el-option>
</el-select>
</el-form-item>
</el-col>
<!--平台订单-->
<el-col
:span=
"4"
v-if=
"addMsg.TradeWay == 1 || addMsg.TradeWay == 3"
>
<el-form-item
:label=
"$t('salesModule.PlatOrder')"
prop=
"PlatformOrder"
>
<el-input
v-model=
"addMsg.PlatformOrder"
@
input=
"platformOrderMethods"
maxlength=
"20"
></el-input>
<el-form-item
:label=
"$t('salesModule.PlatOrder')"
prop=
"PlatformOrder"
>
<el-input
v-model=
"addMsg.PlatformOrder"
@
input=
"platformOrderMethods"
maxlength=
"20"
></el-input>
</el-form-item>
</el-col>
<!--报价单-->
<el-col
:span=
"4"
>
<el-form-item
label=
"报价单"
prop=
"QuotationUrl"
v-show=
"addMsg.GroupType == '2'"
>
<div
style=
"margin-bottom: 10px; width: 32%"
v-loading=
"uploadLloading"
element-loading-text=
"拼命上传中"
>
<el-upload
ref=
"my-upload"
class=
"upload-demo"
:http-request=
"uploadFileBtn"
:multiple=
"true"
:show-file-list=
"true"
:on-preview=
"previewFile"
:on-remove=
"removeFile"
:limit=
"1"
action
>
<el-form-item
label=
"报价单"
prop=
"QuotationUrl"
v-show=
"addMsg.GroupType == '2'"
>
<div
style=
"margin-bottom: 10px; width: 32%"
v-loading=
"uploadLloading"
element-loading-text=
"拼命上传中"
>
<el-upload
ref=
"my-upload"
class=
"upload-demo"
:http-request=
"uploadFileBtn"
:multiple=
"true"
:show-file-list=
"true"
:on-preview=
"previewFile"
:on-remove=
"removeFile"
:limit=
"1"
action
>
<el-button
size=
"small"
type=
"primary"
>
点击上传
</el-button>
</el-upload>
</div>
...
...
@@ -955,12 +536,7 @@
<el-row
:gutter=
"20"
style=
"margin-bottom: 20px"
>
<el-col
:span=
"24"
>
<el-form-item
label=
"房客信息"
prop=
""
>
<table
class=
"passengerSaleList_table"
border=
"0"
cellspacing=
"0"
cellpadding=
"0"
>
<table
class=
"passengerSaleList_table"
border=
"0"
cellspacing=
"0"
cellpadding=
"0"
>
<thead>
<tr>
<th
width=
"20%"
style=
"min-width: 260px"
>
姓名
</th>
...
...
@@ -976,137 +552,57 @@
<tr
v-for=
"(item, index) in addMsg.GuestList"
:key=
"index"
>
<td
width=
"20%"
style=
"min-width: 260px"
>
<div
style=
"display: flex; flex-direction: row"
>
<el-form-item
style=
"width: 50%"
:label=
"`姓 $
{index + 1} `"
:prop="`GuestList.${index}.SurName`"
:rules="rules.SurName"
label-width="50px"
label-position="left"
>
<el-input
size=
"small"
v-model=
"item.SurName"
placeholder=
"请输入姓"
style=
"width: 100%"
@
input=
"
<el-form-item
style=
"width: 50%"
:label=
"`姓 $
{index + 1} `" :prop="`GuestList.${index}.SurName`"
:rules="rules.SurName" label-width="50px" label-position="left">
<el-input
size=
"small"
v-model=
"item.SurName"
placeholder=
"请输入姓"
style=
"width: 100%"
@
input=
"
Transformation(item.SurName, 'SurName', index)
"
></el-input>
"
></el-input>
</el-form-item>
<el-form-item
style=
"width: 50%"
:label=
"`名 $
{index + 1} `"
:prop="`GuestList.${index}.Name`"
:rules="rules.Name"
label-width="50px"
label-position="left"
>
<el-input
size=
"small"
v-model=
"item.Name"
placeholder=
"请输入名"
style=
"width: 100%"
@
input=
"Transformation(item.Name, 'Name', index)"
></el-input>
<el-form-item
style=
"width: 50%"
:label=
"`名 $
{index + 1} `" :prop="`GuestList.${index}.Name`"
:rules="rules.Name" label-width="50px" label-position="left">
<el-input
size=
"small"
v-model=
"item.Name"
placeholder=
"请输入名"
style=
"width: 100%"
@
input=
"Transformation(item.Name, 'Name', index)"
></el-input>
</el-form-item>
</div>
</td>
<td
width=
"20%"
style=
"min-width: 220px"
>
<el-form-item
:label=
"`性别 $
{index + 1} `"
:prop="`GuestList.${index}.Sex`"
:rules="rules.Sex"
label-width="70px"
label-position="left"
>
<el-select
v-model=
"item.Sex"
placeholder=
"请选择性别"
style=
"width: 100%"
>
<el-option
v-for=
"item in optionsList"
:key=
"item.Id"
:label=
"item.Name"
:value=
"item.Id"
>
<el-form-item
:label=
"`性别 $
{index + 1} `" :prop="`GuestList.${index}.Sex`" :rules="rules.Sex"
label-width="70px" label-position="left">
<el-select
v-model=
"item.Sex"
placeholder=
"请选择性别"
style=
"width: 100%"
>
<el-option
v-for=
"item in optionsList"
:key=
"item.Id"
:label=
"item.Name"
:value=
"item.Id"
>
</el-option>
</el-select>
</el-form-item>
</td>
<td
width=
"20%"
style=
"min-width: 220px"
>
<el-form-item
:label=
"`出生日期 $
{index + 1} `"
:prop="`GuestList.${index}.Birthday`"
:rules="rules.Birthday"
label-width="100px"
label-position="left"
>
<el-date-picker
v-model=
"item.Birthday"
type=
"date"
value-format=
"yyyy-MM-dd"
placeholder=
"选择出生日期"
>
<el-form-item
:label=
"`出生日期 $
{index + 1} `" :prop="`GuestList.${index}.Birthday`"
:rules="rules.Birthday" label-width="100px" label-position="left">
<el-date-picker
v-model=
"item.Birthday"
type=
"date"
value-format=
"yyyy-MM-dd"
placeholder=
"选择出生日期"
>
</el-date-picker>
</el-form-item>
</td>
<td
width=
"20%"
style=
"min-width: 220px"
>
<el-form-item
:label=
"`国籍 $
{index + 1} `"
:prop="`GuestList.${index}.Nationality`"
:rules="rules.PassportNo"
label-width="80px"
label-position="left"
>
<el-select
v-model=
"item.Nationality"
filterable
size=
"mini"
class=
"w230"
>
<el-option
v-for=
"item in countryList"
:key=
"item.ID"
:label=
"item.Name"
:value=
"item.ID"
>
<el-form-item
:label=
"`国籍 $
{index + 1} `" :prop="`GuestList.${index}.Nationality`"
:rules="rules.PassportNo" label-width="80px" label-position="left">
<el-select
v-model=
"item.Nationality"
filterable
size=
"mini"
class=
"w230"
>
<el-option
v-for=
"item in countryList"
:key=
"item.ID"
:label=
"item.Name"
:value=
"item.ID"
>
</el-option>
</el-select>
</el-form-item>
</td>
<td
width=
"20%"
style=
"min-width: 220px"
>
<el-form-item
:label=
"`护照号 $
{index + 1} `"
:prop="`GuestList.${index}.PassportNo`"
:rules="rules.PassportNo"
label-width="80px"
label-position="left"
>
<el-input
size=
"small"
v-model=
"item.PassportNo"
placeholder=
"请输入护照号"
style=
"width: 100%"
></el-input>
<el-form-item
:label=
"`护照号 $
{index + 1} `" :prop="`GuestList.${index}.PassportNo`"
:rules="rules.PassportNo" label-width="80px" label-position="left">
<el-input
size=
"small"
v-model=
"item.PassportNo"
placeholder=
"请输入护照号"
style=
"width: 100%"
>
</el-input>
</el-form-item>
</td>
<td
width=
"20%"
style=
"min-width: 220px"
>
<el-form-item
:label=
"`手机号 $
{index + 1} `"
:prop="`GuestList.${index}.MobilePhone`"
:rules="rules.MobilePhone"
label-width="80px"
label-position="left"
>
<el-input
size=
"small"
type=
"Number"
v-model=
"item.MobilePhone"
placeholder=
"请输入手机号"
style=
"width: 100%"
></el-input>
<el-form-item
:label=
"`手机号 $
{index + 1} `" :prop="`GuestList.${index}.MobilePhone`"
:rules="rules.MobilePhone" label-width="80px" label-position="left">
<el-input
size=
"small"
type=
"Number"
v-model=
"item.MobilePhone"
placeholder=
"请输入手机号"
style=
"width: 100%"
></el-input>
</el-form-item>
</td>
</tr>
...
...
@@ -1121,43 +617,22 @@
</
template
>
<el-row
:gutter=
"20"
>
<el-col
:span=
"12"
v-if=
"pagesTitle == '当地游产品'"
>
<el-form-item
label=
"集合地"
prop=
"GatherAddress"
label-width=
"125px"
label-position=
"left"
>
<el-input
type=
"textarea"
size=
"small"
v-model=
"addMsg.GatherAddress"
placeholder=
"请输入集合地"
style=
"width: 100%"
></el-input>
<el-form-item
label=
"集合地"
prop=
"GatherAddress"
label-width=
"125px"
label-position=
"left"
>
<el-input
type=
"textarea"
size=
"small"
v-model=
"addMsg.GatherAddress"
placeholder=
"请输入集合地"
style=
"width: 100%"
></el-input>
</el-form-item>
</el-col>
<!--备注-->
<el-col
:span=
"pagesTitle == '当地游产品' ? 12 : 24"
>
<el-form-item
:label=
"$t('pub.pubRemark')"
prop=
"Remarks"
>
<el-input
v-model=
"addMsg.Remarks"
type=
"textarea"
maxlength=
"500"
></el-input>
<el-input
v-model=
"addMsg.Remarks"
type=
"textarea"
maxlength=
"500"
></el-input>
</el-form-item>
</el-col>
</el-row>
<el-row
:gutter=
"20"
v-if=
"addMsg.IsIntermodal == 1 || addMsg.IsReturnIntermodal == 1"
>
<el-row
:gutter=
"20"
v-if=
"addMsg.IsIntermodal == 1 || addMsg.IsReturnIntermodal == 1"
>
<el-col
:span=
"24"
>
<el-form-item
label=
"联运备注"
prop=
"UnionRemark"
>
<el-input
v-model=
"addMsg.UnionRemark"
type=
"textarea"
maxlength=
"500"
></el-input>
<el-input
v-model=
"addMsg.UnionRemark"
type=
"textarea"
maxlength=
"500"
placeholder=
""
></el-input>
</el-form-item>
</el-col>
</el-row>
...
...
@@ -1165,7 +640,7 @@
</div>
</template>
<
script
>
export
default
{
export
default
{
//团期编号,订单编号(新增传0),下单人选择的公司
props
:
[
"showCity"
,
...
...
@@ -1269,131 +744,98 @@ export default {
},
uploadLloading
:
false
,
rules
:
{
CustomerType
:
[
{
CustomerType
:
[{
required
:
true
,
message
:
"请选择客户类型"
,
trigger
:
"change"
,
},
],
CustomerId
:
[
{
},
],
CustomerId
:
[{
required
:
false
,
message
:
"请选择客户门店"
,
trigger
:
"change"
,
},
],
DepartureCityId
:
[
{
},
],
DepartureCityId
:
[{
required
:
true
,
message
:
"请选择出发城市"
,
trigger
:
"change"
,
},
],
GroupType
:
[
{
},
],
GroupType
:
[{
required
:
true
,
message
:
"请选择参团类型"
,
trigger
:
"change"
,
},
],
ClientSource
:
[
{
},
],
ClientSource
:
[{
required
:
true
,
message
:
"请选择客人来源"
,
trigger
:
"change"
,
},
],
TradeWay
:
[
{
},
],
TradeWay
:
[{
required
:
true
,
message
:
"请选择交易方式"
,
trigger
:
"change"
,
},
],
ContactName
:
[
{
},
],
ContactName
:
[{
required
:
true
,
message
:
"请输入联系人姓名"
,
trigger
:
"blur"
,
},
],
ContactMobile
:
[
{
},
],
ContactMobile
:
[{
required
:
true
,
message
:
"请输入联系人电话"
,
trigger
:
"blur"
,
},
{
pattern
:
/^
(
0|86|17951
)?(
13
[
0-9
]
|15
[
012356789
]
|17
[
012356789
]
|18
[
0-9
]
|19
[
0-9
]
|14
[
57
])[
0-9
]{8}
$/
,
pattern
:
/^
(
0|86|17951
)?(
13
[
0-9
]
|15
[
012356789
]
|17
[
012356789
]
|18
[
0-9
]
|19
[
0-9
]
|14
[
57
])[
0-9
]{8}
$/
,
message
:
"请输入正确的手机"
,
},
],
SurName
:
[
{
SurName
:
[{
required
:
true
,
message
:
"请输入姓"
,
trigger
:
"blur"
,
},
],
Name
:
[
{
},
],
Name
:
[{
required
:
true
,
message
:
"请输入名"
,
trigger
:
"blur"
,
},
],
Sex
:
[
{
},
],
Sex
:
[{
required
:
true
,
message
:
"请选择性别"
,
trigger
:
"change"
,
},
],
Birthday
:
[
{
},
],
Birthday
:
[{
required
:
true
,
message
:
"请选择出生日期"
,
trigger
:
"blur"
,
},
],
Nationality
:
[
{
},
],
Nationality
:
[{
required
:
true
,
message
:
"请选择国籍"
,
trigger
:
"change"
,
},
],
PassportNo
:
[
{
},
],
PassportNo
:
[{
required
:
true
,
message
:
"请输入护照号"
,
trigger
:
"blur"
,
},
],
MobilePhone
:
[
{
},
],
MobilePhone
:
[{
required
:
true
,
message
:
"请输入联系人电话"
,
trigger
:
"blur"
,
},
{
pattern
:
/^
(
0|86|17951
)?(
13
[
0-9
]
|15
[
012356789
]
|17
[
012356789
]
|18
[
0-9
]
|19
[
0-9
]
|14
[
57
])[
0-9
]{8}
$/
,
pattern
:
/^
(
0|86|17951
)?(
13
[
0-9
]
|15
[
012356789
]
|17
[
012356789
]
|18
[
0-9
]
|19
[
0-9
]
|14
[
57
])[
0-9
]{8}
$/
,
message
:
"请输入正确的手机"
,
},
],
GatherAddress
:
[
{
GatherAddress
:
[{
required
:
true
,
message
:
"请输入集合地"
,
trigger
:
"blur"
,
},
],
},
],
},
GuestList
:
[
{
GuestList
:
[{
SurName
:
""
,
Name
:
""
,
Sex
:
""
,
...
...
@@ -1404,8 +846,7 @@ export default {
PassportNo
:
""
,
Remarks
:
""
,
MobilePhone
:
""
,
},
],
},
],
GuestObj
:
{
SurName
:
""
,
Name
:
""
,
...
...
@@ -1448,9 +889,14 @@ export default {
otherRemark
:
""
,
SingleDMCPricex
:
0
,
// 单地接;
SingleDMCPrice
:
0
,
// 单地接;
optionsList
:
[
{
Name
:
"男"
,
Id
:
1
},
{
Name
:
"女"
,
Id
:
2
},
optionsList
:
[{
Name
:
"男"
,
Id
:
1
},
{
Name
:
"女"
,
Id
:
2
},
],
TotalNumber
:
0
,
//总人数
countryList
:
[],
//国籍
...
...
@@ -1733,9 +1179,9 @@ export default {
}
}
if
(
this
.
remarkMsg
.
fjf
===
""
)
{
this
.
remarkMsg
.
fjf
=
this
.
priceObj
[
"BabyChargePrice"
]
?
"儿童附加费:"
+
this
.
priceObj
[
"BabyChargePrice"
]
+
"/人;"
:
""
;
this
.
remarkMsg
.
fjf
=
this
.
priceObj
[
"BabyChargePrice"
]
?
"儿童附加费:"
+
this
.
priceObj
[
"BabyChargePrice"
]
+
"/人;"
:
""
;
}
}
if
(
text
===
"老人人数"
)
{
...
...
@@ -1970,8 +1416,7 @@ export default {
//获取线路最低定金金额
getMinPrice
(
id
)
{
this
.
apipost
(
"line_post_Get"
,
{
"line_post_Get"
,
{
ID
:
id
,
},
(
res
)
=>
{
...
...
@@ -2030,8 +1475,7 @@ export default {
Number
(
this
.
addMsg
.
AirticketNum
);
if
(
maxPeopleNum
>
0
)
{
this
.
apipost
(
"sellorder_post_GetLessPrice"
,
{
"sellorder_post_GetLessPrice"
,
{
TCID
:
this
.
priceObj
.
TCID
,
MaxPeopleNum
:
maxPeopleNum
,
},
...
...
@@ -2084,8 +1528,7 @@ export default {
let
yh
=
0
;
if
(
num
>
0
)
{
this
.
apipost
(
"sellorder_get_GetOrderMinPrice"
,
{
"sellorder_get_GetOrderMinPrice"
,
{
ltID
:
this
.
priceObj
.
ltID
,
Num
:
num
,
},
...
...
@@ -2122,9 +1565,9 @@ export default {
//算法:((成人+儿童占床数+老人-(三人房数量*3))-单房数)/2+单房数+三人房数量 8.7新增单地接儿童不占床 减去 儿童不占床
let
etbzc
=
0
;
if
(
this
.
addMsg
.
GroupType
==
4
)
{
etbzc
=
this
.
addMsg
.
ChirdNoNeedBedNum
?
Number
(
this
.
addMsg
.
ChirdNoNeedBedNum
)
:
0
;
etbzc
=
this
.
addMsg
.
ChirdNoNeedBedNum
?
Number
(
this
.
addMsg
.
ChirdNoNeedBedNum
)
:
0
;
}
this
.
addMsg
.
PredictRoomNum
=
(
Number
(
this
.
addMsg
.
AirticketNum
)
+
...
...
@@ -2558,8 +2001,7 @@ export default {
getPlatformAccount
(
typeIdtwo
)
{
let
platBranchId
=
this
.
CurrentUserInfo
.
RB_Branch_id
;
this
.
apipost
(
"FinancialInstitutions_post_GetALLAccountList"
,
{
"FinancialInstitutions_post_GetALLAccountList"
,
{
TypeId
:
typeIdtwo
,
BranchId
:
platBranchId
,
},
...
...
@@ -2589,8 +2031,7 @@ export default {
//可退景点
getScenicRefund
(
TCID
)
{
this
.
apipost
(
"sellorder_get_GetScenicRefundList"
,
{
"sellorder_get_GetScenicRefundList"
,
{
TCID
,
},
(
res
)
=>
{
...
...
@@ -2630,8 +2071,7 @@ export default {
this
.
isUpdateSharePeople
=
false
;
}
this
.
apipost
(
"app_today_visit_GetCustomerBrandByCustomerId"
,
{
"app_today_visit_GetCustomerBrandByCustomerId"
,
{
customerInfoId
:
this
.
addMsg
.
CustomerId
,
},
(
res
)
=>
{
...
...
@@ -2645,8 +2085,7 @@ export default {
//获取客户列表
getCustomer
()
{
this
.
apipost
(
"app_today_visit_GetOrderMyCustomerList"
,
{
"app_today_visit_GetOrderMyCustomerList"
,
{
typeId
:
this
.
addMsg
.
CustomerType
,
lineId
:
this
.
priceObj
.
LineID
,
IsLineId
:
1
,
...
...
@@ -2663,8 +2102,7 @@ export default {
getClientSource
()
{
this
.
addMsg
.
ClientSource
=
""
;
this
.
apipost
(
"sellorder_get_GetSellClientSourceEnumList"
,
{
"sellorder_get_GetSellClientSourceEnumList"
,
{
typeId
:
this
.
addMsg
.
CustomerType
,
},
(
res
)
=>
{
...
...
@@ -2872,5 +2310,6 @@ export default {
// }
},
},
};
};
</
script
>
src/components/orderCommon/productOrderList.vue
View file @
9196014c
...
...
@@ -460,8 +460,8 @@
width
:
200px
;
}
</
style
>
<
template
>
</
style
>
<
template
>
<div
class=
"productQueryList"
v-loading=
"loading"
>
<ul
v-if=
"list.length != 0"
>
<li
v-for=
"(item, index) in list"
:key=
"index"
>
...
...
@@ -868,17 +868,19 @@
<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"
>
"
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=
"!TCIDLis
t"
icon=
"iconfont icon-fukuan1"
@
click=
"goBuy(item)"
></el-button>
<el-button
type=
"primary"
style=
"background-color: #f16c3c !important; border-color: #f16c3c !importan
t"
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"
<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=
"
...
...
@@ -888,7 +890,8 @@
item.LineID != 8
"
class=
"item"
effect=
"dark"
content=
"直客版预览"
placement=
"top-start"
>
<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"
icon=
"iconfont icon-view"
></el-button>
</el-tooltip>
</el-button-group>
<el-button-group
v-show=
"qjGroupId == userInfo.RB_Group_id || S_Travel_Share"
style=
"display: block"
>
...
...
@@ -941,8 +944,8 @@
</el-popover>
</el-tooltip>
<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=
"!TCIDLis
t"
icon=
"iconfont icon-guanggao"
@
click=
"goUrlX(item)"
></el-button>
<el-button
type=
"primary"
style=
"background-color: #e95252 !important; border-color: #e95252 !importan
t"
v-if=
"!TCIDList"
icon=
"iconfont icon-guanggao"
@
click=
"goUrlX(item)"
></el-button>
</el-tooltip>
</el-button-group>
</div>
...
...
@@ -979,28 +982,20 @@
</el-dialog>
<!-- 下单 -->
<div
class=
"buy-box"
v-show=
"isShowTeamOrder"
>
<orderForm
@
success=
"reSearchPage"
@
close=
"closeForm"
:PTCID=
"teamInfo.TCID"
:POrderId=
"0"
:PBranchId=
"0"
:PProductType=
"1"
:showCity=
"true"
:productObj=
"teamInfo"
:pagesTitle=
"pagesTitle"
>
<orderForm
@
success=
"reSearchPage"
@
close=
"closeForm"
:PTCID=
"teamInfo.TCID"
:POrderId=
"0"
:PBranchId=
"0"
:PProductType=
"1"
:showCity=
"true"
:productObj=
"teamInfo"
:pagesTitle=
"pagesTitle"
>
</orderForm>
</div>
</div>
</template>
<
script
>
</template>
<
script
>
import
commonTeamInfo
from
"../commonPage/commonTeamInfo.vue"
;
import
tripDownLoadCommon
from
"../commonPage/TripDownLoadCommon.vue"
;
import
carousel
from
"../commonPage/carousel.vue"
;
import
commonHotelInfo
from
"../commonPage/commonHotelInfo.vue"
;
import
orderForm
from
"./order-form2.vue"
;
export
default
{
props
:[
'loading'
,
'list'
,
'pagesTitle'
],
props
:
[
'loading'
,
'list'
,
'pagesTitle'
],
data
()
{
return
{
//当前登录用户信息
...
...
@@ -1134,10 +1129,10 @@
},
goUrl
(
id
,
tcmun
)
{
let
path
if
(
this
.
pagesTitle
==
'跟团游产品'
)
{
if
(
this
.
pagesTitle
==
'跟团游产品'
)
{
path
=
'groupTourOrderByTuan'
}
if
(
this
.
pagesTitle
==
'当地游产品'
)
{
if
(
this
.
pagesTitle
==
'当地游产品'
)
{
path
=
'groupTourOrderByTuanOne'
}
this
.
$router
.
push
({
...
...
@@ -1170,16 +1165,17 @@
this
.
isShowTeamOrder
=
true
;
},
// 产品详情
getTitledetail
(
item
)
{
if
(
this
.
pagesTitle
==
'跟团游产品'
)
{
getTitledetail
(
item
)
{
if
(
this
.
pagesTitle
==
'跟团游产品'
)
{
this
.
getJourney
(
item
.
ConfigID
,
item
.
TCID
,
item
.
LineName
)
}
if
(
this
.
pagesTitle
==
'当地游产品'
){
}
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
);
var
B2BDomain
=
this
.
CurrentUserInfo
.
B2BDomain
//'www.oytour.com';
this
.
$tripUtils
.
GotoB2BPage
(
B2BDomain
,
encodeURIComponent
(
ConfigId
),
tcid
);
},
getJourney
(
id
,
TCID
,
title
)
{
var
that
=
this
;
...
...
@@ -1212,9 +1208,9 @@
},
mounted
()
{
this
.
userInfo
=
this
.
getLocalStorage
();
this
.
GetSupperOrderEditAuth
();
//分享权限
this
.
GetSupperOrderEditAuth
();
//分享权限
this
.
qjGroupId
=
this
.
QjGroupId
();
this
.
CurrentUserInfo
=
this
.
userInfo
;
this
.
CurrentUserInfo
=
this
.
userInfo
;
this
.
userId
=
this
.
userInfo
.
EmployeeId
;
if
(
this
.
$route
.
query
.
TCIDList
)
{
this
.
TCIDList
=
this
.
$route
.
query
.
TCIDList
;
...
...
@@ -1222,5 +1218,4 @@
},
};
</
script
>
\ No newline at end of file
</
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