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
85baba52
Commit
85baba52
authored
Apr 14, 2020
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
新增查询条件
parent
c3b2628b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
664 additions
and
593 deletions
+664
-593
enrollTotal.vue
src/components/SalesModule/enrollTotal.vue
+353
-281
groupTourOrder.vue
src/components/SalesModule/groupTourOrder.vue
+311
-312
No files found.
src/components/SalesModule/enrollTotal.vue
View file @
85baba52
...
...
@@ -3,15 +3,25 @@
<div
class=
"enrollTotalSearch"
>
<ul>
<li><span><em>
{{
$t
(
'advmanager.v_line'
)
}}
</em>
<el-select
class=
'w200'
v-model=
"msg.LineId"
filterable
:placeholder=
"$t('pub.pleaseSel')"
>
<el-select
class=
'w200'
v-model=
"msg.LineId"
filterable
:placeholder=
"$t('pub.pleaseSel')"
@
change=
"getLineTeamList(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=
'w200'
v-model=
"msg.LineteamId"
filterable
:placeholder=
"$t('pub.pleaseSel')"
>
<el-option
:label=
"$t('pub.unlimitedSel')"
:value=
'0'
></el-option>
<el-option
v-for=
"item in LineTeamList"
:label=
'item.LtName'
:value=
'item.LtID'
:key=
'item.LtID'
>
</el-option>
</el-select>
</span>
</li>
<li><span><em>
{{
$t
(
'system.table_company'
)
}}
</em>
<el-select
class=
'w200'
v-model=
"msg.BranchId"
filterable
:placeholder=
"$t('pub.pleaseSel')"
@
change=
'linkageDepartment()'
>
<el-select
class=
'w200'
v-model=
"msg.BranchId"
filterable
:placeholder=
"$t('pub.pleaseSel')"
@
change=
'linkageDepartment()'
>
<el-option
:label=
"$t('pub.unlimitedSel')"
value=
'-1'
></el-option>
<el-option
v-for=
"item in companyList"
:label=
'item.BName'
:value=
'item.Id'
:key=
'item.Id'
>
</el-option>
...
...
@@ -20,8 +30,8 @@
</li>
<li
v-show=
"!isOwn"
>
<span><em
class=
"fl"
style=
"margin-top: 10px!important;"
>
{{
$t
(
'fnc.bmxuanze'
)
}}
</em>
<treeselect
class=
'w200 fl'
:options=
"departmentList"
v-model=
"msg.RB_Department_Id"
:label=
"$t('pub.unlimitedSel')"
:normalizer=
"normalizer"
@
select=
'linkageEmployeeMsg'
/>
<treeselect
class=
'w200 fl'
:options=
"departmentList"
v-model=
"msg.RB_Department_Id"
:label=
"$t('pub.unlimitedSel')"
:normalizer=
"normalizer"
@
select=
'linkageEmployeeMsg'
/>
</span>
</li>
<li><span><em>
{{
$t
(
'fnc.ctleixing'
)
}}
</em>
...
...
@@ -49,7 +59,8 @@
</li>
<li>
<span><em>
{{
$t
(
'hotel.hotel_OrderStates'
)
}}
</em></span>
<el-select
class=
'w200'
v-model=
'msg.OrderState'
filterable
:placeholder=
"$t('pub.pleaseSel')"
style=
"width:180px"
>
<el-select
class=
'w200'
v-model=
'msg.OrderState'
filterable
:placeholder=
"$t('pub.pleaseSel')"
style=
"width:180px"
>
<el-option
:label=
"$t('pub.unlimitedSel')"
value=
'-1'
></el-option>
<el-option
v-for=
"item in ddztList"
:label=
'item.Name'
:value=
'item.Id'
:key=
'item.Id'
>
</el-option>
...
...
@@ -57,7 +68,8 @@
</li>
<li>
<span><em>
{{
$t
(
'active.cl_orderType'
)
}}
</em></span>
<el-select
class=
'w200'
v-model=
'msg.IsOneDay'
filterable
:placeholder=
"$t('pub.pleaseSel')"
style=
"width:180px"
>
<el-select
class=
'w200'
v-model=
'msg.IsOneDay'
filterable
:placeholder=
"$t('pub.pleaseSel')"
style=
"width:180px"
>
<el-option
:label=
"$t('pub.unlimitedSel')"
value=
'-1'
></el-option>
<el-option
:label=
"$t('salesModule.TourOrder')"
:value=
'0'
></el-option>
<el-option
:label=
"$t('salesModule.OneDayOrder')"
:value=
'1'
></el-option>
...
...
@@ -65,7 +77,8 @@
</li>
<li>
<span><em>
{{
$t
(
'salesModule.PaymentStatus'
)
}}
</em></span>
<el-select
class=
'w200'
v-model=
'msg.IsCollectMoney'
filterable
:placeholder=
"$t('pub.pleaseSel')"
style=
"width:180px"
>
<el-select
class=
'w200'
v-model=
'msg.IsCollectMoney'
filterable
:placeholder=
"$t('pub.pleaseSel')"
style=
"width:180px"
>
<el-option
:label=
"$t('pub.unlimitedSel')"
:value=
'0'
></el-option>
<el-option
:label=
"$t('salesModule.Collect')"
:value=
'1'
></el-option>
<el-option
:label=
"$t('salesModule.NoCollect')"
:value=
'2'
></el-option>
...
...
@@ -88,20 +101,25 @@
</span>
</li>
<li><span><em>
{{
$t
(
'scen.sc_ftTime'
)
}}
</em>
<el-date-picker
v-model=
'msg.QStartDate'
@
change=
"dataDuiQ()"
class=
'w135'
value-format=
"yyyy-MM-dd"
type=
"date"
></el-date-picker>
<el-date-picker
v-model=
'msg.QStartDate'
@
change=
"dataDuiQ()"
class=
'w135'
value-format=
"yyyy-MM-dd"
type=
"date"
></el-date-picker>
-
<el-date-picker
v-model=
'msg.QEndDate'
@
change=
"dataDuiQ()"
class=
'w135'
value-format=
"yyyy-MM-dd"
type=
"date"
></el-date-picker>
<el-date-picker
v-model=
'msg.QEndDate'
@
change=
"dataDuiQ()"
class=
'w135'
value-format=
"yyyy-MM-dd"
type=
"date"
></el-date-picker>
</span>
</li>
<li><span><em>
{{
$t
(
'fnc.bmriqi'
)
}}
</em>
<el-date-picker
v-model=
'msg.CStartDate'
@
change=
"dataDui()"
class=
'w135'
value-format=
"yyyy-MM-dd"
type=
"date"
></el-date-picker>
<el-date-picker
v-model=
'msg.CStartDate'
@
change=
"dataDui()"
class=
'w135'
value-format=
"yyyy-MM-dd"
type=
"date"
></el-date-picker>
-
<el-date-picker
v-model=
'msg.CEndDate'
@
change=
"dataDui()"
class=
'w135'
value-format=
"yyyy-MM-dd"
type=
"date"
></el-date-picker>
<el-date-picker
v-model=
'msg.CEndDate'
@
change=
"dataDui()"
class=
'w135'
value-format=
"yyyy-MM-dd"
type=
"date"
></el-date-picker>
</span>
</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>
...
...
@@ -117,7 +135,8 @@
<p>
<span>
{{
$t
(
'salesModule.Ypay'
)
}}
:
{{
countData
.
PreferPrice
}}
;
</span>
<span>
{{
$t
(
'Operation.Op_yiShou'
)
}}
:
{{
countData
.
Income
}}
;
</span>
<span
:class=
"
{color_red_order:countData.DueinMoney!==countData.PreferPrice}">
{{
$t
(
'Operation.Op_weiShou'
)
}}
:
{{
countData
.
DueinMoney
}}
;
</span>
<span
:class=
"
{color_red_order:countData.DueinMoney!==countData.PreferPrice}">
{{
$t
(
'Operation.Op_weiShou'
)
}}
:
{{
countData
.
DueinMoney
}}
;
</span>
<span>
{{
$t
(
'fnc.ztjine'
)
}}
:
{{
countData
.
ZaiTu
}}
;
</span>
</p>
</div>
...
...
@@ -169,10 +188,14 @@
<span>
{{
$t
(
'fnc.cwdjshuoming'
)
}}
</span>
</div>
<p>
<span
class=
"groupTourOrderByTuan_ico"
><i
style=
"background-color:#0000ff"
></i><span>
{{
$t
(
'fnc.yidadan'
)
}}
</span></span>
<span
class=
"groupTourOrderByTuan_ico"
><i
style=
"background-color:#00FF00"
></i><span>
{{
$t
(
'fnc.ptcnyshenhe'
)
}}
</span></span>
<span
class=
"groupTourOrderByTuan_ico"
><i
style=
"background-color:#FF0000"
></i><span>
{{
$t
(
'fnc.yhcnyshenhe'
)
}}
</span></span>
<span
class=
"groupTourOrderByTuan_ico"
><i
style=
"background-color:#000000"
></i><span>
{{
$t
(
'fnc.ytongguo'
)
}}
</span></span>
<span
class=
"groupTourOrderByTuan_ico"
><i
style=
"background-color:#0000ff"
></i><span>
{{
$t
(
'fnc.yidadan'
)
}}
</span></span>
<span
class=
"groupTourOrderByTuan_ico"
><i
style=
"background-color:#00FF00"
></i><span>
{{
$t
(
'fnc.ptcnyshenhe'
)
}}
</span></span>
<span
class=
"groupTourOrderByTuan_ico"
><i
style=
"background-color:#FF0000"
></i><span>
{{
$t
(
'fnc.yhcnyshenhe'
)
}}
</span></span>
<span
class=
"groupTourOrderByTuan_ico"
><i
style=
"background-color:#000000"
></i><span>
{{
$t
(
'fnc.ytongguo'
)
}}
</span></span>
</p>
</div>
</el-col>
...
...
@@ -216,207 +239,227 @@
<th
v-if=
"isEditOrderCreate==1"
width=
"140"
>
{{
$t
(
'admin.admin_operate'
)
}}
</th>
</tr>
<tr>
<td
v-show=
"list.length==0"
colspan=
"15"
align=
"center"
>
{{
$t
(
'system.content_noData'
)
}}
</td>
<td
v-show=
"list.length==0"
:colspan=
"isEditOrderCreate==1?18:17"
align=
"center"
>
{{
$t
(
'system.content_noData'
)
}}
</td>
</tr>
<tbody
v-for=
"(item,index) in list"
:key=
"index"
>
<tr>
<td
rowspan=
"3"
>
<p
v-if=
"item.isChargeLossOrders==1"
style=
"color:red"
>
{{
$t
(
'fnc.sun'
)
}}
</p>
<p
class=
"fbold over_ellipsis"
style=
"width: 100%;cursor:pointer;"
:title=
"item.orderId"
@
click=
"goUrlX('团报名清单', item.isOneDay === 1 ? 'groupTourOrderByTuanOne' : 'groupTourOrderByTuan',item.tcid,item.tcnum)"
>
<span>
{{
item
.
orderId
}}
</span>
<span
style=
"font-weight: 100;"
v-if=
"item.scoreNum >= 0"
@
click=
'goInvetig("investigationList", item.tcid, item.orderId)'
>
(
{{
$t
(
'salesModule.ScoreNUM'
)
}}{{
item
.
scoreNum
}}
)
</span>
<el-tooltip
class=
"item"
effect=
"dark"
:content=
"$t('salesModule.ByProgram')"
placement=
"top"
v-show=
"item.orderForm==4"
>
<i
class=
"iconfont icon-xiaochengxu"
style=
"font-size:22px;color:red;"
></i></el-tooltip>
<el-tooltip
class=
"item"
effect=
"dark"
:content=
"$t('salesModule.ByB2b')"
placement=
"top"
v-show=
"item.isFormB2B ==1"
>
<i
class=
"iconfont icon-tiaozheng"
style=
"font-size:22px;color:#297BEF;"
></i></el-tooltip>
</p>
<p
class=
"fz12 over_ellipsis"
style=
"width: 100%;text-decoration:underline;cursor:pointer;"
:title=
"item.alName"
@
click=
"goUrlX('产品查询', item.isOneDay === 1 ? 'productQueryOne' : 'productQuery',item.tcid,item.tcnum)"
>
{{
item
.
tcnum
}}
</p>
<p
class=
"fz12 over_ellipsis"
style=
"width: 100%;"
>
{{
item
.
createBy
}}
<span
v-if=
"item.leaveStr!=''"
style=
"color:red"
>
(
{{
item
.
leaveStr
}}
)
</span></p>
<p
class=
"fz12 over_ellipsis"
style=
"width: 100%;"
>
{{
item
.
commissionSPeopleName
==
'无'
?
''
:
item
.
commissionSPeopleName
}}
</p>
<p>
{{
$t
(
'hotel.hotel_StartTeam'
)
}}
:
{{
item
.
startDate
}}
</p>
<p
v-if=
"item.tradeWay ==1"
>
{{
item
.
platformOrder
}}
</p>
<p
v-if=
'item.commissionMoney'
style=
"color:red"
>
{{
$t
(
'salesModule.CommissionNum'
)
}}
:
{{
item
.
commissionMoney
}}
</p>
<p
v-else-if=
"item.latestCommissionMoney"
style=
"color:red"
>
{{
$t
(
'salesModule.CommissionNum'
)
}}
:
{{
item
.
latestCommissionMoney
}}
</p>
<div>
<div
style=
"color:green"
v-if=
"item.commissionMoney==''||item.commissionMoney=='-1'"
>
<p
v-if=
"item.extraRewardMoney>0"
>
{{
$t
(
'salesModule.EWJLJE'
)
}}
:
{{
item
.
extraRewardMoney
}}
</p>
<p
v-if=
"item.extraDeductMoney>0"
>
{{
$t
(
'salesModule.EWKCJE'
)
}}
:
{{
item
.
extraDeductMoney
}}
</p>
</div>
<div
style=
"color:red"
v-else
>
<p
v-if=
"item.extraRewardMoney>0"
>
{{
$t
(
'salesModule.EWJLJE'
)
}}
:
{{
item
.
extraRewardMoney
}}
</p>
<p
v-if=
"item.extraDeductMoney>0"
>
{{
$t
(
'salesModule.EWKCJE'
)
}}
:
{{
item
.
extraDeductMoney
}}
</p>
</div>
<div
style=
"color:red"
>
<p
v-if=
"item.unionExtraMoney!=0"
>
{{
$t
(
'salesModule.LYEWFY'
)
}}
:
{{
item
.
unionExtraMoney
}}
</p>
</div>
</div>
</td>
<td>
<p
class=
"over_ellipsis"
style=
"width: 150px;"
:title=
"item.contactName"
>
{{
item
.
contactName
}}
</p>
<p>
{{
item
.
contactMobile
}}
</p>
<p
v-if=
"item.industryCategory!==''"
style=
"color:green"
>
{{
$t
(
'salesModule.HYLB'
)
}}
:
{{
item
.
industryCategory
}}
</p>
</td>
<td>
<p
class=
"fz12 over_ellipsis"
style=
"width: 100%;"
>
{{
item
.
orderTypeName
}}
</p>
</td>
<td
class=
"fz12"
>
<p
style=
"max-width: 160px;display: block;"
class=
"over_ellipsis"
:title=
"item.lineName"
>
<span>
{{
item
.
lineName
}}
</span>
</p>
<p
style=
"max-width: 160px;display: block;"
class=
"over_ellipsis"
:title=
"item.ltName"
>
{{
item
.
ltName
}}
</p>
</td>
<td>
{{
item
.
guestNum
}}
/
{{
item
.
ySeatNum
>
0
?
item
.
ySeatNum
+
'Y '
:
''
}}{{
item
.
eSeatNum
>
0
?
item
.
eSeatNum
+
'E '
:
''
}}{{
item
.
fSeatNum
>
0
?
item
.
fSeatNum
+
'F '
:
''
}}
<br/>
<span
v-if=
"item.refuseVisaNum>0"
style=
"color:red"
>
(
{{
$t
(
'salesModule.RefuseQ'
)
}}{{
item
.
refuseVisaNum
}}{{
$t
(
'salesModule.PeoPle'
)
}}
)
</span>
</td>
<td
style=
"color:#FF9C00"
>
{{
item
.
tC_Price
}}
</td>
<td
style=
"color:#FF9C00"
>
¥
{{
item
.
unit_Price
}}
</td>
<td>
<p
style=
"color:#FF9C00"
>
¥
{{
item
.
preferPrice
}}
</p>
</td>
<td>
<span
v-if=
'item.dueInMoney==0'
style=
"cursor: pointer;"
>
{{
item
.
income
}}
</span>
<span
v-if=
'item.dueInMoney!=0'
style=
"cursor: pointer;color: #e95252;"
>
{{
item
.
income
}}
</span>
</td>
<!-- 优惠 -->
<td>
<el-popover
style=
'padding: 0;'
width=
"600"
trigger=
"click"
>
<div
class=
"personNolayer"
>
<table
border=
"0"
cellspacing=
"1"
cellpadding=
"1"
>
<tr>
<th>
{{
$t
(
'active.cl_couponName'
)
}}
</th>
<th>
{{
$t
(
'active.cl_couponType'
)
}}
</th>
<th>
{{
$t
(
'active.cl_dkjezk'
)
}}
</th>
<th>
{{
$t
(
'active.cl_sytiaojian'
)
}}
</th>
<th>
{{
$t
(
'active.cl_huoqufangshi'
)
}}
</th>
<th>
{{
$t
(
'active.cl_hqriqi'
)
}}
</th>
</tr>
<tr
v-if=
'item.couponAllotList.length>0'
v-for=
"(item2,index2) in item.couponAllotList"
:key=
"index2"
>
<td>
{{
item2
.
couponsName
}}
</td>
<td>
<span
v-if=
"item2.couponsType==1"
>
{{
$t
(
'active.cl_dyquan'
)
}}
</span>
<span
v-if=
"item2.couponsType==2"
>
{{
$t
(
'active.cl_zkquan'
)
}}
</span>
</td>
<td>
{{
item2
.
denomination
}}
</td>
<td>
{{
$t
(
'active.cl_man'
)
}}{{
item2
.
useCondition
}}{{
$t
(
'active.cl_keyong'
)
}}
</td>
<td>
<span
v-if=
"item2.accessType==1"
>
{{
$t
(
'active.cl_choujiang'
)
}}
</span>
<span
v-else
></span>
</td>
<td>
{{
item2
.
acessDate
}}
</td>
</tr>
<tr
v-if=
'item.couponAllotList.length==0'
>
<td
colspan=
"6"
align=
"center"
>
{{
$t
(
'system.content_noData'
)
}}
</td>
</tr>
</table>
<tr>
<td
rowspan=
"3"
>
<p
v-if=
"item.isChargeLossOrders==1"
style=
"color:red"
>
{{
$t
(
'fnc.sun'
)
}}
</p>
<p
class=
"fbold over_ellipsis"
style=
"width: 100%;cursor:pointer;"
:title=
"item.orderId"
@
click=
"goUrlX('团报名清单', item.isOneDay === 1 ? 'groupTourOrderByTuanOne' : 'groupTourOrderByTuan',item.tcid,item.tcnum)"
>
<span>
{{
item
.
orderId
}}
</span>
<span
style=
"font-weight: 100;"
v-if=
"item.scoreNum >= 0"
@
click=
'goInvetig("investigationList", item.tcid, item.orderId)'
>
(
{{
$t
(
'salesModule.ScoreNUM'
)
}}{{
item
.
scoreNum
}}
)
</span>
<el-tooltip
class=
"item"
effect=
"dark"
:content=
"$t('salesModule.ByProgram')"
placement=
"top"
v-show=
"item.orderForm==4"
>
<i
class=
"iconfont icon-xiaochengxu"
style=
"font-size:22px;color:red;"
></i>
</el-tooltip>
<el-tooltip
class=
"item"
effect=
"dark"
:content=
"$t('salesModule.ByB2b')"
placement=
"top"
v-show=
"item.isFormB2B ==1"
>
<i
class=
"iconfont icon-tiaozheng"
style=
"font-size:22px;color:#297BEF;"
></i></el-tooltip>
</p>
<p
class=
"fz12 over_ellipsis"
style=
"width: 100%;text-decoration:underline;cursor:pointer;"
:title=
"item.alName"
@
click=
"goUrlX('产品查询', item.isOneDay === 1 ? 'productQueryOne' : 'productQuery',item.tcid,item.tcnum)"
>
{{
item
.
tcnum
}}
</p>
<p
class=
"fz12 over_ellipsis"
style=
"width: 100%;"
>
{{
item
.
createBy
}}
<span
v-if=
"item.leaveStr!=''"
style=
"color:red"
>
(
{{
item
.
leaveStr
}}
)
</span></p>
<p
class=
"fz12 over_ellipsis"
style=
"width: 100%;"
>
{{
item
.
commissionSPeopleName
==
'无'
?
''
:
item
.
commissionSPeopleName
}}
</p>
<p>
{{
$t
(
'hotel.hotel_StartTeam'
)
}}
:
{{
item
.
startDate
}}
</p>
<p
v-if=
"item.tradeWay ==1"
>
{{
item
.
platformOrder
}}
</p>
<p
v-if=
'item.commissionMoney'
style=
"color:red"
>
{{
$t
(
'salesModule.CommissionNum'
)
}}
:
{{
item
.
commissionMoney
}}
</p>
<p
v-else-if=
"item.latestCommissionMoney"
style=
"color:red"
>
{{
$t
(
'salesModule.CommissionNum'
)
}}
:
{{
item
.
latestCommissionMoney
}}
</p>
<div>
<div
style=
"color:green"
v-if=
"item.commissionMoney==''||item.commissionMoney=='-1'"
>
<p
v-if=
"item.extraRewardMoney>0"
>
{{
$t
(
'salesModule.EWJLJE'
)
}}
:
{{
item
.
extraRewardMoney
}}
</p>
<p
v-if=
"item.extraDeductMoney>0"
>
{{
$t
(
'salesModule.EWKCJE'
)
}}
:
{{
item
.
extraDeductMoney
}}
</p>
</div>
<div
style=
"color:red"
v-else
>
<p
v-if=
"item.extraRewardMoney>0"
>
{{
$t
(
'salesModule.EWJLJE'
)
}}
:
{{
item
.
extraRewardMoney
}}
</p>
<p
v-if=
"item.extraDeductMoney>0"
>
{{
$t
(
'salesModule.EWKCJE'
)
}}
:
{{
item
.
extraDeductMoney
}}
</p>
</div>
<div
style=
"color:red"
>
<p
v-if=
"item.unionExtraMoney!=0"
>
{{
$t
(
'salesModule.LYEWFY'
)
}}
:
{{
item
.
unionExtraMoney
}}
</p>
</div>
</div>
<span
style=
"cursor: pointer;color: #e95252;text-decoration: underline;"
slot=
"reference"
>
{{
moneyFormat
(
item
.
discountMoney
)
}}
</span>
</el-popover>
</td>
<td>
<el-popover
v-if=
"item.customerId || item.customerId==0"
style=
'padding: 0;'
width=
"600"
trigger=
"click"
>
<div
class=
"personNolayer"
>
<table
border=
"0"
cellspacing=
"1"
cellpadding=
"1"
>
<tr>
<th>
{{
$t
(
'fnc.jine'
)
}}
</th>
<th>
{{
$t
(
'admin.admin_type'
)
}}
</th>
<th>
{{
$t
(
'system.label_info'
)
}}
</th>
<th>
{{
$t
(
'salesModule.Time'
)
}}
(
<span
@
click=
"goUrlHappy(item)"
style=
"cursor: pointer;"
colspan=
"4"
align=
"center"
>
{{
$t
(
'salesModule.LookMore'
)
}}
</span>
)
</th>
</tr>
<tr
v-for=
"(item2,index2) in redBagList"
:key=
"index2"
>
<td>
{{
item2
.
Money
}}
</td>
<td>
{{
item2
.
Type
==
1
?
"收入"
:
"折扣"
}}
</td>
<td>
{{
item2
.
Description
}}
</td>
<td>
{{
item2
.
UpdateTime
}}
</td>
</tr>
<tr
v-if=
'redBagList.length==0'
>
<td
colspan=
"4"
align=
"center"
>
{{
$t
(
'system.content_noData'
)
}}
</td>
</tr>
<tr>
<!--
<td
@
click=
"goUrlHappy(item)"
style=
"cursor: pointer;"
colspan=
"4"
align=
"center"
>
查看更多
</td>
-->
</tr>
</table>
</div>
<span
@
click=
"getRedBag(item)"
style=
"cursor: pointer;color: #e95252;text-decoration: underline;"
slot=
"reference"
>
{{
item
.
redEnvelopeMoney
}}
</span>
</el-popover>
<span
v-else
style=
"color: #e95252;text-decoration: underline;"
>
{{
item
.
redEnvelopeMoney
}}
</span>
</td>
<td
v-if=
"item.tipMoney"
>
{{
item
.
tipMoney
}}
</td>
<td
v-else
>
0.00
</td>
<td>
{{
item
.
refund
}}
</td>
<td>
{{
item
.
platformTax
}}
</td>
<td>
{{
item
.
zaiTuMoney
}}
</td>
<td><span
:class=
"
{color_red_order:item.dueInMoney!==item.preferPrice}">
{{
item
.
dueInMoney
}}
</span></td>
<td
v-if=
"item.isChargeLossOrders==1"
class=
"fz12"
style=
"color: #e95252"
>
{{
$t
(
'fnc.shousun'
)
}}
</td>
<td
v-else
class=
"fz12"
:style=
"item.orderState===3?'color: #e95252;':''"
>
{{
item
.
statsstr
}}
</td>
<td
v-if=
"isEditOrderCreate==1"
>
<button
class=
"normalBtn"
style=
"margin-left:0;width:95px;padding:0"
@
click=
"getSalerInfo(item)"
>
{{
$t
(
'salesModule.UpdateYWY'
)
}}
</button>
</td>
</tr>
<tr
style=
"height:20px"
>
<td
:colspan=
"isEditOrderCreate==1?17:16"
class=
"RL_Order"
style=
"height:20px"
>
<span
style=
"font-size: 14px;color: #333333"
>
{{
$t
(
'salesModule.MD'
)
}}
:
</span>
<span
v-for=
"(childItem) in item.guestList"
style=
"font-size: 14px;color: blue"
>
{{
childItem
.
userName
}}
</span>
<p
v-if=
"item.cancelGuestList && item.cancelGuestList.length>0"
>
<span
class=
""
>
{{
$t
(
'salesModule.CancelOrder'
)
}}
:
</span>
<span
class=
"RL-redType RL-remarkCon"
>
<span
style=
"color: red;"
v-for=
"(childItem) in item.cancelGuestList"
>
{{
childItem
.
userName
}}
</span>
</td>
<td>
<p
class=
"over_ellipsis"
style=
"width: 150px;"
:title=
"item.contactName"
>
{{
item
.
contactName
}}
</p>
<p>
{{
item
.
contactMobile
}}
</p>
<p
v-if=
"item.industryCategory!==''"
style=
"color:green"
>
{{
$t
(
'salesModule.HYLB'
)
}}
:
{{
item
.
industryCategory
}}
</p>
</td>
<td>
<p
class=
"fz12 over_ellipsis"
style=
"width: 100%;"
>
{{
item
.
orderTypeName
}}
</p>
</td>
<td
class=
"fz12"
>
<p
style=
"max-width: 160px;display: block;"
class=
"over_ellipsis"
:title=
"item.lineName"
>
<span>
{{
item
.
lineName
}}
</span>
</p>
<p
style=
"max-width: 160px;display: block;"
class=
"over_ellipsis"
:title=
"item.ltName"
>
{{
item
.
ltName
}}
</p>
</td>
<td>
{{
item
.
guestNum
}}
/
{{
item
.
ySeatNum
>
0
?
item
.
ySeatNum
+
'Y '
:
''
}}{{
item
.
eSeatNum
>
0
?
item
.
eSeatNum
+
'E '
:
''
}}{{
item
.
fSeatNum
>
0
?
item
.
fSeatNum
+
'F '
:
''
}}
<br
/>
<span
v-if=
"item.refuseVisaNum>0"
style=
"color:red"
>
(
{{
$t
(
'salesModule.RefuseQ'
)
}}{{
item
.
refuseVisaNum
}}{{
$t
(
'salesModule.PeoPle'
)
}}
)
</span>
</p>
<span
style=
"display: block;font-size: 14px;color: #333333"
>
{{
$t
(
'salesModule.RoomInfo'
)
}}
<span
v-if=
"item.oneSex>0"
style=
"color: #e95252"
>
(
{{
item
.
oneSex
==
1
?
'单男'
:
'单女'
}}
)
</span>
:
{{
item
.
orderGuestHouseStr
}}
</span>
</td>
</tr>
<tr>
<td
colspan=
"4"
class=
"groupTourOrder_remarks"
style=
"height: 40px;"
>
<div>
<div><span>
{{
$t
(
'pub.pubRemark'
)
}}
:
</span>
<span
v-if=
"item.tsIdList.length>0"
>
{{
$t
(
'salesModule.ComplaintNum'
)
}}
:
<a
class=
"underline"
v-for=
"ts in item.tsIdList"
href=
"javascript:void(0);"
@
click=
"goUrlTS('ComplaintsDetail',ts,item.orderId,'投诉详情')"
>
{{
ts
}}
</a>
;
</td>
<td
style=
"color:#FF9C00"
>
{{
item
.
tC_Price
}}
</td>
<td
style=
"color:#FF9C00"
>
¥
{{
item
.
unit_Price
}}
</td>
<td>
<p
style=
"color:#FF9C00"
>
¥
{{
item
.
preferPrice
}}
</p>
</td>
<td>
<span
v-if=
'item.dueInMoney==0'
style=
"cursor: pointer;"
>
{{
item
.
income
}}
</span>
<span
v-if=
'item.dueInMoney!=0'
style=
"cursor: pointer;color: #e95252;"
>
{{
item
.
income
}}
</span>
</td>
<!-- 优惠 -->
<td>
<el-popover
style=
'padding: 0;'
width=
"600"
trigger=
"click"
>
<div
class=
"personNolayer"
>
<table
border=
"0"
cellspacing=
"1"
cellpadding=
"1"
>
<tr>
<th>
{{
$t
(
'active.cl_couponName'
)
}}
</th>
<th>
{{
$t
(
'active.cl_couponType'
)
}}
</th>
<th>
{{
$t
(
'active.cl_dkjezk'
)
}}
</th>
<th>
{{
$t
(
'active.cl_sytiaojian'
)
}}
</th>
<th>
{{
$t
(
'active.cl_huoqufangshi'
)
}}
</th>
<th>
{{
$t
(
'active.cl_hqriqi'
)
}}
</th>
</tr>
<tr
v-if=
'item.couponAllotList.length>0'
v-for=
"(item2,index2) in item.couponAllotList"
:key=
"index2"
>
<td>
{{
item2
.
couponsName
}}
</td>
<td>
<span
v-if=
"item2.couponsType==1"
>
{{
$t
(
'active.cl_dyquan'
)
}}
</span>
<span
v-if=
"item2.couponsType==2"
>
{{
$t
(
'active.cl_zkquan'
)
}}
</span>
</td>
<td>
{{
item2
.
denomination
}}
</td>
<td>
{{
$t
(
'active.cl_man'
)
}}{{
item2
.
useCondition
}}{{
$t
(
'active.cl_keyong'
)
}}
</td>
<td>
<span
v-if=
"item2.accessType==1"
>
{{
$t
(
'active.cl_choujiang'
)
}}
</span>
<span
v-else
></span>
</td>
<td>
{{
item2
.
acessDate
}}
</td>
</tr>
<tr
v-if=
'item.couponAllotList.length==0'
>
<td
colspan=
"6"
align=
"center"
>
{{
$t
(
'system.content_noData'
)
}}
</td>
</tr>
</table>
</div>
<span
style=
"cursor: pointer;color: #e95252;text-decoration: underline;"
slot=
"reference"
>
{{
moneyFormat
(
item
.
discountMoney
)
}}
</span>
</el-popover>
</td>
<td>
<el-popover
v-if=
"item.customerId || item.customerId==0"
style=
'padding: 0;'
width=
"600"
trigger=
"click"
>
<div
class=
"personNolayer"
>
<table
border=
"0"
cellspacing=
"1"
cellpadding=
"1"
>
<tr>
<th>
{{
$t
(
'fnc.jine'
)
}}
</th>
<th>
{{
$t
(
'admin.admin_type'
)
}}
</th>
<th>
{{
$t
(
'system.label_info'
)
}}
</th>
<th>
{{
$t
(
'salesModule.Time'
)
}}
(
<span
@
click=
"goUrlHappy(item)"
style=
"cursor: pointer;"
colspan=
"4"
align=
"center"
>
{{
$t
(
'salesModule.LookMore'
)
}}
</span>
)
</th>
</tr>
<tr
v-for=
"(item2,index2) in redBagList"
:key=
"index2"
>
<td>
{{
item2
.
Money
}}
</td>
<td>
{{
item2
.
Type
==
1
?
"收入"
:
"折扣"
}}
</td>
<td>
{{
item2
.
Description
}}
</td>
<td>
{{
item2
.
UpdateTime
}}
</td>
</tr>
<tr
v-if=
'redBagList.length==0'
>
<td
colspan=
"4"
align=
"center"
>
{{
$t
(
'system.content_noData'
)
}}
</td>
</tr>
<tr>
<!--
<td
@
click=
"goUrlHappy(item)"
style=
"cursor: pointer;"
colspan=
"4"
align=
"center"
>
查看更多
</td>
-->
</tr>
</table>
</div>
<span
@
click=
"getRedBag(item)"
style=
"cursor: pointer;color: #e95252;text-decoration: underline;"
slot=
"reference"
>
{{
item
.
redEnvelopeMoney
}}
</span>
</el-popover>
<span
v-else
style=
"color: #e95252;text-decoration: underline;"
>
{{
item
.
redEnvelopeMoney
}}
</span>
</td>
<td
v-if=
"item.tipMoney"
>
{{
item
.
tipMoney
}}
</td>
<td
v-else
>
0.00
</td>
<td>
{{
item
.
refund
}}
</td>
<td>
{{
item
.
platformTax
}}
</td>
<td>
{{
item
.
zaiTuMoney
}}
</td>
<td><span
:class=
"
{color_red_order:item.dueInMoney!==item.preferPrice}">
{{
item
.
dueInMoney
}}
</span></td>
<td
v-if=
"item.isChargeLossOrders==1"
class=
"fz12"
style=
"color: #e95252"
>
{{
$t
(
'fnc.shousun'
)
}}
</td>
<td
v-else
class=
"fz12"
:style=
"item.orderState===3?'color: #e95252;':''"
>
{{
item
.
statsstr
}}
</td>
<td
v-if=
"isEditOrderCreate==1"
>
<button
class=
"normalBtn"
style=
"margin-left:0;width:95px;padding:0"
@
click=
"getSalerInfo(item)"
>
{{
$t
(
'salesModule.UpdateYWY'
)
}}
</button>
</td>
</tr>
<tr
style=
"height:20px"
>
<td
:colspan=
"isEditOrderCreate==1?17:16"
class=
"RL_Order"
style=
"height:20px"
>
<span
style=
"font-size: 14px;color: #333333"
>
{{
$t
(
'salesModule.MD'
)
}}
:
</span>
<span
v-for=
"(childItem) in item.guestList"
style=
"font-size: 14px;color: blue"
>
{{
childItem
.
userName
}}
</span>
<p
v-if=
"item.cancelGuestList && item.cancelGuestList.length>0"
>
<span
class=
""
>
{{
$t
(
'salesModule.CancelOrder'
)
}}
:
</span>
<span
class=
"RL-redType RL-remarkCon"
>
<span
style=
"color: red;"
v-for=
"(childItem) in item.cancelGuestList"
>
{{
childItem
.
userName
}}
</span>
</span>
</p>
<span
style=
"display: block;font-size: 14px;color: #333333"
>
{{
$t
(
'salesModule.RoomInfo'
)
}}
<span
v-if=
"item.oneSex>0"
style=
"color: #e95252"
>
(
{{
item
.
oneSex
==
1
?
'单男'
:
'单女'
}}
)
</span>
:
{{
item
.
orderGuestHouseStr
}}
</span>
</td>
</tr>
<tr>
<td
colspan=
"4"
class=
"groupTourOrder_remarks"
style=
"height: 40px;"
>
<div>
<div><span>
{{
$t
(
'pub.pubRemark'
)
}}
:
</span>
<span
v-if=
"item.tsIdList.length>0"
>
{{
$t
(
'salesModule.ComplaintNum'
)
}}
:
<a
class=
"underline"
v-for=
"ts in item.tsIdList"
href=
"javascript:void(0);"
@
click=
"goUrlTS('ComplaintsDetail',ts,item.orderId,'投诉详情')"
>
{{
ts
}}
</a>
;
</span>
<p><span
v-if=
'item.clientSource==1&&item.brandName!=""'
>
{{
item
.
brandName
}}{{
$t
(
'fnc.dingdan'
)
}}
{{
item
.
platformOrder
}}
;
</span>
{{
item
.
remarks
}}
</p>
<p><span
v-if=
'item.clientSource==1&&item.brandName!=""'
>
{{
item
.
brandName
}}{{
$t
(
'fnc.dingdan'
)
}}
{{
item
.
platformOrder
}}
;
</span>
{{
item
.
remarks
}}
</p>
</div>
<div>
<span>
{{
item
.
remarksName
}}
 
{{
item
.
rematksTime
}}
</span>
<el-popover
width=
"600"
placement=
"bottom-end"
trigger=
"click"
>
<div
class=
"groupTourOrder_remarks_popover"
>
<div>
{{
$t
(
'fnc.lsbeizhu'
)
}}
</div>
<p
v-if=
"item.remarksList.length !== 0"
v-for=
"(item2, index2) in item.remarksList"
:key=
"index2"
>
<span>
{{
item2
.
remarks
}}
</span>
<span>
{{
item2
.
createByName
}}
<span
style=
"color: #666666;"
>
{{
item2
.
createDate
}}
</span></span>
</p>
<span
v-if=
"item.remarksList.length === 0"
>
{{
$t
(
'system.content_noData'
)
}}
</span>
</div>
<el-button
slot=
"reference"
icon=
"iconfont icon-gengduo"
style=
"padding:0px;border:none;background-color:transparent;"
class=
"groupTourOrder_remarks_btn"
>
</el-button>
</el-popover>
</div>
</div>
</td>
<td
colspan=
"4"
class=
"groupTourOrder_remarks"
style=
"height: 40px;"
>
<div>
<span>
{{
item
.
remarksName
}}
 
{{
item
.
rematksTime
}}
</span>
<el-popover
width=
"600"
placement=
"bottom-end"
trigger=
"click"
>
<div
class=
"groupTourOrder_remarks_popover"
>
<div>
{{
$t
(
'fnc.lsbeizhu'
)
}}
</div>
<p
v-if=
"item.remarksList.length !== 0"
v-for=
"(item2, index2) in item.remarksList"
:key=
"index2"
>
<span>
{{
item2
.
remarks
}}
</span>
<span>
{{
item2
.
createByName
}}
<span
style=
"color: #666666;"
>
{{
item2
.
createDate
}}
</span></span>
</p>
<span
v-if=
"item.remarksList.length === 0"
>
{{
$t
(
'system.content_noData'
)
}}
</span>
</div>
<el-button
slot=
"reference"
icon=
"iconfont icon-gengduo"
style=
"padding:0px;border:none;background-color:transparent;"
class=
"groupTourOrder_remarks_btn"
></el-button>
</el-popover>
<div>
<span>
{{
$t
(
'Operation.Op_remark'
)
}}
:
</span>
<p>
{{
item
.
oP_Remarks
?
item
.
oP_Remarks
:
'无'
}}
</p>
</div>
</div>
</div>
</td>
<td
colspan=
"4"
class=
"groupTourOrder_remarks"
style=
"height: 40px;"
>
<div>
</td>
<td
colspan=
"4"
class=
"groupTourOrder_SpecialAPP"
stysle=
"height: 40px;"
>
<div>
<span>
{{
$t
(
'Operation.Op_remark'
)
}}
:
</span>
<p>
{{
item
.
oP_Remarks
?
item
.
oP_Remarks
:
'无'
}}
</p>
</div>
</div>
</td>
<td
colspan=
"4"
class=
"groupTourOrder_SpecialAPP"
stysle=
"height: 40px;"
>
<div>
特价申请函:
特价申请函:
<template
v-if=
"item.orderspecialofferId === 0"
>
<span
class=
"font-color-blur"
>
未申请
</span>
<span
class=
"font-color-blur"
>
未申请
</span>
</
template
>
<
template
v-else
>
<span
class=
"font-color-red"
v-if=
"item.orderspecialofferState === -1"
>
拒绝
</span>
...
...
@@ -430,50 +473,56 @@
<div
class=
"font-color-red"
v-if=
"item.orderspecialofferId !== 0"
>
审批说明:
<span>
{{item.orderspecialofferReason}}
</span>
</div>
</td>
<td
colspan=
"5"
class=
"groupTourOrder_tickets"
style=
"height: 40px;cursor: pointer;"
>
<div
@
click=
"goUrlSFD('SalesFinancialDetail', '销售财务单据', item)"
>
<div>
{{$t('fnc.skdanju')}}:
</div>
<div>
</td>
<td
colspan=
"5"
class=
"groupTourOrder_tickets"
style=
"height: 40px;cursor: pointer;"
>
<div
@
click=
"goUrlSFD('SalesFinancialDetail', '销售财务单据', item)"
>
<div>
{{$t('fnc.skdanju')}}:
</div>
<div>
<span
v-for=
"(item2,index2) in item.financeList"
:key=
"index2"
>
<span
v-if=
"item2.colorState===1"
class=
"groupTourOrder_tickets_blue"
>
{{item2.frID}}
</span>
<span
v-else-if=
"item2.colorState===2"
class=
"groupTourOrder_tickets_green"
>
{{item2.frID}}
</span>
<span
v-else-if=
"item2.colorState===3"
class=
"groupTourOrder_tickets_red"
>
{{item2.frID}}
</span>
<span
v-else-if=
"item2.colorState===4"
class=
"groupTourOrder_tickets_black"
>
{{item2.frID}}
</span>
</span>
<span
v-if=
"item.financeList.length===0"
style=
"cursor: default;"
>
{{$t('system.content_noData')}}
</span>
<span
v-if=
"item.financeList.length===0"
style=
"cursor: default;"
>
{{$t('system.content_noData')}}
</span>
</div>
</div>
</div>
<div
@
click=
"goUrlSFD('SalesFinancialDetail', '销售财务单据', item)"
>
<div>
{{$t('fnc.fkdanju')}}:
</div>
<div>
<div
@
click=
"goUrlSFD('SalesFinancialDetail', '销售财务单据', item)"
>
<div>
{{$t('fnc.fkdanju')}}:
</div>
<div>
<span
v-for=
"(item2,index2) in item.refundFinanceList"
:key=
"index2"
>
<span
v-if=
"item2.colorState===1"
class=
"groupTourOrder_tickets_blue"
>
{{item2.frID}}
</span>
<span
v-else-if=
"item2.colorState===2"
class=
"groupTourOrder_tickets_green"
>
{{item2.frID}}
</span>
<span
v-else-if=
"item2.colorState===3"
class=
"groupTourOrder_tickets_red"
>
{{item2.frID}}
</span>
<span
v-else-if=
"item2.colorState===4"
class=
"groupTourOrder_tickets_black"
>
{{item2.frID}}
</span>
</span>
<span
v-if=
"item.financeList.length===0"
style=
"cursor: default;"
>
{{$t('system.content_noData')}}
</span>
<span
v-if=
"item.financeList.length===0"
style=
"cursor: default;"
>
{{$t('system.content_noData')}}
</span>
</div>
</div>
</div>
<div>
<div>
{{$t('salesModule.Invoice')}}:
</div>
<div>
<div>
{{$t('salesModule.Invoice')}}:
</div>
<div>
<span
v-for=
"(item2,index2) in item.invoiceApplyList"
:key=
"index2"
>
<span
v-if=
"item2.invoiceApplyState === 6"
class=
"groupTourOrder_tickets_blue"
@
click=
"goIisDetail(item2.id)"
>
{{item2.id}}
</span>
<span
v-else-if=
"item2.invoiceApplyState === 1 || item2.invoiceApplyState === 3 || item2.invoiceApplyState === 6"
class=
"groupTourOrder_tickets_green"
@
click=
"goIisDetail(item2.id)"
>
{{item2.id}}
</span>
<span
v-else-if=
"item2.invoiceApplyState === 5 || item2.invoiceApplyState === 4 "
class=
"groupTourOrder_tickets_red"
@
click=
"goIisDetail(item2.id)"
>
{{item2.id}}
</span>
<span
v-else-if=
"item2.invoiceApplyState === 2"
class=
"groupTourOrder_tickets_black"
@
click=
"goIisDetail(item2.id)"
>
{{item2.id}}
</span>
<span
v-if=
"item2.invoiceApplyState === 6"
class=
"groupTourOrder_tickets_blue"
@
click=
"goIisDetail(item2.id)"
>
{{item2.id}}
</span>
<span
v-else-if=
"item2.invoiceApplyState === 1 || item2.invoiceApplyState === 3 || item2.invoiceApplyState === 6"
class=
"groupTourOrder_tickets_green"
@
click=
"goIisDetail(item2.id)"
>
{{item2.id}}
</span>
<span
v-else-if=
"item2.invoiceApplyState === 5 || item2.invoiceApplyState === 4 "
class=
"groupTourOrder_tickets_red"
@
click=
"goIisDetail(item2.id)"
>
{{item2.id}}
</span>
<span
v-else-if=
"item2.invoiceApplyState === 2"
class=
"groupTourOrder_tickets_black"
@
click=
"goIisDetail(item2.id)"
>
{{item2.id}}
</span>
</span>
<span
v-if=
"item.invoiceApplyList.length===0"
style=
"cursor: default;"
>
{{$t('system.content_noData')}}
</span>
<span
v-if=
"item.invoiceApplyList.length===0"
style=
"cursor: default;"
>
{{$t('system.content_noData')}}
</span>
</div>
</div>
</div>
</td>
</tr>
</td>
</tr>
</tbody>
</table>
<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
background
@
current-change=
"handleCurrentChange"
:current-page
.
sync=
"currentPage"
layout=
"total,prev, pager, next, jumper"
:page-size=
msg.pageSize
:total=
total
></el-pagination>
<div
class=
"combottomDiv"
v-if=
"showChangeSales"
style=
"height:200px;"
>
<updateSalesMan
@
closeUpdiv=
"closeSalseDiv"
@
getList=
"getList"
:subInfo=
"subInfo"
></updateSalesMan>
</div>
...
...
@@ -501,14 +550,15 @@
}
return
obj
;
},
redBagList
:[],
happy
:
false
,
redBagList
:
[],
happy
:
false
,
defaultImg
:
'this.src="'
+
require
(
"../../assets/img/litheader.png"
)
+
'"'
,
currentPage
:
1
,
total
:
0
,
loading
:
false
,
msg
:
{
LineId
:
"-1"
,
LineteamId
:
0
,
//系列
RB_Department_Id
:
null
,
CreateBy
:
"-1"
,
OrderState
:
"-1"
,
...
...
@@ -522,9 +572,9 @@
SellFormEmp
:
0
,
GroupType
:
'-1'
,
TCNUM
:
''
,
BranchId
:
'-1'
,
BranchId
:
'-1'
,
IsOneDay
:
'-1'
,
IsCollectMoney
:
0
,
IsCollectMoney
:
0
,
IsUseCoupon
:
'0'
,
IsUseRedEnvelopeMoney
:
'0'
},
...
...
@@ -576,20 +626,36 @@
B2BNum
:
0
},
ctlxList
:
[],
showChangeSales
:
false
,
showChangeSales
:
false
,
//订单编号及业务员信息
subInfo
:{
CreateBy
:
''
,
OrderId
:
0
subInfo
:
{
CreateBy
:
''
,
OrderId
:
0
},
userId
:
0
,
userId
:
0
,
//修改订单业务员1-有权限
isEditOrderCreate
:
0
,
isEditOrderCreate
:
0
,
};
},
methods
:
{
goUrlHappy
(
item
){
this
.
happy
=
false
;
//获取系列列表
getLineTeamList
(
lineId
)
{
this
.
LineTeamList
=
[]
this
.
apipost
(
'team_post_GetList'
,
{
lineID
:
lineId
,
isTOOP
:
1
},
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
msg
.
LineteamId
=
0
;
this
.
LineTeamList
=
res
.
data
.
data
}
}
)
},
goUrlHappy
(
item
)
{
this
.
happy
=
false
;
this
.
$router
.
push
({
name
:
"HappyPassbook"
,
query
:
{
...
...
@@ -598,27 +664,25 @@
}
});
},
getRedBag
(
item
){
let
msg
=
{
CustomerId
:
item
.
customerId
,
getRedBag
(
item
)
{
let
msg
=
{
CustomerId
:
item
.
customerId
,
pageIndex
:
1
,
pageSize
:
4
,
};
if
(
item
.
customerId
){
this
.
apipost
(
'customer_post_GetC_BigRedEnvelopeInfoList'
,
msg
,
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
redBagList
=
res
.
data
.
data
.
pageData
;
}
else
{
}
},
err
=>
{
})
}
else
{
this
.
redBagList
=
[];
if
(
item
.
customerId
)
{
this
.
apipost
(
'customer_post_GetC_BigRedEnvelopeInfoList'
,
msg
,
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
redBagList
=
res
.
data
.
data
.
pageData
;
}
else
{}
},
err
=>
{})
}
else
{
this
.
redBagList
=
[];
}
},
//跳转
goUrlTS
(
path
,
id
,
orderId
,
title
)
{
goUrlTS
(
path
,
id
,
orderId
,
title
)
{
this
.
$router
.
push
({
name
:
path
,
query
:
{
...
...
@@ -642,7 +706,11 @@
obj
.
description
=
[]
this
.
$router
.
push
({
name
:
path
,
query
:
{
blank
:
'y'
,
tab
:
name
,
item
:
JSON
.
stringify
(
obj
)}
query
:
{
blank
:
'y'
,
tab
:
name
,
item
:
JSON
.
stringify
(
obj
)
}
});
},
// 结束日期不能大于开始日期
...
...
@@ -658,7 +726,7 @@
this
.
msg
.
QEndDate
=
""
;
}
},
// 跳转调查列表
// 跳转调查列表
goInvetig
:
function
(
path
,
tcid
,
orderId
)
{
this
.
$router
.
push
({
name
:
path
,
...
...
@@ -748,7 +816,7 @@
},
linkageDepartment
()
{
//联动部门
this
.
msg
.
RB_Department_Id
=
null
;
if
(
this
.
msg
.
BranchId
!=
0
)
{
if
(
this
.
msg
.
BranchId
!=
0
)
{
this
.
getDepartmentMsg
.
RB_Branch_Id
=
this
.
msg
.
BranchId
;
}
this
.
getDepartment
();
...
...
@@ -804,27 +872,31 @@
},
err
=>
{})
},
//点击修改业务员
getSalerInfo
(
item
){
getSalerInfo
(
item
)
{
this
.
subInfo
.
CreateBy
=
item
.
createBy
;
this
.
subInfo
.
OrderId
=
item
.
orderId
;
this
.
showChangeSales
=
true
;
},
//关闭修改业务员
closeSalseDiv
(){
this
.
showChangeSales
=
false
;
closeSalseDiv
()
{
this
.
showChangeSales
=
false
;
},
goIisDetail
:
function
(
id
)
{
// 跳转发票详情页面
goIisDetail
:
function
(
id
)
{
// 跳转发票详情页面
this
.
$router
.
push
({
name
:
'invoicesManagerDetail'
,
query
:
{
id
:
id
,
noDetail
:
1
,
blank
:
"y"
,}
query
:
{
id
:
id
,
noDetail
:
1
,
blank
:
"y"
,
}
});
},
// 获取修改业务员权限
GetEditOrderCreateByAuth
()
{
var
actionCode
=
this
.
$AuthCode
.
EditOrderCreateBy
;
var
actionCode
=
this
.
$AuthCode
.
EditOrderCreateBy
;
this
.
CheckUserAuth
(
actionCode
,
res
=>
{
if
(
res
.
data
.
resultCode
==
1
&&
res
.
data
.
data
==
1
)
{
this
.
isEditOrderCreate
=
1
;
this
.
isEditOrderCreate
=
1
;
}
});
},
...
...
@@ -868,12 +940,6 @@
</
script
>
<
style
>
/* .personNolayer table td{
background-color: #ededed;
height: 34px;
text-indent: 15px;
}
*/
.personNolayer
p
{
height
:
28px
;
line-height
:
28px
;
...
...
@@ -916,11 +982,12 @@
padding
:
9px
15px
;
}
.personNolayer
table
th
{
background-color
:
#ededed
;
.personNolayer
table
th
{
background-color
:
#ededed
;
height
:
34px
;
text-indent
:
15px
;
}
}
.personNolayer
table
td
{
background-color
:
#ffffff
;
padding
:
9px
15px
;
...
...
@@ -936,14 +1003,16 @@
padding
:
9px
15px
;
}
.groupts
.underline
{
.groupts
.underline
{
text-decoration
:
underline
;
margin
:
5px
;
text-align
:
center
;
}
.color_red_order
{
.color_red_order
{
color
:
#e95252
!important
;
}
.enrollTotalSearch
{
width
:
100%
;
min-height
:
auto
;
...
...
@@ -1013,12 +1082,15 @@
background
:
#fff
;
text-align
:
left
;
}
.enrollTotalSearchTable
tbody
tr
:last-child
{
border-bottom
:
2px
solid
#333
;
}
.enrollTotalSearchTable
tr
:first-child
td
:first-child
{
border-bottom
:
2px
solid
#333
;
}
.enrollTotalSearchTable
tr
td
{
height
:
80px
;
padding
:
10px
;
...
...
src/components/SalesModule/groupTourOrder.vue
View file @
85baba52
...
...
@@ -16,7 +16,7 @@
font-size
:
12px
;
color
:
#666
;
margin
:
20px
0
0px
0
;
}
.groupTourOrderSearch
li
>
span
{
...
...
@@ -735,30 +735,34 @@
margin
:
5px
;
text-align
:
center
;
}
.GO_Contract
{
color
:
blue
;
.GO_Contract
{
color
:
blue
;
display
:
inline-block
;
cursor
:
pointer
;
margin-right
:
20px
;
margin-right
:
20px
;
}
.needfenshu
{
.needfenshu
{
margin-top
:
10px
;
display
:
flex
;
align-items
:
center
;
}
.SQguestList
{
.SQguestList
{
display
:
flex
;
flex-wrap
:
wrap
;
}
.SQguestList
label
{
.SQguestList
label
{
display
:
inline-block
;
min-width
:
100px
;
display
:
flex
;
align-items
:
center
;
margin-top
:
8px
;
}
</
style
>
</
style
>
<
template
>
<div
class=
"flexOne groupts"
style=
"min-width: 1200px;"
>
<!-- 修改信息 -->
...
...
@@ -780,28 +784,31 @@
</el-select>
</el-form-item>
<el-form-item
:label=
"$t('fnc.ctleixing')"
prop=
"GroupType"
>
<el-select
v-model=
'addMsg.GroupType'
filterable
:placeholder=
"$t('pub.pleaseSel')"
@
change=
"gettypechange(addMsg.GroupType)"
>
<el-select
v-model=
'addMsg.GroupType'
filterable
:placeholder=
"$t('pub.pleaseSel')"
@
change=
"gettypechange(addMsg.GroupType)"
>
<el-option
v-for=
"item in ctlxList"
:label=
'item.Name'
:value=
'item.Id'
:key=
'item.Id'
v-if=
"item.Id!=5"
>
</el-option>
</el-select>
</el-form-item>
<el-form-item
v-if=
"addMsg.GroupType == '3'"
:label=
"$t('salesModule.IsUseRoom')"
prop=
"GroupTypeNeedHouse"
>
<el-switch
@
change=
"$forceUpdate()"
v-model=
"addMsg.GroupTypeNeedHouse"
active-value=
"0"
inactive-value=
"1"
></el-switch>
<el-switch
@
change=
"$forceUpdate()"
v-model=
"addMsg.GroupTypeNeedHouse"
active-value=
"0"
inactive-value=
"1"
></el-switch>
</el-form-item>
</el-col>
<el-col
:span=
"4"
>
<el-form-item
:label=
"$t('hotel.suplier_contact')"
prop=
"ContactName"
v-show=
'addMsg.CustomerType==3||addMsg.CustomerType==4'
>
<el-form-item
:label=
"$t('hotel.suplier_contact')"
prop=
"ContactName"
v-show=
'addMsg.CustomerType==3||addMsg.CustomerType==4'
>
<el-input
v-model=
'addMsg.ContactName'
></el-input>
</el-form-item>
<el-form-item
:label=
"$t('restaurant.res_ContactNumber')"
prop=
"ContactMobile"
v-show=
'addMsg.CustomerType==3||addMsg.CustomerType==4'
>
<el-form-item
:label=
"$t('restaurant.res_ContactNumber')"
prop=
"ContactMobile"
v-show=
'addMsg.CustomerType==3||addMsg.CustomerType==4'
>
<el-input
v-model=
'addMsg.ContactMobile'
></el-input>
</el-form-item>
<el-form-item
:label=
"$t('salesModule.CustomerStore')"
prop=
"CustomerId"
v-show=
"addMsg.CustomerType==1||addMsg.CustomerType==2||addMsg.CustomerType==''"
>
<el-select
v-model=
'addMsg.CustomerId'
filterable
:placeholder=
"$t('pub.pleaseSel')"
@
change=
'getSspt'
v-if=
"addMsg.OrderForm !== 4"
:disabled=
"true"
>
v-if=
"addMsg.OrderForm !== 4"
:disabled=
"true"
>
<el-option
v-for=
"item in khmdList"
:label=
'item.customerName'
:value=
'item.customerId'
:key=
'item.customerId'
>
</el-option>
...
...
@@ -818,7 +825,8 @@
</el-option>
</el-select>
</el-form-item>
<el-form-item
:label=
"$t('salesModule.IsLianYn')"
prop=
"IsIntermodal"
v-show=
"addMsg.DepartureCityId!=SetOutCityId"
>
<el-form-item
:label=
"$t('salesModule.IsLianYn')"
prop=
"IsIntermodal"
v-show=
"addMsg.DepartureCityId!=SetOutCityId"
>
<el-switch
v-model=
"addMsg.IsIntermodal"
active-value=
"1"
inactive-value=
"2"
@
change=
'getUnionTravelPrice(addObj,1)'
></el-switch>
</el-form-item>
...
...
@@ -836,7 +844,8 @@
</el-option>
</el-select>
</el-form-item>
<el-form-item
:label=
"$t('salesModule.IsLianYn')"
prop=
"IsReturnIntermodal"
v-show=
"addMsg.ReturnArriveCityId!=reOutCityId"
>
<el-form-item
:label=
"$t('salesModule.IsLianYn')"
prop=
"IsReturnIntermodal"
v-show=
"addMsg.ReturnArriveCityId!=reOutCityId"
>
<el-switch
v-model=
"addMsg.IsReturnIntermodal"
active-value=
"1"
inactive-value=
"2"
@
change=
'getUnionTravelPrice(addObj,2)'
></el-switch>
</el-form-item>
...
...
@@ -851,22 +860,24 @@
<el-form-item
:label=
"$t('salesModule.TeamPrice')"
prop=
"TC_Price"
>
<el-input
v-model=
'addMsg.TC_Price'
:disabled=
"true"
></el-input>
</el-form-item>
<el-form-item
:label=
"$t('salesModule.StartLY')"
v-show=
'addMsg.IsIntermodal==1&&addMsg.DepartureCityId!=SetOutCityId'
>
<el-form-item
:label=
"$t('salesModule.StartLY')"
v-show=
'addMsg.IsIntermodal==1&&addMsg.DepartureCityId!=SetOutCityId'
>
<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-form-item
:label=
"$t('salesModule.BackLY')"
v-show=
'addMsg.IsReturnIntermodal==1&&addMsg.ReturnArriveCityId!=reOutCityId'
>
<el-form-item
:label=
"$t('salesModule.BackLY')"
v-show=
'addMsg.IsReturnIntermodal==1&&addMsg.ReturnArriveCityId!=reOutCityId'
>
<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"
>
<el-form-item
:label=
"$t('fnc.cjdanjia')"
prop=
"Unit_Price"
v-if=
"HightUnitPrice === '2'"
>
<el-select
v-model=
'addMsg.Unit_Price'
filterable
:placeholder=
"$t('pub.pleaseSel')"
@
change=
"getTotalPrice()"
>
<el-select
v-model=
'addMsg.Unit_Price'
filterable
:placeholder=
"$t('pub.pleaseSel')"
@
change=
"getTotalPrice()"
>
<el-option
v-for=
"(item,index) in Unit_PriceList"
:label=
'item.LessMoney'
:value=
'item.ID'
:key=
'index'
>
</el-option>
</el-select>
<!--
<el-input
v-model=
'addMsg.Unit_Price'
:disabled=
"true"
@
keyup
.
native=
"checkPrice(addMsg,'Unit_Price');getTotalPrice()"
></el-input>
-->
</el-form-item>
<el-form-item
:label=
"$t('fnc.cjdanjia')"
prop=
"Unit_Price"
v-else
>
<el-input
v-model=
'addMsg.Unit_Price'
@
change=
"getTotalPrice(3)"
></el-input>
...
...
@@ -876,11 +887,9 @@
</el-form-item>
<el-form-item
v-show=
"addMsg.GroupType != 4"
>
<p
v-if=
"LessMoney==0"
style=
"line-height: 18px; color: #E95252;"
>
{{
$t
(
'salesModule.Notice1'
)
}}
</p>
<p
v-else=
"LessMoney>0"
style=
"line-height: 18px; color: #E95252;"
>
{{
$t
(
'salesModule.Notice2'
)
}}{{
LessMoney
}}{{
$t
(
'salesModule.Notice3'
)
}}
</p>
<p
v-else=
"LessMoney>0"
style=
"line-height: 18px; color: #E95252;"
>
{{
$t
(
'salesModule.Notice2'
)
}}{{
LessMoney
}}{{
$t
(
'salesModule.Notice3'
)
}}
</p>
</el-form-item>
<!--
<el-form-item>
<p
style=
"line-height: 18px; color: #E95252;"
>
注:如果超出本团的最低让价,差价将由你来承担
</p>
</el-form-item>
-->
</el-col>
</el-row>
<div
style=
"width: 100%; border-top:1px dashed #ccc;margin-bottom:25px;"
></div>
...
...
@@ -923,7 +932,7 @@
@
input=
'getNumber();getHouseNo();getTotalPrice()'
></el-input>
</el-form-item>
</el-col>
</el-row>
<el-row
:gutter=
"20"
>
<el-col
:span=
"4"
v-if=
"addMsg.GroupTypeNeedHouse == '0'"
>
...
...
@@ -958,14 +967,16 @@
</el-col>
<el-col
:span=
"4"
>
<el-form-item
:label=
"$t('salesModule.SingleFM')"
>
<el-radio
v-model=
"addMsg.OneSex"
@
click
.
native
.
prevent=
"setDanren(1)"
:label=
"1"
>
{{
$t
(
'pub.man'
)
}}
</el-radio>
<el-radio
v-model=
"addMsg.OneSex"
@
click
.
native
.
prevent=
"setDanren(2)"
:label=
"2"
>
{{
$t
(
'pub.woman'
)
}}
</el-radio>
<el-radio
v-model=
"addMsg.OneSex"
@
click
.
native
.
prevent=
"setDanren(1)"
:label=
"1"
>
{{
$t
(
'pub.man'
)
}}
</el-radio>
<el-radio
v-model=
"addMsg.OneSex"
@
click
.
native
.
prevent=
"setDanren(2)"
:label=
"2"
>
{{
$t
(
'pub.woman'
)
}}
</el-radio>
</el-form-item>
</el-col>
</el-row>
<el-row
:gutter=
"20"
>
<el-col
:span=
"4"
>
<el-form-item
:label=
"$t('salesModule.JQRS')"
prop=
"RefuseVisaNum"
>
<el-form-item
:label=
"$t('salesModule.JQRS')"
prop=
"RefuseVisaNum"
>
<el-input
v-model=
'addMsg.RefuseVisaNum'
@
keyup
.
native=
"checkInteger(addMsg,'RefuseVisaNum')"
@
input=
'getTotalPrice()'
></el-input>
</el-form-item>
...
...
@@ -1092,7 +1103,8 @@
<el-row
:gutter=
"20"
>
<el-col
:span=
"4"
>
<el-form-item
:label=
"$t('salesModule.CustomFrom')"
prop=
"ClientSource"
>
<el-select
v-model=
'addMsg.ClientSource'
:disabled=
"addMsg.OrderForm!==4 ? true : false"
filterable
:placeholder=
"$t('pub.pleaseSel')"
>
<el-select
v-model=
'addMsg.ClientSource'
:disabled=
"addMsg.OrderForm!==4 ? true : false"
filterable
:placeholder=
"$t('pub.pleaseSel')"
>
<el-option
v-for=
"item in ddlyList"
:label=
'item.Name'
:value=
'item.Id'
:key=
'item.Id'
>
</el-option>
</el-select>
...
...
@@ -1108,7 +1120,8 @@
</el-col>
<el-col
:span=
"4"
>
<el-form-item
:label=
"$t('tips.jiaoyifangshi')"
prop=
"TradeWay"
v-show=
'addMsg.ClientSource==1'
>
<el-select
v-model=
'addMsg.TradeWay'
:disabled=
"addMsg.OrderForm !== 4 ? true : false"
filterable
:placeholder=
"$t('pub.pleaseSel')"
>
<el-select
v-model=
'addMsg.TradeWay'
:disabled=
"addMsg.OrderForm !== 4 ? true : false"
filterable
:placeholder=
"$t('pub.pleaseSel')"
>
<el-option
v-for=
"item in jyfsList"
:label=
'item.Name'
:value=
'item.Id'
:key=
'item.Id'
>
</el-option>
</el-select>
...
...
@@ -1257,7 +1270,7 @@
</el-row>
</el-form>
</div>
<!--
申请优惠-->
<!-- 申请优惠-->
<div
class=
"productQuerybottomLayer ownScrollbarStyle"
v-show=
"SpecialOffer"
style=
"height: 150px;min-height:200px;"
>
<p>
{{
$t
(
'pub.ApplyYH'
)
}}
...
...
@@ -1278,7 +1291,8 @@
<!--
<em
style=
"margin-left: 100px;font-size: 12px !important;color: #606266;"
>
优惠金额
</em>
<el-input
v-model=
'SOMsg.ApplyPrice'
type=
'text'
maxlength=
'20'
class=
'w150'
></el-input>
-->
<em
style=
"margin-left: 100px;font-size: 12px !important;color: #606266;"
>
{{
$t
(
'salesModule.AdultPeople'
)
}}
</em>
<em
style=
"margin-left: 100px;font-size: 12px !important;color: #606266;"
>
{{
$t
(
'salesModule.AdultPeople'
)
}}
</em>
<el-select
:placeholder=
"$t('pub.pleaseSel')"
v-model=
"SOMsg.UpdateBy"
>
<el-option
v-for=
"(item,index) in SuperiorPeople"
:label=
'(item.EmName)'
:value=
'(item.EmployeeId)'
:key=
"index"
></el-option>
...
...
@@ -1293,9 +1307,6 @@
</el-form>
</div>
<div
class=
"groupTourOrderSearch"
>
<ul>
<li><span><em>
{{
$t
(
'advmanager.v_line'
)
}}
</em>
...
...
@@ -1324,7 +1335,8 @@
<li>
<span>
<em>
{{
$t
(
'hotel.order_Number'
)
}}
</em>
<el-input
v-model=
'msg.tempOrderId'
class=
'w150'
@
keyup
.
native=
"checkInteger(msg,'tempOrderId')"
maxlength=
"8"
></el-input>
<el-input
v-model=
'msg.tempOrderId'
class=
'w150'
@
keyup
.
native=
"checkInteger(msg,'tempOrderId')"
maxlength=
"8"
></el-input>
</span>
</li>
<li><span><em>
{{
$t
(
'scen.sc_ftTime'
)
}}
</em>
...
...
@@ -1394,7 +1406,8 @@
</td>
<td
width=
"70"
>
{{
$t
(
'salesModule.BMLX'
)
}}
</td>
<td>
<el-select
v-model=
'msg.GroupTypeArray'
filterable
multiple
class=
"multiple_input"
:placeholder=
"$t('pub.pleaseSel')"
>
<el-select
v-model=
'msg.GroupTypeArray'
filterable
multiple
class=
"multiple_input"
:placeholder=
"$t('pub.pleaseSel')"
>
<el-option
v-for=
"item in ctlxList"
:label=
'item.Name'
:value=
'item.Id'
:key=
'item.Id'
>
</el-option>
</el-select>
...
...
@@ -1413,16 +1426,18 @@
</tr>
<tr>
<td
colspan=
"4"
>
<input
type=
"button"
class=
"normalBtn"
:value=
"$t('pub.searchBtn')"
@
click=
"getList();resetPageIndex()"
style=
"width: 476px!important;"
/>
<input
type=
"button"
class=
"normalBtn"
:value=
"$t('pub.searchBtn')"
@
click=
"getList();resetPageIndex()"
style=
"width: 476px!important;"
/>
</td>
</tr>
</table>
<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>
<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>
...
...
@@ -1492,10 +1507,14 @@
<span>
{{
$t
(
'fnc.cwdjshuoming'
)
}}
</span>
</div>
<p>
<span
class=
"groupTourOrderByTuan_ico"
><i
style=
"background-color:#0000ff"
></i><span>
{{
$t
(
'fnc.yidadan'
)
}}
</span></span>
<span
class=
"groupTourOrderByTuan_ico"
><i
style=
"background-color:#00FF00"
></i><span>
{{
$t
(
'fnc.ptcnyshenhe'
)
}}
</span></span>
<span
class=
"groupTourOrderByTuan_ico"
><i
style=
"background-color:#FF0000"
></i><span>
{{
$t
(
'fnc.yhcnyshenhe'
)
}}
</span></span>
<span
class=
"groupTourOrderByTuan_ico"
><i
style=
"background-color:#000000"
></i><span>
{{
$t
(
'fnc.ytongguo'
)
}}
</span></span>
<span
class=
"groupTourOrderByTuan_ico"
><i
style=
"background-color:#0000ff"
></i><span>
{{
$t
(
'fnc.yidadan'
)
}}
</span></span>
<span
class=
"groupTourOrderByTuan_ico"
><i
style=
"background-color:#00FF00"
></i><span>
{{
$t
(
'fnc.ptcnyshenhe'
)
}}
</span></span>
<span
class=
"groupTourOrderByTuan_ico"
><i
style=
"background-color:#FF0000"
></i><span>
{{
$t
(
'fnc.yhcnyshenhe'
)
}}
</span></span>
<span
class=
"groupTourOrderByTuan_ico"
><i
style=
"background-color:#000000"
></i><span>
{{
$t
(
'fnc.ytongguo'
)
}}
</span></span>
</p>
</div>
</el-col>
...
...
@@ -1544,44 +1563,47 @@
<tbody
v-for=
"(item,index) in list"
:key=
"index"
>
<tr>
<td
rowspan=
"3"
>
<p
v-if=
"item.isChargeLossOrders==1"
style=
"color:red"
>
{{
$t
(
'fnc.sun'
)
}}
</p>
<p
class=
"fbold over_ellipsis"
style=
"width: 100%;cursor:pointer;"
>
<span
:title=
"item.orderId"
@
click=
"goUrlX('团报名清单','groupTourOrderByTuan',item.tcid,item.tcnum)"
>
{{
item
.
orderId
}}
</span>
<span
style=
"font-weight: 100;text-decoration:underline;cursor:pointer;color: #e95252;"
v-if=
"item.scoreNum >= 0"
@
click=
'goInvetig("investigationList", item.tcid, item.orderId)'
>
(评分
{{
item
.
scoreNum
}}
)
</span>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"通过小程序确认单报名"
placement=
"top"
v-show=
"item.orderForm==4"
>
<i
class=
"iconfont icon-xiaochengxu"
style=
"font-size:22px;color:red;"
></i></el-tooltip>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"通过B2B确认单报名"
placement=
"top"
v-show=
"item.isFormB2B ==1"
>
<i
class=
"iconfont icon-tiaozheng"
style=
"font-size:22px;color:#297BEF;"
></i></el-tooltip>
</p>
<span
:title=
"item.orderId"
@
click=
"goUrlX('团报名清单','groupTourOrderByTuan',item.tcid,item.tcnum)"
>
{{
item
.
orderId
}}
</span>
<span
style=
"font-weight: 100;text-decoration:underline;cursor:pointer;color: #e95252;"
v-if=
"item.scoreNum >= 0"
@
click=
'goInvetig("investigationList", item.tcid, item.orderId)'
>
(评分
{{
item
.
scoreNum
}}
)
</span>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"通过小程序确认单报名"
placement=
"top"
v-show=
"item.orderForm==4"
>
<i
class=
"iconfont icon-xiaochengxu"
style=
"font-size:22px;color:red;"
></i></el-tooltip>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"通过B2B确认单报名"
placement=
"top"
v-show=
"item.isFormB2B ==1"
>
<i
class=
"iconfont icon-tiaozheng"
style=
"font-size:22px;color:#297BEF;"
></i></el-tooltip>
</p>
<p
class=
"fz12 over_ellipsis"
style=
"width: 100%;text-decoration:underline;cursor:pointer;"
:title=
"item.alName"
@
click=
"goUrlX('产品查询','productQuery',item.tcid,item.tcnum)"
>
{{
item
.
tcnum
}}
</p>
<p
class=
"fz12 over_ellipsis"
style=
"width: 100%;"
>
{{
item
.
commissionSPeopleName
}}
</p>
<p
style=
"min-width: 180px;"
>
{{
$t
(
'hotel.hotel_StartTeam'
)
}}
:
{{
item
.
startDate
}}
</p>
<p>
{{
$t
(
'restaurant.res_oderTime'
)
}}
:
{{
item
.
createDate
}}
</p>
<p
v-if=
"item.tradeWay ==1"
>
{{
item
.
platformOrder
}}
</p>
<p
v-if=
'item.commissionMoney'
style=
"color:red"
>
{{
$t
(
'salesModule.Commission'
)
}}
:
{{
item
.
commissionMoney
}}
</p>
<p
v-else-if=
"item.latestCommissionMoney"
style=
"color:red"
>
{{
$t
(
'salesModule.Commission'
)
}}
:
{{
item
.
latestCommissionMoney
}}
</p>
<p
v-if=
'item.commissionMoney'
style=
"color:red"
>
{{
$t
(
'salesModule.Commission'
)
}}
:
{{
item
.
commissionMoney
}}
</p>
<p
v-else-if=
"item.latestCommissionMoney"
style=
"color:red"
>
{{
$t
(
'salesModule.Commission'
)
}}
:
{{
item
.
latestCommissionMoney
}}
</p>
<div>
<div
style=
"color:green"
v-if=
"item.commissionMoney==''||item.commissionMoney=='-1'"
>
<p
v-if=
"item.extraRewardMoney>0"
>
{{
$t
(
'salesModule.EWJLJE'
)
}}
:
{{
item
.
extraRewardMoney
}}
</p>
<p
v-if=
"item.extraDeductMoney>0"
>
{{
$t
(
'salesModule.EWKCJE'
)
}}
:
{{
item
.
extraDeductMoney
}}
</p>
</div>
<div
style=
"color:red"
v-else
>
<p
v-if=
"item.extraRewardMoney>0"
>
{{
$t
(
'salesModule.EWJLJE'
)
}}
:
{{
item
.
extraRewardMoney
}}
</p>
<p
v-if=
"item.extraDeductMoney>0"
>
{{
$t
(
'salesModule.EWKCJE'
)
}}
:
{{
item
.
extraDeductMoney
}}
</p>
</div>
<div
style=
"color:red"
>
<p
v-if=
"item.unionExtraMoney!=0"
>
{{
$t
(
'salesModule.LYEWFY'
)
}}
:
{{
item
.
unionExtraMoney
}}
</p>
</div>
<div
style=
"color:green"
v-if=
"item.commissionMoney==''||item.commissionMoney=='-1'"
>
<p
v-if=
"item.extraRewardMoney>0"
>
{{
$t
(
'salesModule.EWJLJE'
)
}}
:
{{
item
.
extraRewardMoney
}}
</p>
<p
v-if=
"item.extraDeductMoney>0"
>
{{
$t
(
'salesModule.EWKCJE'
)
}}
:
{{
item
.
extraDeductMoney
}}
</p>
</div>
<div
style=
"color:red"
v-else
>
<p
v-if=
"item.extraRewardMoney>0"
>
{{
$t
(
'salesModule.EWJLJE'
)
}}
:
{{
item
.
extraRewardMoney
}}
</p>
<p
v-if=
"item.extraDeductMoney>0"
>
{{
$t
(
'salesModule.EWKCJE'
)
}}
:
{{
item
.
extraDeductMoney
}}
</p>
</div>
<div
style=
"color:red"
>
<p
v-if=
"item.unionExtraMoney!=0"
>
{{
$t
(
'salesModule.LYEWFY'
)
}}
:
{{
item
.
unionExtraMoney
}}
</p>
</div>
</div>
</td>
<td>
<p
class=
"fz12 over_ellipsis"
style=
"width: 120px;"
:title=
"item.contactName"
>
{{
item
.
contactName
}}
</p>
<p
class=
"fz12"
>
{{
item
.
contactMobile
}}
</p>
<p
class=
"fz12"
v-if=
"item.industryCategory!==''"
style=
"color:green"
>
{{
$t
(
'salesModule.HYLB'
)
}}
:
{{
item
.
industryCategory
}}
</p>
<p
class=
"fz12"
v-if=
"item.industryCategory!==''"
style=
"color:green"
>
{{
$t
(
'salesModule.HYLB'
)
}}
:
{{
item
.
industryCategory
}}
</p>
</td>
<td>
<p
class=
"fz12 over_ellipsis"
style=
"width: 100%;"
>
{{
item
.
orderTypeName
}}
</p>
...
...
@@ -1593,46 +1615,16 @@
<p
style=
"max-width: 160px;display: block;"
class=
"over_ellipsis"
:title=
"item.ltName"
>
{{
item
.
ltName
}}
</p>
</td>
<td>
<!--
<el-popover
style=
'padding: 0;'
width=
"470"
trigger=
"click"
>
-->
<!--
<div
class=
"personNolayer"
>
<p>
<span>
成人:
{{
item
.
manNum
}}
人
</span>
<span>
儿童:
{{
item
.
chirdNum
}}
人
</span>
<span>
老人:
{{
item
.
oldPeopleNum
}}
人
</span>
<span>
婴儿:
{{
item
.
babyNum
}}
人
</span>
<span>
单地接:
{{
item
.
airticketNum
}}
人
</span>
</p>
<table
border=
"0"
cellspacing=
"1"
cellpadding=
"1"
>
<tr>
<th>
姓名
</th>
<th>
护照
</th>
<th>
性别
</th>
<th>
年龄
</th>
<th
width=
"110"
>
联系电话
</th>
</tr>
<tr
v-if=
'memberList.length>0'
v-for=
"(item2,index2) in memberList"
:key=
"index2"
>
<td>
{{
item2
.
userName
}}
</td>
<td>
{{
item2
.
passportNo
}}
</td>
<td>
{{
item2
.
sexStr
}}
</td>
<td>
{{
item2
.
age
}}
</td>
<td>
{{
item2
.
mobilePhone
}}
</td>
</tr>
<tr
v-if=
'memberList.length==0'
>
<td
colspan=
"5"
align=
"center"
>
暂无数据
</td>
</tr>
</table>
</div>
-->
<span
v-if=
'item.guestNumStatus==1'
style=
"color:#1AA86B;"
class=
"personNo"
slot=
"reference"
@
click=
"getMembersDetail(item)"
>
{{
item
.
guestNum
}}
/
{{
item
.
ySeatNum
>
0
?
item
.
ySeatNum
+
'Y '
:
''
}}{{
item
.
eSeatNum
>
0
?
item
.
eSeatNum
+
'E '
:
''
}}{{
item
.
fSeatNum
>
0
?
item
.
fSeatNum
+
'F '
:
''
}}
</span>
<span
v-if=
'item.guestNumStatus==2'
style=
"color:#E95252;"
class=
"personNo"
slot=
"reference"
@
click=
"getMembersDetail(item)"
>
{{
item
.
guestNum
}}
/
{{
item
.
ySeatNum
>
0
?
item
.
ySeatNum
+
'Y '
:
''
}}{{
item
.
eSeatNum
>
0
?
item
.
eSeatNum
+
'E '
:
''
}}{{
item
.
fSeatNum
>
0
?
item
.
fSeatNum
+
'F '
:
''
}}
</span>
<span
v-if=
'item.guestNumStatus==3'
style=
"color:#666;"
class=
"personNo"
slot=
"reference"
@
click=
"getMembersDetail(item)"
>
{{
item
.
guestNum
}}
/
{{
item
.
ySeatNum
>
0
?
item
.
ySeatNum
+
'Y '
:
''
}}{{
item
.
eSeatNum
>
0
?
item
.
eSeatNum
+
'E '
:
''
}}{{
item
.
fSeatNum
>
0
?
item
.
fSeatNum
+
'F '
:
''
}}
</span>
<br/>
<span
v-if=
"item.refuseVisaNum>0"
style=
"color:red"
>
(
{{
$t
(
'salesModule.RefuseQ'
)
}}
{{
item
.
refuseVisaNum
}}{{
$t
(
'sm.person'
)
}}
)
</span>
<!--
</el-popover>
-->
<br
/>
<span
v-if=
"item.refuseVisaNum>0"
style=
"color:red"
>
(
{{
$t
(
'salesModule.RefuseQ'
)
}}
{{
item
.
refuseVisaNum
}}{{
$t
(
'sm.person'
)
}}
)
</span>
</td>
<td
style=
"color:#FF9C00"
>
{{
item
.
tC_Price
}}
</td>
<td
style=
"color:#FF9C00"
>
{{
item
.
unit_Price
}}
</td>
...
...
@@ -1699,7 +1691,8 @@
</tr>
</table>
</div>
<span
style=
"cursor: pointer;color: #e95252;text-decoration: underline;"
slot=
"reference"
>
{{
item
.
discountMoney
}}
</span>
<span
style=
"cursor: pointer;color: #e95252;text-decoration: underline;"
slot=
"reference"
>
{{
item
.
discountMoney
}}
</span>
</el-popover>
</td>
<td>
...
...
@@ -1710,10 +1703,11 @@
<th>
{{
$t
(
'fnc.jine'
)
}}
</th>
<th>
{{
$t
(
'advmanager.v_type'
)
}}
</th>
<th>
{{
$t
(
'system.label_info'
)
}}
</th>
<th>
{{
$t
(
'salesModule.Time'
)
}}
(
<span
@
click=
"goUrlHappy(item)"
style=
"cursor: pointer;"
colspan=
"4"
align=
"center"
>
{{
$t
(
'salesModule.Time'
)
}}{{
$t
(
'salesModule.LookMore'
)
}}
</span>
)
</th>
<th>
{{
$t
(
'salesModule.Time'
)
}}
(
<span
@
click=
"goUrlHappy(item)"
style=
"cursor: pointer;"
colspan=
"4"
align=
"center"
>
{{
$t
(
'salesModule.Time'
)
}}{{
$t
(
'salesModule.LookMore'
)
}}
</span>
)
</th>
</tr>
<tr
v-for=
"(item2,index2) in redBagList"
:key=
"index2"
>
<tr
v-for=
"(item2,index2) in redBagList"
:key=
"index2"
>
<td>
{{
item2
.
Money
}}
</td>
<td>
{{
item2
.
Type
==
1
?
"收入"
:
"折扣"
}}
...
...
@@ -1726,9 +1720,10 @@
</tr>
</table>
</div>
<span
@
click=
"getRedBag(item)"
style=
"cursor: pointer;color: #e95252;text-decoration: underline;"
slot=
"reference"
>
{{
item
.
redEnvelopeMoney
}}
</span>
<span
@
click=
"getRedBag(item)"
style=
"cursor: pointer;color: #e95252;text-decoration: underline;"
slot=
"reference"
>
{{
item
.
redEnvelopeMoney
}}
</span>
</el-popover>
<span
v-else
style=
"color: #e95252;text-decoration: underline;"
>
{{
item
.
redEnvelopeMoney
}}
</span>
<span
v-else
style=
"color: #e95252;text-decoration: underline;"
>
{{
item
.
redEnvelopeMoney
}}
</span>
</td>
<td>
{{
item
.
refund
}}
</td>
...
...
@@ -1790,37 +1785,46 @@
<el-tooltip
effect=
"dark"
:content=
"$t('pub.more')"
placement=
"top-start"
style=
"float:left"
>
<el-popover
width=
'100'
trigger=
"hover"
>
<div
class=
"groupTourOrder_more"
>
<div
@
click=
"goUrlT('confirmationOrder',item.orderId)"
>
{{$t('salesModule.QRH')}}{{item.operationState === 2 ? '(拒绝)' : item.operationState === 1 ? '(通过)' : item.operationState === 0 ? '(待审核)' : ''}}
</div>
<div
@
click=
"goUrlT('confirmationOrder',item.orderId)"
>
{{$t('salesModule.QRH')}}{{item.operationState === 2 ? '(拒绝)' : item.operationState === 1 ? '(通过)' : item.operationState === 0 ? '(待审核)' : ''}}
</div>
<div
v-if=
"isEditOrderCreate==1"
@
click=
"getSalerInfo(item)"
>
{{$t('salesModule.UpdateYWY')}}
</div>
<div
v-if=
"item.isGuestOk=='1'&&item.outNotice==1"
@
click=
"toTrip(item)"
>
{{$t('Operation.Op_teamNotice')}}
<span
v-if=
"item.outNotice==1"
>
(OK)
</span><span
v-else
>
({{$t('visa.v_zanding')}})
</span></div>
<div
v-if=
"item.orderState!='4'"
@
click=
"goUrlP('旅客名单','passengerSaleList',item)"
>
{{$t('salesModule.LKMD')}}
</div>
<div
v-if=
"item.isGuestOk=='1'&&item.outNotice==1"
@
click=
"toTrip(item)"
>
{{$t('Operation.Op_teamNotice')}}
<span
v-if=
"item.outNotice==1"
>
(OK)
</span><span
v-else
>
({{$t('visa.v_zanding')}})
</span></div>
<div
v-if=
"item.orderState!='4'"
@
click=
"goUrlP('旅客名单','passengerSaleList',item)"
>
{{$t('salesModule.LKMD')}}
</div>
<div
v-if=
"item.isOrder=='1'&&(item.isHaveFinance=='1'||item.orderState=='1')"
@
click=
'getHouse(item)'
>
{{$t('salesModule.UpdateRoom')}}
</div>
<div
v-if=
"item.isOrder=='1'&&item.orderState!='4' && TransferMission ==true"
@
click=
"transfer(item)"
>
{{$t('salesModule.OrderGroup')}}
</div>
<div
v-if=
"item.orderState=='1'||item.orderState=='2'"
@
click=
'setChargeLoss(item)'
>
<div
v-if=
"item.isOrder=='1'&&item.orderState!='4' && TransferMission ==true"
@
click=
"transfer(item)"
>
{{$t('salesModule.OrderGroup')}}
</div>
<div
v-if=
"item.orderState=='1'||item.orderState=='2'"
@
click=
'setChargeLoss(item)'
>
<span
v-if=
"item.isChargeLossOrders==1"
>
{{$t('salesModule.LossSheet')}}
</span>
<span
v-else
>
{{$t('salesModule.LossReceipt')}}
</span>
</div>
<!-- item.confirmFileList.length>0 && ((item.receivableMoney - item.invoiceApplyTotal) > 0) -->
<div
v-if=
'(item.confirmFileList.length>0||item.contractNum.length>0) && ((item.receivableMoney - item.invoiceApplyTotal) > 0) && (qjGroupId==userInfo.RB_Group_id || F_InvoiceManagement)'
@
click=
'goUrlAdd("invoicesManagerAdd", item.orderId, item.tcid, item.customerId, 1)'
>
{{$t('salesModule.ApplyInvoice')}}
</div>
<div
v-if=
'(item.confirmFileList.length>0||item.contractNum.length>0) && ((item.receivableMoney - item.invoiceApplyTotal) > 0) && (qjGroupId==userInfo.RB_Group_id || F_InvoiceManagement)'
@
click=
'goUrlAdd("invoicesManagerAdd", item.orderId, item.tcid, item.customerId, 1)'
>
{{$t('salesModule.ApplyInvoice')}}
</div>
<div
@
click=
'Discount(item.tcid),SOMsg.OrderId = item.orderId,SOMsg.OrderUnitPrice = item.unit_Price'
>
{{$t('pub.ApplyYH')}}
</div>
<div
v-if=
"qjGroupId==userInfo.RB_Group_id || F_Finance_Create"
@
click=
'ShenQingPhoto(item)'
>
<div
v-if=
"qjGroupId==userInfo.RB_Group_id || F_Finance_Create"
@
click=
'ShenQingPhoto(item)'
>
{{$t('salesModule.ApplyPhoto')}}
</div>
<div
v-if=
"item.isOrder=='1'&&(item.orderState=='1'||item.orderState=='2'||item.orderState=='3') && item.isCanClear==0"
@
click=
'deleteItem(item)'
>
{{$t('pub.cancelBtn')}}
<div
v-if=
"item.isOrder=='1'&&(item.orderState=='1'||item.orderState=='2'||item.orderState=='3') && item.isCanClear==0"
@
click=
'deleteItem(item)'
>
{{$t('pub.cancelBtn')}}
</div>
<div
@
click=
'SpecialAPP(item.tcid, item.orderId, item.orderspecialofferId)'
>
特价申请函
</div>
<div
v-if=
"item.isOrder=='1'&&(item.orderState=='1'||item.orderState=='2'||item.orderState=='3') && item.isCanClear==1"
title=
"如需取消订单清联系OP"
style=
"color:red;"
>
{{$t('salesModule.OrderSured')}}
<div
v-if=
"item.isOrder=='1'&&(item.orderState=='1'||item.orderState=='2'||item.orderState=='3') && item.isCanClear==1"
title=
"如需取消订单清联系OP"
style=
"color:red;"
>
{{$t('salesModule.OrderSured')}}
</div>
<div
v-if=
"item.scoreNum >= 0"
@
click=
'goInvetig("investigationList", item.tcid, item.orderId)'
>
{{$t('salesModule.LookTourse')}}
</div>
<div
v-if=
"item.scoreNum >= 0"
@
click=
'goInvetig("investigationList", item.tcid, item.orderId)'
>
{{$t('salesModule.LookTourse')}}
</div>
</div>
<el-button
slot=
"reference"
type=
"primary"
style=
'background:#297BEF; border-color:#297BEF;border-top-left-radius: 0;border-bottom-left-radius: 0;'
...
...
@@ -1828,42 +1832,53 @@
</el-popover>
</el-tooltip>
</el-button-group>
<payurlItem
v-if=
"item.commissionSharePeople !== userId && item.airConfirm!=2"
:item=
"item"
:showID=
"showID"
:photoF=
"item.photoNum>0"
v-show=
"item.orderState!='4'&&item.orderState!='3' && (qjGroupId==userInfo.RB_Group_id || F_Finance_Create)"
v-on:childByValue=
"childByValue"
></payurlItem>
<payurlItem
v-if=
"item.commissionSharePeople !== userId && item.airConfirm!=2"
:item=
"item"
:showID=
"showID"
:photoF=
"item.photoNum>0"
v-show=
"item.orderState!='4'&&item.orderState!='3' && (qjGroupId==userInfo.RB_Group_id || F_Finance_Create)"
v-on:childByValue=
"childByValue"
></payurlItem>
</td>
</tr>
<tr
style=
"height:20px"
>
<td
colspan=
"17"
class=
"RL_Order"
style=
"height:20px"
>
<span
class=
"RL-remarkTitle"
v-if=
"item.guestList.length>0"
>
{{$t('salesModule.MD')}}:
</span>
<span
class=
"RL-remarkTitle"
v-if=
"item.guestList.length>0"
>
{{$t('salesModule.MD')}}:
</span>
<span
class=
"RL-redType RL-remarkCon"
v-if=
"item.guestList.length>0"
>
<span
v-for=
"(childItem) in item.guestList"
style=
"color: blue"
>
{{childItem.userName}}
<span
v-if=
"childItem.isApplyPhoto == 1"
style=
"color:red"
>
({{$t('salesModule.Zhao')}})
</span>
</span>
<span
v-if=
"item.photoNum>0"
>
({{$t('salesModule.NoPhoto')}} {{item.photoNum}}{{$t('salesModule.Fen')}})
</span>
<span
v-for=
"(childItem) in item.guestList"
style=
"color: blue"
>
{{childItem.userName}}
<span
v-if=
"childItem.isApplyPhoto == 1"
style=
"color:red"
>
({{$t('salesModule.Zhao')}})
</span>
</span>
<span
v-if=
"item.photoNum>0"
>
({{$t('salesModule.NoPhoto')}}
{{item.photoNum}}{{$t('salesModule.Fen')}})
</span>
</span>
<p
v-if=
"item.cancelGuestList.length>0"
>
<span
class=
""
>
{{$t('salesModule.CancelOrder')}}:
</span>
<span
class=
""
>
{{$t('salesModule.CancelOrder')}}:
</span>
<span
class=
"RL-redType RL-remarkCon"
>
<span
style=
"color: red;"
v-for=
"(childItem) in item.cancelGuestList"
>
{{childItem.userName}}
</span>
<span
style=
"color: red;"
v-for=
"(childItem) in item.cancelGuestList"
>
{{childItem.userName}}
</span>
</span>
</p>
<span
style=
"display: block"
>
{{$t('salesModule.RoomInfo')}}
<span
v-if=
"item.oneSex>0"
style=
"color: #e95252"
>
({{item.oneSex==1?'单男':'单女'}})
</span>
:{{item.orderGuestHouseStr}}
</span>
<span
style=
"display: block"
>
{{$t('salesModule.RoomInfo')}}
<span
v-if=
"item.oneSex>0"
style=
"color: #e95252"
>
({{item.oneSex==1?'单男':'单女'}})
</span>
:{{item.orderGuestHouseStr}}
</span>
<div>
<span
v-if=
"item.opTipMoney==''&&item.tipMoney!=''"
style=
"color:red"
>
({{$t('fnc.xiaofei')}}:{{item.tipMoney}})
</span>
<span
v-if=
"item.opTipMoney!=''"
style=
"color:red"
>
({{$t('fnc.xiaofei')}}:{{item.opTipMoney}})
<span>
{{$t('salesModule.Docments')}}:
</span>
<span
@
click=
"gourlTip('FinancialDocumentsDetail',id)"
style=
"text-decoration:underline;color:blue;cursor:pointer"
v-for=
"(id,i) in item.tipFrId"
:key=
"i"
>
{{id}}
</span>
<span
v-if=
"item.opTipMoney==''&&item.tipMoney!=''"
style=
"color:red"
>
({{$t('fnc.xiaofei')}}:{{item.tipMoney}})
</span>
<span
v-if=
"item.opTipMoney!=''"
style=
"color:red"
>
({{$t('fnc.xiaofei')}}:{{item.opTipMoney}})
<span>
{{$t('salesModule.Docments')}}:
</span>
<span
@
click=
"gourlTip('FinancialDocumentsDetail',id)"
style=
"text-decoration:underline;color:blue;cursor:pointer"
v-for=
"(id,i) in item.tipFrId"
:key=
"i"
>
{{id}}
</span>
</span>
</span>
</div>
<div
v-if=
"(item.contractNum.length==0&&item.confirmFileList.length==0)&&(qjGroupId==userInfo.RB_Group_id||F_ContractManagement)"
>
<div
v-if=
"(item.contractNum.length==0&&item.confirmFileList.length==0)&&(qjGroupId==userInfo.RB_Group_id||F_ContractManagement)"
>
<span
class=
"GO_Contract"
@
click=
"goContract(item,{})"
>
{{$t('salesModule.GetContract')}}
</span>
</div>
<div
v-else
>
<
template
v-if=
"item.contractNum&&item.contractNum.length>0"
>
<span
v-for=
"sItem in item.contractNum"
class=
"GO_Contract"
@
click=
"goContract(item,sItem)"
>
{{
sItem
.
client_Name
+
''
+
sItem
.
contractNum
}}
{{
sItem
.
client_Name
+
''
+
sItem
.
contractNum
}}
</span>
</
template
>
</div>
...
...
@@ -1909,9 +1924,9 @@
</td>
<td
colspan=
"4"
class=
"groupTourOrder_SpecialAPP"
stysle=
"height: 40px;"
>
<div>
特价申请函:
特价申请函:
<
template
v-if=
"item.orderspecialofferId === 0"
>
<span
class=
"font-color-blur"
>
未申请
</span>
<span
class=
"font-color-blur"
>
未申请
</span>
</
template
>
<
template
v-else
>
<span
class=
"font-color-red"
v-if=
"item.orderspecialofferState === -1"
>
拒绝
</span>
...
...
@@ -1937,7 +1952,8 @@
<span
v-else-if=
"item2.colorState===4"
class=
"groupTourOrder_tickets_black"
>
{{item2.frID}}
</span>
<!-- @click="goUrl('财务单据','FinancialDocumentsDetail',item2.frID,'')" -->
</span>
<span
v-if=
"item.financeList.length===0"
style=
"cursor: default;"
>
{{$t('system.content_noData')}}
</span>
<span
v-if=
"item.financeList.length===0"
style=
"cursor: default;"
>
{{$t('system.content_noData')}}
</span>
</div>
</div>
<div
@
click=
"goUrlSFD('SalesFinancialDetail', '销售财务单据', item)"
>
...
...
@@ -1949,7 +1965,8 @@
<span
v-else-if=
"item2.colorState===3"
class=
"groupTourOrder_tickets_red"
>
{{item2.frID}}
</span>
<span
v-else-if=
"item2.colorState===4"
class=
"groupTourOrder_tickets_black"
>
{{item2.frID}}
</span>
</span>
<span
v-if=
"item.refundFinanceList.length===0"
style=
"cursor: default;"
>
{{$t('system.content_noData')}}
</span>
<span
v-if=
"item.refundFinanceList.length===0"
style=
"cursor: default;"
>
{{$t('system.content_noData')}}
</span>
</div>
</div>
<div>
...
...
@@ -1966,7 +1983,8 @@
<span
v-else-if=
"item2.invoiceApplyState === 2"
class=
"groupTourOrder_tickets_black"
@
click=
"goIisDetail(item2.id)"
>
{{item2.id}}
</span>
</span>
<span
v-if=
"item.invoiceApplyList.length===0"
style=
"cursor: default;"
>
{{$t('system.content_noData')}}
</span>
<span
v-if=
"item.invoiceApplyList.length===0"
style=
"cursor: default;"
>
{{$t('system.content_noData')}}
</span>
</div>
</div>
</td>
...
...
@@ -1983,22 +2001,20 @@
<el-dialog
custom-class=
'w450'
title=
"特价申请函"
:visible
.
sync=
"SpecialAppShow"
center
>
<el-form
:model=
"SpecialAppMsg"
label-width=
"80px"
>
<el-form-item
label=
"审核人"
>
<el-select
filterable
v-model=
"SpecialAppMsg.UpdateBy"
:placeholder=
"$t('pub.pleaseSel')"
>
<el-option
v-for=
"item in employeeList"
:label=
"item.EmName"
:value=
"item.EmployeeId"
:key=
"item.EmployeeId"
>
</el-option>
</el-select>
<el-select
filterable
v-model=
"SpecialAppMsg.UpdateBy"
:placeholder=
"$t('pub.pleaseSel')"
>
<el-option
v-for=
"item in employeeList"
:label=
"item.EmName"
:value=
"item.EmployeeId"
:key=
"item.EmployeeId"
>
</el-option>
</el-select>
</el-form-item>
<el-form-item
label=
"申请说明"
>
<el-input
type=
"textarea"
v-model=
"SpecialAppMsg.ApplyReason"
></el-input>
</el-form-item>
</el-form>
<div
slot=
"footer"
class=
"dialog-footer"
>
<button
class=
"hollowFixedBtn"
@
click=
"SpecialAppShow=false,SpecialAppMsg.UpdateBy = '',SpecialAppMsg.ApplyReason = ''"
>
{{$t('pub.cancelBtn')}}
</button>
<button
class=
"normalBtn"
type=
"primary"
@
click=
"SpecialAppPost"
>
{{$t('pub.sureBtn')}}
</button>
<button
class=
"hollowFixedBtn"
@
click=
"SpecialAppShow=false,SpecialAppMsg.UpdateBy = '',SpecialAppMsg.ApplyReason = ''"
>
{{$t('pub.cancelBtn')}}
</button>
<button
class=
"normalBtn"
type=
"primary"
@
click=
"SpecialAppPost"
>
{{$t('pub.sureBtn')}}
</button>
</div>
</el-dialog>
<div
class=
"groupTourOrder_transfer"
v-show=
"transferData.show"
>
...
...
@@ -2043,15 +2059,17 @@
<label><input
type=
"checkbox"
v-model=
"SQcheckdAll"
>
{{$t('system.table_chekAll')}}
</label>
</div>
<div
class=
"SQguestList"
>
<label
v-for=
"item in SQguestList"
><input
type=
"checkbox"
v-model=
"item.check"
>
{{item.userName}}({{item.sexStr}})
</label>
<label
v-for=
"item in SQguestList"
><input
type=
"checkbox"
v-model=
"item.check"
>
{{item.userName}}({{item.sexStr}})
</label>
</div>
<div
class=
"needfenshu"
>
<label>
{{$t('salesModule.NeedFen')}}:
</label><el-input
type=
"number"
v-model=
"SQPhotoNum"
class=
"w200"
></el-input>
<label>
{{$t('salesModule.NeedFen')}}:
</label>
<el-input
type=
"number"
v-model=
"SQPhotoNum"
class=
"w200"
></el-input>
</div>
<p
style=
"color: red"
>
{{$t('salesModule.ZhuMeiren')}}
</p>
<div
slot=
"footer"
class=
"dialog-footer"
>
<button
class=
"hollowFixedBtn"
@
click=
"ShenQingPhotoShow=false"
>
{{$t('pub.cancelBtn')}}
</button>
<button
class=
"normalBtn"
type=
"primary"
@
click=
"SQPhoto"
>
{{$t('pub.sureBtn')}}
</button>
<button
class=
"hollowFixedBtn"
@
click=
"ShenQingPhotoShow=false"
>
{{$t('pub.cancelBtn')}}
</button>
<button
class=
"normalBtn"
type=
"primary"
@
click=
"SQPhoto"
>
{{$t('pub.sureBtn')}}
</button>
</div>
</el-dialog>
</div>
...
...
@@ -2075,9 +2093,9 @@
ID
:
0
,
},
//是否有修改业务员权限,1-有
isEditOrderCreate
:
0
,
happy
:
false
,
redBagList
:[],
isEditOrderCreate
:
0
,
happy
:
false
,
redBagList
:
[],
// 修改应收总额
Ysze
:
false
,
addMsg_form
:
{},
...
...
@@ -2185,7 +2203,7 @@
BackCityTime
:
''
,
CommissionSharePeople
:
'-1'
,
CommissionShareMoney
:
'0'
,
OneSex
:
0
OneSex
:
0
},
employeeMsg
:
{
BranchId
:
'-1'
,
...
...
@@ -2259,7 +2277,7 @@
ContactName
:
''
,
CustomerId
:
'-1'
,
GroupType
:
'-1'
,
GroupTypeArray
:[],
GroupTypeArray
:
[],
OrderSource
:
'-1'
,
CStartDate
:
''
,
CEndDate
:
''
,
...
...
@@ -2350,24 +2368,24 @@
OrderUnitPrice
:
0
},
SuperiorPeople
:
[],
TransferMission
:
''
,
//订单转团权限
Unit_Price
:
0
,
goLVurl
:{
//跳转到旅客页面的参数
orderId
:
''
,
tcid
:
''
,
tcnum
:
''
,
isOrder
:
''
,
TransferMission
:
''
,
//订单转团权限
Unit_Price
:
0
,
goLVurl
:
{
//跳转到旅客页面的参数
orderId
:
''
,
tcid
:
''
,
tcnum
:
''
,
isOrder
:
''
,
},
ShenQingPhotoShow
:
false
,
SQguestList
:
[],
SQcheckdAll
:
true
,
SQPhotoNum
:
''
,
SQOrderId
:
''
,
F_InvoiceManagement
:
false
,
//发票权限
qjGroupId
:
-
1
,
F_Finance_Create
:
false
,
//制单权限
F_ContractManagement
:
false
,
//合同权限
userInfo
:{},
F_InvoiceManagement
:
false
,
//发票权限
qjGroupId
:
-
1
,
F_Finance_Create
:
false
,
//制单权限
F_ContractManagement
:
false
,
//合同权限
userInfo
:
{},
}
},
components
:
{
...
...
@@ -2389,41 +2407,42 @@
}
return
x1
+
x2
}
},
watch
:{
},
watch
:
{
SQcheckdAll
(
val
)
{
this
.
checkdAll
(
val
)
}
},
methods
:
{
GetSupperOrderEditAuth
()
{
var
actionCode
=
this
.
$AuthCode
.
F_InvoiceManagement
;
var
actionCodeNew
=
this
.
$AuthCode
.
F_Finance_Create
;
var
actiionContract
=
this
.
$AuthCode
.
F_ContractManagement
;
// 发票
this
.
CheckUserAuth
(
actionCode
,
res
=>
{
if
(
res
.
data
.
resultCode
==
1
&&
res
.
data
.
data
==
1
)
{
this
.
F_InvoiceManagement
=
true
;
}
});
// 制单权限
this
.
CheckUserAuth
(
actionCodeNew
,
res
=>
{
if
(
res
.
data
.
resultCode
==
1
&&
res
.
data
.
data
==
1
)
{
this
.
F_Finance_Create
=
true
;
}
});
// 合同
this
.
CheckUserAuth
(
actiionContract
,
res
=>
{
if
(
res
.
data
.
resultCode
==
1
&&
res
.
data
.
data
==
1
)
{
this
.
F_ContractManagement
=
true
;
}
});
var
actionCode
=
this
.
$AuthCode
.
F_InvoiceManagement
;
var
actionCodeNew
=
this
.
$AuthCode
.
F_Finance_Create
;
var
actiionContract
=
this
.
$AuthCode
.
F_ContractManagement
;
// 发票
this
.
CheckUserAuth
(
actionCode
,
res
=>
{
if
(
res
.
data
.
resultCode
==
1
&&
res
.
data
.
data
==
1
)
{
this
.
F_InvoiceManagement
=
true
;
}
});
// 制单权限
this
.
CheckUserAuth
(
actionCodeNew
,
res
=>
{
if
(
res
.
data
.
resultCode
==
1
&&
res
.
data
.
data
==
1
)
{
this
.
F_Finance_Create
=
true
;
}
});
// 合同
this
.
CheckUserAuth
(
actiionContract
,
res
=>
{
if
(
res
.
data
.
resultCode
==
1
&&
res
.
data
.
data
==
1
)
{
this
.
F_ContractManagement
=
true
;
}
});
},
SpecialAppPost
(){
},
SpecialAppPost
()
{
if
(
this
.
SpecialAppMsg
.
ApplyReason
===
''
)
{
return
this
.
$message
.
error
(
'请填写申请说明'
)
}
if
(
this
.
SpecialAppMsg
.
UpdateBy
===
''
){
if
(
this
.
SpecialAppMsg
.
UpdateBy
===
''
)
{
return
this
.
$message
.
error
(
'请选择审核人'
)
}
this
.
apipost
(
'sellorder_get_AddOrderSpecialOffer'
,
this
.
SpecialAppMsg
,
res
=>
{
...
...
@@ -2432,25 +2451,25 @@
this
.
getList
()
this
.
SpecialAppShow
=
false
}
},
null
)
},
null
)
},
SpecialAPP
(
tcid
,
orderId
,
ID
){
SpecialAPP
(
tcid
,
orderId
,
ID
)
{
this
.
SpecialAppMsg
.
OrderId
=
orderId
this
.
SpecialAppShow
=
true
this
.
SpecialAppMsg
.
ID
=
ID
},
SQPhoto
(){
SQPhoto
()
{
let
checkID
=
[]
this
.
SQguestList
.
map
(
x
=>
{
this
.
SQguestList
.
map
(
x
=>
{
if
(
x
.
check
)
{
checkID
.
push
(
x
.
guestId
)
}
})
if
(
checkID
.
length
<
1
)
{
if
(
checkID
.
length
<
1
)
{
this
.
$message
.
error
(
'请选择旅客!'
)
return
}
if
(
!
this
.
SQPhotoNum
)
{
if
(
!
this
.
SQPhotoNum
)
{
this
.
$message
.
error
(
'请输入份数!'
)
return
}
...
...
@@ -2459,46 +2478,46 @@
PhotoNum
:
this
.
SQPhotoNum
,
OrderId
:
this
.
SQOrderId
,
}
this
.
apipost
(
'sellorder_get_SetOrderGuestPhoto'
,
msg
,
res
=>
{
this
.
apipost
(
'sellorder_get_SetOrderGuestPhoto'
,
msg
,
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
getList
()
this
.
ShenQingPhotoShow
=
false
}
},
null
)
},
null
)
},
checkdAll
(
val
){
checkdAll
(
val
)
{
if
(
val
)
{
this
.
SQguestList
.
map
(
x
=>
{
this
.
SQguestList
.
map
(
x
=>
{
x
.
check
=
true
})
}
else
{
this
.
SQguestList
.
map
(
x
=>
{
this
.
SQguestList
.
map
(
x
=>
{
x
.
check
=
false
})
}
this
.
SQguestList
=
this
.
SQguestList
this
.
$forceUpdate
()
},
ShenQingPhoto
(
item
){
ShenQingPhoto
(
item
)
{
if
(
item
.
guestList
.
length
<
1
)
{
this
.
$message
.
error
(
'暂无旅客,请添加旅客后再尝试申请!'
)
return
}
item
.
guestList
.
map
(
x
=>
{
x
.
check
=
true
item
.
guestList
.
map
(
x
=>
{
x
.
check
=
true
})
this
.
SQguestList
=
item
.
guestList
this
.
SQOrderId
=
item
.
orderId
this
.
ShenQingPhotoShow
=
true
},
closeChangeMachie
(
done
)
{
// 弹=窗口关闭
closeChangeMachie
(
done
)
{
// 弹=窗口关闭
done
();
},
setDanren
(
e
){
setDanren
(
e
)
{
e
===
this
.
addMsg
.
OneSex
?
this
.
addMsg
.
OneSex
=
0
:
this
.
addMsg
.
OneSex
=
e
},
gourlTip
(
path
,
id
)
{
gourlTip
(
path
,
id
)
{
this
.
$router
.
push
({
name
:
path
,
query
:
{
...
...
@@ -2508,20 +2527,20 @@
});
},
//跳转至领取合同
goContract
(
item
,
sItem
)
{
goContract
(
item
,
sItem
)
{
let
routeData
=
this
.
$router
.
resolve
({
name
:
'TravelContractNew'
,
query
:
{
TCID
:
item
.
tcid
,
guestId
:
sItem
.
guestId
,
orderID
:
item
.
orderId
,
guestId
:
sItem
.
guestId
,
orderID
:
item
.
orderId
,
blank
:
'y'
}
})
window
.
open
(
routeData
.
href
,
'_blank'
)
},
goUrlHappy
(
item
){
this
.
happy
=
false
;
goUrlHappy
(
item
)
{
this
.
happy
=
false
;
this
.
$router
.
push
({
name
:
"HappyPassbook"
,
query
:
{
...
...
@@ -2530,25 +2549,23 @@
}
});
},
getRedBag
(
item
){
let
msg
=
{
CustomerId
:
item
.
customerId
,
getRedBag
(
item
)
{
let
msg
=
{
CustomerId
:
item
.
customerId
,
pageIndex
:
1
,
pageSize
:
4
,
};
if
(
item
.
customerId
){
this
.
apipost
(
'customer_post_GetC_BigRedEnvelopeInfoList'
,
msg
,
res
=>
{
this
.
happy
=
true
;
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
redBagList
=
res
.
data
.
data
.
pageData
;
}
else
{
}
},
err
=>
{
})
}
else
{
this
.
redBagList
=
[];
if
(
item
.
customerId
)
{
this
.
apipost
(
'customer_post_GetC_BigRedEnvelopeInfoList'
,
msg
,
res
=>
{
this
.
happy
=
true
;
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
redBagList
=
res
.
data
.
data
.
pageData
;
}
else
{}
},
err
=>
{})
}
else
{
this
.
redBagList
=
[];
}
},
goIisDetail
:
function
(
id
)
{
// 跳转发票详情页面
this
.
$router
.
push
({
...
...
@@ -2703,7 +2720,7 @@
if
(
this
.
addMsg
.
GroupType
==
4
)
{
ChirdNum
=
0
}
let
count
=
(
Number
(
this
.
addMsg
.
AirticketNum
)
+
Number
(
this
.
addMsg
.
ManNum
)
+
ChirdNum
+
let
count
=
(
Number
(
this
.
addMsg
.
AirticketNum
)
+
Number
(
this
.
addMsg
.
ManNum
)
+
ChirdNum
+
Number
(
this
.
addMsg
.
BabyNum
)
+
Number
(
this
.
addMsg
.
OldPeopleNum
))
if
(
count
<
this
.
addMsg
.
VisaNum
)
{
this
.
addMsg
.
VisaNum
=
count
...
...
@@ -2747,7 +2764,7 @@
},
err
=>
{})
},
deleteItem
(
obj
)
{
if
(
obj
.
isCanClear
==
1
)
{
if
(
obj
.
isCanClear
==
1
)
{
this
.
Error
(
'OP已确认订单,如需取消请联系当团OP!'
);
return
;
}
...
...
@@ -2904,34 +2921,6 @@
})
window
.
open
(
routeData
.
href
,
'_blank'
)
},
goUrlR
()
{
let
obj
=
this
.
tripObj
let
routeData
=
this
.
$router
.
resolve
({
name
:
obj
.
path
,
query
:
{
id
:
obj
.
configId
,
orderId
:
obj
.
orderId
,
cityId
:
obj
.
startCityId
,
tcid
:
obj
.
tcid
,
vshowA
:
this
.
travelControlTripLayer
.
vshowA
,
vshowB
:
this
.
travelControlTripLayer
.
vshowB
,
vshowC
:
this
.
travelControlTripLayer
.
vshowC
,
vshowD
:
this
.
travelControlTripLayer
.
vshowD
,
vshowE
:
this
.
travelControlTripLayer
.
vshowE
,
vshowF
:
this
.
travelControlTripLayer
.
vshowF
,
vshowG
:
this
.
travelControlTripLayer
.
vshowG
,
vshowH
:
this
.
travelControlTripLayer
.
vshowH
,
vshowI
:
this
.
travelControlTripLayer
.
vshowI
,
vshowJ
:
this
.
travelControlTripLayer
.
vshowJ
,
vshowK
:
this
.
travelControlTripLayer
.
vshowK
,
vshowL
:
this
.
travelControlTripLayer
.
vshowL
,
vshowM
:
this
.
travelControlTripLayer
.
vshowM
,
vshowN
:
this
.
travelControlTripLayer
.
vshowN
,
vshowLLR
:
this
.
travelControlTripLayer
.
vshowLLR
,
}
})
window
.
open
(
routeData
.
href
,
'_blank'
)
},
goUrlP
(
name
,
path
,
item
)
{
this
.
$router
.
push
({
name
:
path
,
...
...
@@ -3074,7 +3063,7 @@
this
.
goLVurl
.
orderId
=
obj
.
orderId
;
this
.
goLVurl
.
tcid
=
obj
.
tcid
;
this
.
goLVurl
.
tcnum
=
obj
.
tcnum
;
this
.
goLVurl
.
isOrder
=
obj
.
isOrder
;
this
.
goLVurl
.
isOrder
=
obj
.
isOrder
;
this
.
Ysze
=
false
;
this
.
starTime
=
obj
.
startDate
this
.
endTime
=
obj
.
backDate
...
...
@@ -3126,11 +3115,11 @@
this
.
addMsg
.
Unit_Price
=
x
.
Unit_Price
this
.
addMsg
.
GroupTypeNeedHouse
=
String
(
x
.
GroupTypeNeedHouse
)
this
.
stratPrice
=
res
.
data
.
data
.
modelPrice
.
GoAddPrice
if
(
this
.
addMsg
.
GroupType
==
4
)
{
if
(
this
.
addMsg
.
GroupType
==
4
)
{
this
.
HightUnitPrice
=
'1'
this
.
Unit_Price
=
x
.
Unit_Price
}
else
{
}
else
{
this
.
HightUnitPrice
=
'2'
this
.
Unit_Price
=
this
.
addObj
.
SingleDMCPrice
}
...
...
@@ -3167,7 +3156,8 @@
},
err
=>
{}
)
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
.
ChirdNeedBedNum
)
+
Number
(
this
.
addMsg
.
OldPeopleNum
)
+
Number
(
this
.
addMsg
.
AirticketNum
))
this
.
Unit_PriceList
=
[];
this
.
apipost
(
'sellorder_post_GetLessPrice'
,
{
"TCID"
:
obj
.
tcid
,
...
...
@@ -3308,7 +3298,8 @@
},
getTypePrice2
()
{
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
.
ChirdNeedBedNum
)
+
Number
(
this
.
addMsg
.
OldPeopleNum
)
+
Number
(
this
.
addMsg
.
AirticketNum
))
this
.
Unit_PriceList
=
[];
this
.
apipost
(
'sellorder_post_GetLessPrice'
,
{
...
...
@@ -3502,12 +3493,13 @@
(
Number
(
this
.
stratPrice
)
+
Number
(
this
.
returnPrice
))
let
dandijie
if
(
this
.
addMsg
.
GroupType
==
4
){
dandijie
=
this
.
addObj
.
SingleDMCPrice
*
Number
(
this
.
addMsg
.
AirticketNum
)
-
this
.
addObj
.
ChildNoNeedPrice
*
(
Number
(
this
.
addMsg
.
ChirdNoNeedBedNum
))
if
(
this
.
addMsg
.
GroupType
==
4
)
{
dandijie
=
this
.
addObj
.
SingleDMCPrice
*
Number
(
this
.
addMsg
.
AirticketNum
)
-
this
.
addObj
.
ChildNoNeedPrice
*
(
Number
(
this
.
addMsg
.
ChirdNoNeedBedNum
))
ertong
=
0
ertongbed
=
0
zafeiqianzhen
=
0
}
else
{
}
else
{
dandijie
=
this
.
addObj
.
SingleDMCPrice
*
Number
(
this
.
addMsg
.
AirticketNum
)
}
...
...
@@ -3565,12 +3557,13 @@
Number
(
this
.
addMsg
.
OldPeopleNum
))
*
(
Number
(
this
.
stratPrice
)
+
Number
(
this
.
returnPrice
))
let
dandijie
if
(
this
.
addMsg
.
GroupType
==
4
){
dandijie
=
this
.
addObj
.
SingleDMCPrice
*
Number
(
this
.
addMsg
.
AirticketNum
)
-
this
.
addObj
.
ChildNoNeedPrice
*
(
Number
(
this
.
addMsg
.
ChirdNoNeedBedNum
))
if
(
this
.
addMsg
.
GroupType
==
4
)
{
dandijie
=
this
.
addObj
.
SingleDMCPrice
*
Number
(
this
.
addMsg
.
AirticketNum
)
-
this
.
addObj
.
ChildNoNeedPrice
*
(
Number
(
this
.
addMsg
.
ChirdNoNeedBedNum
))
ertong
=
0
ertongbed
=
0
zafeiqianzhen
=
0
}
else
{
}
else
{
dandijie
=
this
.
addObj
.
SingleDMCPrice
*
Number
(
this
.
addMsg
.
AirticketNum
)
}
this
.
addMsg
.
PreferPrice
=
...
...
@@ -3810,7 +3803,7 @@
this
.
$message
.
warning
(
'保险数量不能大于人数总和!'
)
return
}
if
(
if
(
Number
(
this
.
addMsg
.
ChirdNum
)
-
Number
(
this
.
addMsg
.
ChirdNeedBedNum
)
+
Number
(
this
.
addMsg
.
BabyNum
)
>
...
...
@@ -3826,9 +3819,9 @@
return
}
}
if
(
this
.
userId
==
this
.
createByInfo
)
{
if
(
this
.
addMsg
.
CommissionSharePeople
==
'-1'
)
{
this
.
addMsg
.
CommissionShareMoney
=
'0'
...
...
@@ -3857,8 +3850,18 @@
this
.
clearMsg
()
this
.
getList
()
this
.
isShowLayer
=
false
if
(
res
.
data
.
data
==
1
){
this
.
$router
.
push
({
name
:
'passengerSaleList'
,
query
:
{
id
:
this
.
goLVurl
.
orderId
,
tcid
:
this
.
goLVurl
.
tcid
,
tcnum
:
this
.
goLVurl
.
tcnum
,
isOrder
:
this
.
goLVurl
.
isOrder
,
blank
:
'y'
,
tab
:
'旅客名单'
}
});
if
(
res
.
data
.
data
==
1
)
{
this
.
$router
.
push
({
name
:
'passengerSaleList'
,
query
:
{
id
:
this
.
goLVurl
.
orderId
,
tcid
:
this
.
goLVurl
.
tcid
,
tcnum
:
this
.
goLVurl
.
tcnum
,
isOrder
:
this
.
goLVurl
.
isOrder
,
blank
:
'y'
,
tab
:
'旅客名单'
}
});
}
}
else
{
...
...
@@ -4061,7 +4064,9 @@
this
.
getCount
()
},
getLineList
()
{
this
.
apipost
(
'line_post_GetAllList_V2'
,
{
LineDirection
:
0
},
res
=>
{
this
.
apipost
(
'line_post_GetAllList_V2'
,
{
LineDirection
:
0
},
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
LineList
=
res
.
data
.
data
}
else
{
...
...
@@ -4197,10 +4202,10 @@
)
},
gettypechange
(
type
){
gettypechange
(
type
)
{
//切换参团类型时 把值初始化
if
(
type
==
4
)
{
this
.
addMsg
.
Unit_Price
=
this
.
Unit_Price
;
if
(
type
==
4
)
{
this
.
addMsg
.
Unit_Price
=
this
.
Unit_Price
;
// this.addMsg.Unit_Price = this.addObj.SingleDMCPrice;
this
.
HightUnitPrice
=
'1'
;
this
.
addMsg
.
AirticketNum
=
0
;
...
...
@@ -4216,7 +4221,7 @@
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
;
...
...
@@ -4232,28 +4237,27 @@
this
.
addMsg
.
PredictRoomNum
=
0
;
this
.
addMsg
.
YSeatNum
=
0
;
};
if
(
this
.
addMsg
.
CustomerType
==
1
)
{
if
(
this
.
addMsg
.
GroupType
==
4
)
{
if
(
this
.
addMsg
.
GroupType
==
4
)
{
this
.
addMsg
.
TC_Price
=
this
.
addObj
.
SingleDMCPrice
;
}
else
{
}
else
{
this
.
addMsg
.
TC_Price
=
this
.
addObj
.
B2BMemberPrice
;
this
.
addMsg
.
Unit_Price
=
this
.
addObj
.
B2BMemberPrice
;
}
}
if
(
this
.
addMsg
.
CustomerType
==
2
)
{
if
(
this
.
addMsg
.
GroupType
==
4
)
{
if
(
this
.
addMsg
.
GroupType
==
4
)
{
this
.
addMsg
.
TC_Price
=
this
.
addObj
.
SingleDMCPrice
;
}
else
{
}
else
{
this
.
addMsg
.
TC_Price
=
this
.
addObj
.
B2BPrice
this
.
addMsg
.
Unit_Price
=
this
.
addObj
.
B2BPrice
;
}
}
if
(
this
.
addMsg
.
CustomerType
==
3
)
{
if
(
this
.
addMsg
.
GroupType
==
4
)
{
if
(
this
.
addMsg
.
GroupType
==
4
)
{
this
.
addMsg
.
TC_Price
=
this
.
addObj
.
SingleDMCPrice
;
}
else
{
}
else
{
this
.
addMsg
.
TC_Price
=
this
.
addObj
.
B2CMemberPrice
this
.
addMsg
.
Unit_Price
=
this
.
addObj
.
B2CMemberPrice
;
}
...
...
@@ -4262,44 +4266,41 @@
}
if
(
this
.
addMsg
.
CustomerType
==
4
)
{
if
(
this
.
addMsg
.
GroupType
==
4
)
{
if
(
this
.
addMsg
.
GroupType
==
4
)
{
this
.
addMsg
.
TC_Price
=
this
.
addObj
.
SingleDMCPrice
;
}
else
{
}
else
{
this
.
addMsg
.
TC_Price
=
this
.
addObj
.
B2CPrice
this
.
addMsg
.
Unit_Price
=
this
.
addObj
.
B2CPrice
;
}
this
.
addMsg
.
CommissionShareMoney
=
'0'
}
this
.
addMsg
.
GroupTypeNeedHouse
=
'0'
this
.
addMsg
.
CustomerId
=
'0'
this
.
Unit_PriceList
=
[];
this
.
Unit_PriceList
=
[];
},
// 获取修改业务员权限
GetEditOrderCreateByAuth
()
{
var
actionCode
=
this
.
$AuthCode
.
EditOrderCreateBy
;
this
.
CheckUserAuth
(
actionCode
,
res
=>
{
if
(
res
.
data
.
resultCode
==
1
&&
res
.
data
.
data
==
1
)
{
this
.
isEditOrderCreate
=
1
;
this
.
isEditOrderCreate
=
1
;
}
});
},
},
mounted
()
{
this
.
qjGroupId
=
this
.
QjGroupId
();
this
.
qjGroupId
=
this
.
QjGroupId
();
this
.
GetEditOrderCreateByAuth
();
let
userInfo
=
this
.
getLocalStorage
();
this
.
userInfo
=
this
.
getLocalStorage
();
let
userInfo
=
this
.
getLocalStorage
();
this
.
userInfo
=
this
.
getLocalStorage
();
let
userMenuCode
=
','
+
userInfo
.
ActionMenuCode
+
','
;
this
.
TransferMission
=
userMenuCode
.
indexOf
(
',Sale_TurnGroup,'
)
!=
-
1
?
true
:
false
;
this
.
userId
=
this
.
getLocalStorage
().
EmployeeId
if
(
this
.
$route
.
query
.
id
)
{
this
.
msg
.
tempOrderId
=
this
.
$route
.
query
.
id
}
else
{
}
else
{
this
.
msg
.
QStartDate
=
new
Date
().
Format
(
'yyyy-MM-dd'
)
}
this
.
getEmployee
()
this
.
getList
()
this
.
getLineList
()
...
...
@@ -4312,8 +4313,6 @@
this
.
getFylx
()
this
.
GetSupperOrderEditAuth
();
},
}
</
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