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
099d032e
Commit
099d032e
authored
Jul 05, 2023
by
youjie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
签证订单完结功能
parent
c1e550fe
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
959 additions
and
736 deletions
+959
-736
VisaProduct.vue
src/components/SalesVisa/VisaProduct.vue
+227
-219
VisaProductOrder.vue
src/components/SalesVisa/VisaProductOrder.vue
+328
-220
VisaProductOrder.vue
src/components/SalesVisa/components/VisaProductOrder.vue
+75
-59
visaOrderList.vue
src/components/SalesVisa/components/visaOrderList.vue
+329
-238
No files found.
src/components/SalesVisa/VisaProduct.vue
View file @
099d032e
...
...
@@ -293,228 +293,235 @@
<button
class=
"hollowFixedBtn"
@
click=
"getList()"
>
查询
</button>
<!--
<button
class=
"normalBtn"
v-show=
"!buttonshow"
@
click=
"cancelEdit(),addShow=true"
v-if=
"msg.isFinacial==1"
>
添加
</button>
-->
<button
class=
"normalBtn"
@
click=
"AddVisaProduct"
v-if=
"msg.isFinacial==1"
>
添加
</button>
</li>
</ul>
</div>
<el-table
ref=
"multipleTable"
:data=
"dataList"
tooltip-effect=
"dark"
style=
"width: 100%"
>
<el-table-column
label=
"公司"
prop=
"BranchName"
></el-table-column>
<el-table-column
label=
"产品名称"
prop=
"Name"
></el-table-column>
<el-table-column
label=
"签证类型"
prop=
""
>
<template
slot-scope=
"scope"
>
<span
v-if=
"scope.row.VisaType==1"
class=
"geqian"
>
个签
</span>
<span
v-else
class=
"tuanqian"
>
团签
</span>
</
template
>
</el-table-column>
<el-table-column
label=
"价格有效日期"
prop=
""
width=
"200"
>
<
template
slot-scope=
"scope"
>
<p>
结束日期:
<span
class=
"fbold"
>
{{
scope
.
row
.
SendVisaDate
}}
</span>
</p>
<p>
开始日期:
<span
class=
"fbold"
>
{{
scope
.
row
.
EffectiveStartDate
}}
</span>
</p>
</
template
>
</el-table-column>
<el-table-column
label=
"成本价"
prop=
""
>
<
template
slot-scope=
"scope"
>
<span
class=
"totalPrice fbold"
style=
"color: #47BF8C;"
>
¥
{{
moneyFormat
(
scope
.
row
.
CostPrice
)
}}
</span>
</
template
>
</el-table-column>
<el-table-column
label=
"同业价"
prop=
""
>
<
template
slot-scope=
"scope"
>
<span
class=
"totalPrice fbold"
style=
"color: #f90;"
>
¥
{{
moneyFormat
(
scope
.
row
.
VisaPrice
)
}}
</span>
</
template
>
</el-table-column>
<el-table-column
label=
"直客价"
prop=
""
>
<
template
slot-scope=
"scope"
>
<span
class=
"totalPrice fbold"
style=
"color: #f90;"
>
¥
{{
moneyFormat
(
scope
.
row
.
VisaB2CPrice
)
}}
</span>
</
template
>
</el-table-column>
<el-table-column
label=
"状态"
prop=
""
>
<
template
slot-scope=
"scope"
>
<i
v-if=
"scope.row.VisaStatus==1"
class=
"iconfont icon-shangjia"
style=
"color:#4BCA81;"
></i>
<i
v-else
class=
"iconfont icon-xiajia"
style=
"color:#4BCA81;"
></i>
{{
scope
.
row
.
VisaStatus
==
1
?
"上架"
:
"下架"
}}
</
template
>
</el-table-column>
<el-table-column
label=
"订单数"
prop=
""
>
<
template
slot-scope=
"scope"
>
<span
class=
"orderNum"
@
click=
"goUrl(scope.row)"
>
{{
scope
.
row
.
OrderNum
}}
</span>
</
template
>
</el-table-column>
<!-- <el-table-column label="总人数(剩余人数)" prop="">
<template slot-scope="scope">
<span class="peopleNum">{{scope.row.PeopleNum}}(<span class="surplusNum">{{scope.row.SurplusNum}}</span>)</span>
</template>
</el-table-column> -->
<el-table-column
label=
"创建者"
prop=
""
>
<
template
slot-scope=
"scope"
>
<!--
<img
v-if=
"!scope.row.CreatePhoto"
src=
"../../assets/img/litheader.png"
>
<img
v-if=
"scope.row.CreatePhoto"
:onerror=
"defaultImg"
:src=
"scope.row.CreatePhoto"
>
-->
<span
class=
"createName"
>
{{
scope
.
row
.
CreateName
}}
</span>
</
template
>
</el-table-column>
<el-table-column
label=
"广告图"
prop=
""
>
<
template
slot-scope=
"scope"
>
<p
v-for=
"(item2, index2) in scope.row.AdvertisingFileList"
:key=
"index2"
>
<span
style=
"cursor:pointer;text-decoration: underline;"
@
click=
"downloadFile(item2)"
>
{{
item2
.
Name
}}
</span>
<i
class=
"iconfont icon-Close"
style=
"font-size:12px;cursor:pointer;"
@
click=
"delUnpload(scope.row.Id,item2,'广告图',1)"
></i>
</p>
<el-upload
:http-request=
"uploadImg"
:data=
"scope.row"
ref=
"upload"
:multiple=
"false"
:show-file-list=
"false"
action
>
<span
style=
"color:#00C6FF;cursor:pointer;"
@
click=
"saveitem(scope.row.Id,1)"
>
上传广告图
</span>
</el-upload>
</
template
>
</el-table-column>
<el-table-column
label=
"申请表"
prop=
""
>
<
template
slot-scope=
"scope"
>
<p
v-for=
"(item2, index2) in scope.row.ApplyForCounterfoilList"
:key=
"index2+100"
>
<span
style=
"cursor:pointer;text-decoration: underline;"
@
click=
"downloadFile(item2)"
>
{{
item2
.
Name
}}
</span>
<i
class=
"iconfont icon-Close"
style=
"font-size:12px;cursor:pointer;"
@
click=
"delUnpload(scope.row.Id,item2,'申请表',2)"
></i>
</p>
<el-upload
:http-request=
"uploadImg"
:data=
"scope.row"
ref=
"upload"
:multiple=
"false"
:show-file-list=
"false"
action
>
<span
style=
"color:#00C6FF;cursor:pointer;"
@
click=
"saveitem(scope.row.Id,2)"
>
上传申请表
</span>
</el-upload>
</
template
>
</el-table-column>
<el-table-column
label=
"操作"
>
<
template
slot-scope=
"scope"
>
<el-button-group>
<!--
<el-tooltip
class=
"item"
effect=
"dark"
content=
"修改"
placement=
"top-start"
v-if=
"scope.row.SendVisaStatus==1&&msg.isFinacial==1"
>
<el-button
v-show=
"!buttonshow"
type=
"primary"
style=
"background:#409EFF; border-color:#409EFF"
icon=
"iconfont icon-img_bianji_small"
@
click=
"getDetail(scope.row)"
></el-button>
</el-tooltip>
-->
<div
style=
"display:inline-block"
>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"修改"
placement=
"top-start"
v-if=
"scope.row.SendVisaStatus==1&&msg.isFinacial==1"
>
<el-button
type=
"primary"
style=
"background:#409EFF; border-color:#409EFF"
icon=
"iconfont icon-img_bianji_small"
@
click=
"EditVisaProduct(scope.row)"
></el-button>
</el-tooltip>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"查看详情"
placement=
"top-start"
v-else
>
<el-button
style=
"background:#E95252; border-color:#E95252;color:#fff"
icon=
"iconfont icon-chakan"
@
click=
"ChaKan(scope.row)"
></el-button>
</el-tooltip>
</div>
<table
class=
"VisaProductTable"
border=
"0"
cellspacing=
"0"
cellpadding=
"0"
v-loading=
"loading"
>
<tr>
<th
width=
"5%"
>
公司
</th>
<th
width=
"10%"
>
产品名称
</th>
<th
width=
"5%"
>
签证类型
</th>
<th
width=
"12%"
>
价格有效日期
</th>
<th
width=
"8%"
>
成本价
</th>
<th
width=
"7%"
>
同业价
</th>
<th
width=
"8%"
>
直客价
</th>
<th
width=
"6%"
>
状态
</th>
<th
width=
"6%"
>
订单数
</th>
<!--
<th
width=
"12%"
>
总人数(剩余人数)
</th>
-->
<th
width=
"8%"
>
创建者
</th>
<th
width=
"8%"
>
广告图
</th>
<th
width=
"7%"
>
申请表
</th>
<th
width=
"14%"
>
操作
</th>
</tr>
<tr
v-for=
"item in dataList"
>
<td>
{{
item
.
BranchName
}}
</td>
<td>
{{
item
.
Name
}}
</td>
<td>
<span
v-if=
"item.VisaType==1"
class=
"geqian"
>
个签
</span>
<span
v-else
class=
"tuanqian"
>
团签
</span>
</td>
<td>
<p>
结束日期:
<span
class=
"fbold"
>
{{
item
.
SendVisaDate
}}
</span>
</p>
<p>
开始日期:
<span
class=
"fbold"
>
{{
item
.
EffectiveStartDate
}}
</span>
</p>
</td>
<td>
<span
class=
"totalPrice fbold"
style=
"color: #47BF8C;"
>
¥
{{
moneyFormat
(
item
.
CostPrice
)
}}
</span>
</td>
<td>
<span
class=
"totalPrice fbold"
style=
"color: #f90;"
>
¥
{{
moneyFormat
(
item
.
VisaPrice
)
}}
</span>
</td>
<td>
<span
class=
"totalPrice fbold"
style=
"color: #f90;"
>
¥
{{
moneyFormat
(
item
.
VisaB2CPrice
)
}}
</span>
</td>
<td>
<i
v-if=
"item.VisaStatus==1"
class=
"iconfont icon-shangjia"
style=
"color:#4BCA81;"
></i>
<i
v-else
class=
"iconfont icon-xiajia"
style=
"color:#4BCA81;"
></i>
{{
item
.
VisaStatus
==
1
?
"上架"
:
"下架"
}}
</td>
<td>
<span
class=
"orderNum"
@
click=
"goUrl(item)"
>
{{
item
.
OrderNum
}}
</span>
</td>
<!--
<td>
<span
class=
"peopleNum"
>
{{
item
.
PeopleNum
}}
(
<span
class=
"surplusNum"
>
{{
item
.
SurplusNum
}}
</span>
)
</span>
</td>
-->
<td>
<img
v-if=
"!item.CreatePhoto"
src=
"../../assets/img/litheader.png"
>
<img
v-if=
"item.CreatePhoto"
:onerror=
"defaultImg"
:src=
"item.CreatePhoto"
>
<span
class=
"createName"
>
{{
item
.
CreateName
}}
</span>
</td>
<td>
<p
v-for=
"(item2, index2) in item.AdvertisingFileList"
:key=
"index2"
>
<span
style=
"cursor:pointer;text-decoration: underline;"
@
click=
"downloadFile(item2)"
>
{{
item2
.
Name
}}
</span>
<i
class=
"iconfont icon-Close"
style=
"font-size:12px;cursor:pointer;"
@
click=
"delUnpload(item.Id,item2,'广告图',1)"
></i>
</p>
<el-upload
:http-request=
"uploadImg"
:data=
"item"
ref=
"upload"
:multiple=
"false"
:show-file-list=
"false"
action
>
<span
style=
"color:#00C6FF;cursor:pointer;"
@
click=
"saveitem(item.Id,1)"
>
上传广告图
</span>
</el-upload>
</td>
<td>
<p
v-for=
"(item2, index2) in item.ApplyForCounterfoilList"
:key=
"index2+100"
>
<span
style=
"cursor:pointer;text-decoration: underline;"
@
click=
"downloadFile(item2)"
>
{{
item2
.
Name
}}
</span>
<i
class=
"iconfont icon-Close"
style=
"font-size:12px;cursor:pointer;"
@
click=
"delUnpload(item.Id,item2,'申请表',2)"
></i>
</p>
<el-upload
:http-request=
"uploadImg"
:data=
"item"
ref=
"upload"
:multiple=
"false"
:show-file-list=
"false"
action
>
<span
style=
"color:#00C6FF;cursor:pointer;"
@
click=
"saveitem(item.Id,2)"
>
上传申请表
</span>
</el-upload>
</td>
<td
class=
"groupTourOrderIcon"
>
<el-button-group>
<!--
<el-tooltip
class=
"item"
effect=
"dark"
content=
"修改"
placement=
"top-start"
v-if=
"item.SendVisaStatus==1&&msg.isFinacial==1"
>
<el-button
v-show=
"!buttonshow"
type=
"primary"
style=
"background:#409EFF; border-color:#409EFF"
icon=
"iconfont icon-img_bianji_small"
@
click=
"getDetail(item)"
></el-button>
</el-tooltip>
-->
<div
style=
"display:inline-block"
>
<el-tooltip
effect=
"dark"
content=
"查看报名单"
placement=
"top-start"
v-if=
"msg.isFinacial==1"
>
<el-button
type=
"primary"
style=
"background:#25C1C3; border-color:#25C1C3"
@
click=
"goUrl(scope.row)"
icon=
"iconfont icon-img_cz"
></el-button>
</el-tooltip>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"修改"
placement=
"top-start"
v-if=
"item.SendVisaStatus==1&&msg.isFinacial==1"
>
<el-button
type=
"primary"
style=
"background:#409EFF; border-color:#409EFF"
icon=
"iconfont icon-img_bianji_small"
@
click=
"EditVisaProduct(item)"
></el-button>
</el-tooltip>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"查看详情"
placement=
"top-start"
v-else
>
<el-button
style=
"background:#E95252; border-color:#E95252;color:#fff"
icon=
"iconfont icon-chakan"
@
click=
"ChaKan(item)"
></el-button>
</el-tooltip>
</div>
<el-tooltip
effect=
"dark"
content=
"查看报名单"
placement=
"top-start"
v-if=
"msg.isFinacial==1"
>
<el-button
type=
"primary"
style=
"background:#25C1C3; border-color:#25C1C3"
@
click=
"goUrl(item)"
icon=
"iconfont icon-img_cz"
></el-button>
</el-tooltip>
<el-tooltip
effect=
"dark"
content=
"签证列表"
placement=
"top-start"
v-if=
"item.VisaManagementId>0"
>
<el-button
type=
"primary"
@
click=
"goUrlVisaList(item)"
style=
"background:#47BF8C; border-color:#47BF8C"
icon=
"iconfont icon-biaoge"
></el-button>
</el-tooltip>
<el-tooltip
v-if=
"item.OrderNum>0&&msg.isFinacial==1"
effect=
"dark"
content=
"结算"
placement=
"top-start"
>
<el-button
type=
"primary"
@
click=
"goUrlJS(item)"
style=
"background:#5EBB64; border-color:#5EBB64"
icon=
"iconfont icon-qian"
></el-button>
</el-tooltip>
<el-tooltip
v-if=
"item.VisaStatus==1&&msg.isFinacial==1"
effect=
"dark"
content=
"下架"
placement=
"top-start"
>
<el-button
type=
"primary"
style=
"background:#F0A748; border-color:#F0A748"
icon=
"iconfont icon-xiajia1"
@
click=
"updateVisaStatus(item)"
></el-button>
</el-tooltip>
<el-tooltip
v-if=
"item.VisaStatus==2&&item.SendVisaStatus==1&&msg.isFinacial==1"
effect=
"dark"
content=
"上架"
placement=
"top-start"
>
<el-button
type=
"primary"
style=
"background:#F0A748; border-color:#F0A748"
icon=
"iconfont icon-shangjia1"
@
click=
"updateVisaStatus(item)"
></el-button>
</el-tooltip>
</el-button-group>
</td>
</tr>
<tr
v-show=
"dataList.length==0"
>
<td
v-show=
"dataList.length==0"
colspan=
"10"
align=
"center"
>
暂无数据
</td>
</tr>
</table>
content=
"签证列表"
placement=
"top-start"
v-if=
"scope.row.VisaManagementId>0"
>
<el-button
type=
"primary"
@
click=
"goUrlVisaList(scope.row)"
style=
"background:#47BF8C; border-color:#47BF8C"
icon=
"iconfont icon-biaoge"
></el-button>
</el-tooltip>
<el-tooltip
v-if=
"scope.row.OrderNum>0&&msg.isFinacial==1"
effect=
"dark"
content=
"结算"
placement=
"top-start"
>
<el-button
type=
"primary"
@
click=
"goUrlJS(scope.row)"
style=
"background:#5EBB64; border-color:#5EBB64"
icon=
"iconfont icon-qian"
></el-button>
</el-tooltip>
<el-tooltip
v-if=
"scope.row.VisaStatus==1&&msg.isFinacial==1"
effect=
"dark"
content=
"下架"
placement=
"top-start"
>
<el-button
type=
"primary"
style=
"background:#F0A748; border-color:#F0A748"
icon=
"iconfont icon-xiajia1"
@
click=
"updateVisaStatus(scope.row)"
></el-button>
</el-tooltip>
<el-tooltip
v-if=
"scope.row.VisaStatus==2&&scope.row.SendVisaStatus==1&&msg.isFinacial==1"
effect=
"dark"
content=
"上架"
placement=
"top-start"
>
<el-button
type=
"primary"
style=
"background:#F0A748; border-color:#F0A748"
icon=
"iconfont icon-shangjia1"
@
click=
"updateVisaStatus(scope.row)"
></el-button>
</el-tooltip>
</el-button-group>
</
template
>
</el-table-column>
</el-table>
<el-pagination
background
...
...
@@ -558,7 +565,7 @@
<!-- <el-col :span="4">
<el-form-item label="人数" prop="PeopleNum">
<el-input @keyup.native="checkInteger(addMsg,'PeopleNum')" v-model="addMsg.PeopleNum" placeholder="请输入" maxlength="20"></el-input>
</el-form-item>
</el-form-item>
</el-col>-->
<el-col
:span=
"5"
>
<el-form-item
label=
"成本价"
prop=
"CostPrice"
>
...
...
@@ -628,7 +635,7 @@ export default {
ProductID
:
0
,
VisaStatus
:
"-1"
,
isFinacial
:
1
,
BranchId
:
"-1"
BranchId
:
"-1"
,
},
addMsg
:
{
Id
:
0
,
...
...
@@ -692,6 +699,7 @@ export default {
VisaManagementList
:
[],
// buttonshow:false,
Type
:
0
,
};
},
created
(){
...
...
@@ -699,7 +707,7 @@ export default {
// if (locationName.indexOf('viitto') !== -1 || locationName.indexOf('www') !== -1){
// this.buttonshow=true;
// }
},
methods
:
{
// 只能查看,不能修改
...
...
src/components/SalesVisa/VisaProductOrder.vue
View file @
099d032e
...
...
@@ -644,6 +644,7 @@
.VisaProductTable
tr
{
background
:
#fff
;
text-align
:
left
;
border
:
1px
solid
#cccccc
;
}
.VisaProductTable
tr
td
{
...
...
@@ -840,6 +841,15 @@
<el-option
label=
"待付款"
value=
"3"
key=
'3'
></el-option>
</el-select>
</span></li>
<li>
<span>
<em>
完结状态
</em>
<el-select
v-model=
'msg.IsFinish'
>
<el-option
label=
"不限"
value=
"0"
key=
'0'
></el-option>
<el-option
label=
"已完结"
value=
"1"
key=
'1'
></el-option>
<el-option
label=
"未完结"
value=
"2"
key=
'2'
></el-option>
</el-select>
</span></li>
<li><span><em>
报入日期
</em>
<el-date-picker
v-model=
'msg.StartTime'
class=
'w135'
value-format=
"yyyy-MM-dd"
type=
"date"
></el-date-picker>
-
...
...
@@ -852,7 +862,8 @@
<li>
<button
class=
"hollowFixedBtn"
@
click=
"getList()"
>
查询
</button>
<button
class=
"hollowFixedBtn"
@
click=
"goUrlCb"
>
查看成本
</button>
<el-button
v-if=
"IsSupperOrderEdit"
class=
"hollowFixedBtn"
@
click=
"setCompleted"
:loading=
"CompletedLoading"
>
一键完结
</el-button>
</li>
</ul>
</div>
...
...
@@ -871,230 +882,261 @@
</span>
<span>
成本:
{{
moneyFormat
(
CostMoney
)
}}
</span>
</div>
<table
class=
"VisaProductTable"
border=
"0"
cellspacing=
"0"
cellpadding=
"0"
v-loading=
'loading'
>
<tr>
<th
width=
"11%"
>
单号
</th>
<th
width=
"6%"
>
业务员
</th>
<th
width=
"6%"
>
公司
</th>
<th
width=
"4%"
>
人数
</th>
<th
width=
"7%"
>
出发日期
</th>
<th
width=
"7%"
>
报名日期
</th>
<th
width=
"7%"
>
应收总额
</th>
<th
width=
"7%"
>
实收
</th>
<th
width=
"5%"
>
退款
</th>
<th
width=
"5%"
>
平台税金
</th>
<th
width=
"7%"
>
成本
</th>
<th
width=
"5%"
>
优惠
</th>
<th
width=
"5%"
>
待收
</th>
<th
width=
"5%"
>
在途
</th>
<th
width=
"4%"
>
订单状态
</th>
<th
width=
"5%"
>
状态
</th>
<th
width=
"14%"
>
操作
</th>
</tr>
<tbody
v-for=
'(item,index) in dataList'
>
<tr>
<td>
<span
class=
"fz16"
>
{{
item
.
VisaTCNUM
}}
(
{{
item
.
Id
}}
)
</span>
</td>
<td><img
v-if=
'!item.CreatePhoto'
src=
"../../assets/img/litheader.png"
/>
<img
v-if=
'item.CreatePhoto'
:onerror=
"defaultImg"
:src=
'item.CreatePhoto'
/>
<span
class=
"VO_createName"
>
{{
item
.
CreateName
}}
</span></td>
<td>
{{
item
.
OutBranchName
}}
</td>
<td
class=
"fz16"
>
<span
class=
"fz16"
>
{{
item
.
PeopleNum
}}
</span>
</td>
<td>
<span
class=
"fz16"
>
{{
item
.
DepartDate
}}
</span>
</td>
<td>
<span
class=
"fz16"
>
{{
item
.
CreateTime
}}
</span>
</td>
<td>
<span
class=
"totalPrice"
>
¥
{{
moneyFormat
(
item
.
TotalPrice
)
}}
</span>
</td>
<td>
<span
class=
"income"
>
¥
{{
moneyFormat
(
item
.
Income
)
}}
</span>
</td>
<td>
<span>
¥
{{
moneyFormat
(
item
.
RefundMoney
)
}}
</span>
</td>
<td>
<span>
¥
{{
moneyFormat
(
item
.
PlatformTax
)
}}
</span>
</td>
<td>
<span>
¥
{{
moneyFormat
(
item
.
CostMoney
)
}}
</span>
</td>
<td>
<span>
¥
{{
moneyFormat
(
item
.
DiscountMoney
)
}}
</span>
</td>
<td>
<span>
¥
{{
moneyFormat
(
item
.
DueInMoney
)
}}
</span>
</td>
<td>
<span>
¥
{{
moneyFormat
(
item
.
ZaiTu
)
}}
</span>
</td>
<td>
<span
v-if=
"item.VisaOrderStatus==1"
>
正常
</span>
<span
v-if=
"item.VisaOrderStatus==2"
>
取消
</span>
<span
v-if=
"item.VisaOrderStatus==3"
>
待付款
</span>
<span
class=
"fz12"
v-if=
"item.VisaOrderStatus==2"
>
操作:
{{
item
.
UpdateName
}}
</span>
</td>
<td>
<span>
<i
v-if=
"item.IsCommission==1"
class=
"iconfont icon-yiqueren"
style=
"color:#4BCA81;"
></i>
<i
v-else
class=
"iconfont icon-yiquxiao"
style=
"color:#E95252;"
></i>
{{
item
.
IsCommission
==
1
?
"已提成"
:
"未提成"
}}
</span>
</td>
<td
class=
"groupTourOrderIcon"
>
<el-tooltip
effect=
"dark"
content=
"签证详情"
placement=
"top-start"
v-if=
"item.VisaPlanIdStr !=''"
>
<el-button
type=
"primary"
@
click=
"goUrlVisaList(item)"
style=
'background:#00C6FF; border-color:#00C6FF'
icon=
"iconfont icon-sousuo"
></el-button>
</el-tooltip>
<el-tooltip
v-if=
"item.Income
<
=
0
&&
item
.
VisaOrderStatus=
=1&&item.UpdateStatus==1"
class=
"item"
effect=
"dark"
content=
"取消"
placement=
"top-start"
>
<el-button
type=
"primary"
style=
'background:#E95252; border-color:#E95252;'
icon=
"iconfont icon-xingzhuangkaobei"
@
click=
'cancelOrder(item)'
></el-button>
</el-tooltip>
<!-- 订单拆分 -->
<el-tooltip
v-if=
"item.PeopleNum==item.GuestList.length"
class=
"item"
effect=
"dark"
content=
"订单拆分"
placement=
"top-start"
>
<el-button
type=
"primary"
style=
'background:#47BF8C; border-color:#47BF8C;'
icon=
"el-icon-edit"
@
click=
"goUrl2('OrderSplitting',item.Id,'订单拆分')"
></el-button>
</el-tooltip>
<!-- 修改金额 -->
<el-tooltip
v-if=
"IsSupperOrderEdit&& item.VisaType==1"
class=
"item"
effect=
"dark"
content=
"修改金额"
placement=
"top-start"
>
<el-button
type=
"primary"
style=
'background:#E95252; border-color:#E95252;padding:5px'
icon=
"el-icon-edit"
@
click=
'Edit(item)'
></el-button>
</el-tooltip>
</td>
</tr>
<tr>
<td
colspan=
"17"
class=
"RL_Order"
style=
"height:40px;"
>
<span
class=
"VO-remarkTitle"
>
名单:
</span>
<span
class=
"VO-redType VO-remarkCon"
v-if=
"item.GuestList.length>0"
style=
"cursor:pointer"
>
<span
v-for=
"(childItem) in item.GuestList"
style=
"margin-right:10px;"
@
click=
"goUrl2('VisapassengerList',item.Id,'旅客名单')"
>
{{
childItem
.
userName
}}
</span>
</span>
<span
class=
"VO-redType VO-remarkCon"
v-else
>
<span>
暂无名单
</span>
</span>
</td>
</tr>
<tr>
<td
colspan=
"8"
class=
"groupTourOrder_remarks"
style=
"height: 40px;"
>
<div>
<div>
<span
class=
"VO-remarkTitle"
>
备注:
</span>
<span
class=
"VO-redType VO-remarkCon"
>
{{
item
.
Remark
}}
</span>
</div>
</div>
</td>
<td
colspan=
"9"
class=
"groupTourOrder_tickets2"
style=
"height: 40px;"
>
<div>
<div
class=
"row justify-sb wrap mr"
>
<div
class=
"row relative"
style=
"margin-top: 5px;"
>
<span>
收款单据:
</span>
<span
class=
"cursor-pointer radius5 mr mb px5"
:class=
"
{'bgD9F3FF':x.Status==1,'bgFAEAED':x.Status==2,'bjFFF3E0':x.Status==3,
'c3FC4FF':x.Status==1,'cF1416C':x.Status==2,'cff9800':x.Status==3}" v-for="(x, i) in item.FinanceList"
@click="goUrl2('FinancialDocumentsDetail',x.FrID,'财务单据')">
{{
x
.
FrID
}}
</span>
<span
v-if=
"item.FinanceList&&item.FinanceList.length == 0"
class=
"c9e fz12 mr"
>
暂无
<el-table
v-loading=
'loading'
ref=
"multipleTable"
:data=
"dataList"
tooltip-effect=
"dark"
style=
"width: 100%"
row-key=
"Id"
@
selection-change=
"handleSelectionChange"
>
<el-table-column
type=
"selection"
:selectable=
"selectable"
:reserve-selection=
"true"
v-if=
"IsSupperOrderEdit"
/>
</el-table-column>
<el-table-column
:label=
"IsSupperOrderEdit?'全选':''"
>
<template
slot-scope=
"scope"
>
<table
class=
"VisaProductTable"
border=
"0"
cellspacing=
"0"
cellpadding=
"0"
>
<tr>
<th
width=
"11%"
>
单号
</th>
<th
width=
"6%"
>
业务员
</th>
<th
width=
"6%"
>
公司
</th>
<th
width=
"4%"
>
人数
</th>
<th
width=
"7%"
>
出发日期
</th>
<th
width=
"7%"
>
报名日期
</th>
<th
width=
"7%"
>
应收总额
</th>
<th
width=
"7%"
>
实收
</th>
<th
width=
"5%"
>
退款
</th>
<th
width=
"5%"
>
平台税金
</th>
<th
width=
"7%"
>
成本
</th>
<th
width=
"5%"
>
优惠
</th>
<th
width=
"5%"
>
待收
</th>
<th
width=
"5%"
>
在途
</th>
<th
width=
"4%"
>
订单状态
</th>
<th
width=
"5%"
>
状态
</th>
<th
width=
"4%"
>
完结状态
</th>
<th
width=
"10%"
>
操作
</th>
</tr>
<tbody>
<tr>
<td>
<span
class=
"fz16"
>
{{
scope
.
row
.
VisaTCNUM
}}
(
{{
scope
.
row
.
Id
}}
)
</span>
</td>
<td><img
v-if=
'!scope.row.CreatePhoto'
src=
"../../assets/img/litheader.png"
/>
<img
v-if=
'scope.row.CreatePhoto'
:onerror=
"defaultImg"
:src=
'scope.row.CreatePhoto'
/>
<span
class=
"VO_createName"
>
{{
scope
.
row
.
CreateName
}}
</span></td>
<td>
{{
scope
.
row
.
OutBranchName
}}
</td>
<td
class=
"fz16"
>
<span
class=
"fz16"
>
{{
scope
.
row
.
PeopleNum
}}
</span>
</td>
<td>
<span
class=
"fz16"
>
{{
scope
.
row
.
DepartDate
}}
</span>
</td>
<td>
<span
class=
"fz16"
>
{{
scope
.
row
.
CreateTime
}}
</span>
</td>
<td>
<span
class=
"totalPrice"
>
¥
{{
moneyFormat
(
scope
.
row
.
TotalPrice
)
}}
</span>
</td>
<td>
<span
class=
"income"
>
¥
{{
moneyFormat
(
scope
.
row
.
Income
)
}}
</span>
</td>
<td>
<span>
¥
{{
moneyFormat
(
scope
.
row
.
RefundMoney
)
}}
</span>
</td>
<td>
<span>
¥
{{
moneyFormat
(
scope
.
row
.
PlatformTax
)
}}
</span>
</td>
<td>
<span>
¥
{{
moneyFormat
(
scope
.
row
.
CostMoney
)
}}
</span>
</td>
<td>
<span>
¥
{{
moneyFormat
(
scope
.
row
.
DiscountMoney
)
}}
</span>
</td>
<td>
<span>
¥
{{
moneyFormat
(
scope
.
row
.
DueInMoney
)
}}
</span>
</td>
<td>
<span>
¥
{{
moneyFormat
(
scope
.
row
.
ZaiTu
)
}}
</span>
</td>
<td>
<span
v-if=
"scope.row.VisaOrderStatus==1"
>
正常
</span>
<span
v-if=
"scope.row.VisaOrderStatus==2"
>
取消
</span>
<span
v-if=
"scope.row.VisaOrderStatus==3"
>
待付款
</span>
<span
class=
"fz12"
v-if=
"scope.row.VisaOrderStatus==2"
>
操作:
{{
scope
.
row
.
UpdateName
}}
</span>
</td>
<td>
<span>
<i
v-if=
"scope.row.IsCommission==1"
class=
"iconfont icon-yiqueren"
style=
"color:#4BCA81;"
></i>
<i
v-else
class=
"iconfont icon-yiquxiao"
style=
"color:#E95252;"
></i>
{{
scope
.
row
.
IsCommission
==
1
?
"已提成"
:
"未提成"
}}
</span>
<div
class=
"item right20 top0"
>
<el-tooltip
v-if=
"item.visaOrderStatus!=2"
class=
""
effect=
"dark"
content=
"制单"
placement=
"top"
>
<i
class=
"el-icon-circle-plus cursor-pointer c059FF6"
@
click=
"makeAdocument(item, index, 1)"
></i>
</el-tooltip>
</div>
</div>
<div
class=
"row relative"
style=
"margin-top: 5px;"
>
<span>
退款单据:
</span>
<span
class=
"cursor-pointer radius5 mr mb px5"
:class=
"
{'bgD9F3FF':x.Status==1,'bgFAEAED':x.Status==2,'bjFFF3E0':x.Status==3,
'c3FC4FF':x.Status==1,'cF1416C':x.Status==2,'cff9800':x.Status==3}" v-for="(x, i) in item.RefundFinanceList"
@click="goUrl2('FinancialDocumentsDetail',x.FrID,'财务单据')">
{{
x
.
FrID
}}
</span>
<span
v-if=
"item.RefundFinanceList&&item.RefundFinanceList.length == 0"
class=
"c9e fz12 mr"
>
暂无
</td>
<td>
<span
:class=
"
{ cF1416C: scope.row.IsFinish == 0,c20C997: scope.row.IsFinish == 1 }">
<template
v-if=
"scope.row.IsFinish==1"
>
已完结 /
{{
scope
.
row
.
FinishTime
}}
</
template
>
<
template
v-else
>
未完结
</
template
>
</span>
<div
class=
"item right20 top0"
>
<el-tooltip
v-if=
"item.visaOrderStatus!=2"
class=
""
effect=
"dark"
content=
"制单"
placement=
"top"
>
<i
class=
"el-icon-circle-plus cursor-pointer c059FF6"
@
click=
"makeAdocument(item, index, 2)"
></i>
</td>
<td
class=
"groupTourOrderIcon"
>
<el-tooltip
effect=
"dark"
content=
"签证详情"
placement=
"top-start"
v-if=
"scope.row.VisaPlanIdStr !=''"
>
<el-button
type=
"primary"
@
click=
"goUrlVisaList(scope.row)"
style=
'background:#00C6FF; border-color:#00C6FF'
icon=
"iconfont icon-sousuo"
></el-button>
</el-tooltip>
</div>
</div>
<div
class=
"row relative"
style=
"margin-top: 5px;"
>
<span>
成本单据:
</span>
<span
class=
"cursor-pointer radius5 mr mb px5"
:class=
"
{'bgD9F3FF':x.Status==1,'bgFAEAED':x.Status==2,'bjFFF3E0':x.Status==3,
'c3FC4FF':x.Status==1,'cF1416C':x.Status==2,'cff9800':x.Status==3}" v-for="(x, i) in item.CostFinanceList"
@click="goUrl2('FinancialDocumentsDetail',x.FrID,'财务单据')">
{{
x
.
FrID
}}
</span>
<span
v-if=
"item.CostFinanceList&&item.CostFinanceList.length == 0"
class=
"c9e fz12 mr"
>
暂无
</span>
<div
class=
"item right20 top0"
v-if=
"item.visaOrderStatus!=2"
>
<el-tooltip
class=
""
effect=
"dark"
content=
"制单"
placement=
"top"
>
<i
class=
"el-icon-circle-plus cursor-pointer c059FF6"
@
click=
"makeAdocument(item, index, 3)"
></i>
<el-tooltip
v-if=
"scope.row.Income<=0&&scope.row.VisaOrderStatus==1&&scope.row.UpdateStatus==1"
class=
"item"
effect=
"dark"
content=
"取消"
placement=
"top-start"
>
<el-button
type=
"primary"
style=
'background:#E95252; border-color:#E95252;'
icon=
"iconfont icon-xingzhuangkaobei"
@
click=
'cancelOrder(scope.row)'
></el-button>
</el-tooltip>
<el-tooltip
class=
""
effect=
"dark"
content=
"冲抵"
placement=
"top"
>
<i
class=
"el-icon-circle-plus cursor-pointer c3FC4FF"
@
click=
"isOffset(item, index, 3)"
></i>
</el-tooltip>
<!-- 订单拆分 -->
<el-tooltip
v-if=
"scope.row.PeopleNum==scope.row.GuestList.length"
class=
"item"
effect=
"dark"
content=
"订单拆分"
placement=
"top-start"
>
<el-button
type=
"primary"
style=
'background:#47BF8C; border-color:#47BF8C;'
icon=
"el-icon-edit"
@
click=
"goUrl2('OrderSplitting',scope.row.Id,'订单拆分')"
></el-button>
</el-tooltip>
<!-- 修改金额 -->
<el-tooltip
v-if=
"IsSupperOrderEdit&& scope.row.VisaType==1"
class=
"item"
effect=
"dark"
content=
"修改金额"
placement=
"top-start"
>
<el-button
type=
"primary"
style=
'background:#E95252; border-color:#E95252;padding:5px'
icon=
"el-icon-edit"
@
click=
'Edit(scope.row)'
></el-button>
</el-tooltip>
<!-- 完结 -->
<el-tooltip
v-if=
"IsSupperOrderEdit&&scope.row.IsFinish!=1
&&scope.row.Income>0&&scope.row.DueInMoney==0"
class=
"item"
effect=
"dark"
content=
"完结"
placement=
"top-start"
>
<el-button
type=
"primary"
style=
'background:#E95252; border-color:#E95252;padding:5px'
icon=
"el-icon-check"
@
click=
'setCompleted(scope.row.Id,scope.row)'
:loading=
"scope.row.loading"
></el-button>
</el-tooltip>
</td>
</tr>
<tr>
<td
colspan=
"18"
class=
"RL_Order"
style=
"height:40px;"
>
<span
class=
"VO-remarkTitle"
>
名单:
</span>
<span
class=
"VO-redType VO-remarkCon"
v-if=
"scope.row.GuestList.length>0"
style=
"cursor:pointer"
>
<span
v-for=
"(childItem) in scope.row.GuestList"
style=
"margin-right:10px;"
@
click=
"goUrl2('VisapassengerList',scope.row.Id,'旅客名单')"
>
{{childItem.userName}}
</span>
</span>
<span
class=
"VO-redType VO-remarkCon"
v-else
>
<span>
暂无名单
</span>
</span>
</td>
</tr>
<tr>
<td
colspan=
"9"
class=
"groupTourOrder_remarks"
style=
"height: 40px;"
>
<div>
<div>
<span
class=
"VO-remarkTitle"
>
备注:
</span>
<span
class=
"VO-redType VO-remarkCon"
>
{{scope.row.Remark}}
</span>
</div>
</div>
</div>
<!--
<span
v-for=
"(item2,index2) in item.FinanceList"
:key=
"index2"
style=
"margin-right:10px;cursor:pointer;"
>
<span
v-if=
"item2.ColorState===1"
class=
"groupTourOrder_tickets_blue"
@
click=
"goUrl2('FinancialDocumentsDetail',item2.FrID,'财务单据')"
>
{{
item2
.
FrID
}}
</span>
<span
v-else-if=
"item2.ColorState===2"
class=
"groupTourOrder_tickets_green"
@
click=
"goUrl2('FinancialDocumentsDetail',item2.FrID,'财务单据')"
>
{{
item2
.
FrID
}}
</span>
<span
v-else-if=
"item2.ColorState===3"
class=
"groupTourOrder_tickets_red"
@
click=
"goUrl2('FinancialDocumentsDetail',item2.FrID,'财务单据')"
>
{{
item2
.
FrID
}}
</span>
<span
v-else-if=
"item2.ColorState===4"
class=
"groupTourOrder_tickets_black"
@
click=
"goUrl2('FinancialDocumentsDetail',item2.FrID,'财务单据')"
>
{{
item2
.
FrID
}}
</span>
</span>
<span
v-if=
"item.FinanceList.length===0"
style=
"cursor: default;"
>
暂无数据
</span>
-->
</div>
<div
style=
"margin-top: 5px;"
>
<span>
{{
$t
(
'salesModule.Invoice'
)
}}
:
</span>
<span
v-for=
"(item2,index2) in item.invoiceApplyList"
:key=
"index2"
style=
"margin-right:10px;cursor:pointer;"
>
<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>
</div>
</div>
</td>
</tr>
<tr>
<td
colspan=
"18"
style=
"height: 1px;magrin:0;padding: 0;background-color: #000;"
></td>
</tr>
</tbody>
<tr
v-show=
"dataList.length==0"
>
<td
colspan=
"18"
align=
"center"
>
暂无数据
</td>
</tr>
</table>
</td>
<td
colspan=
"9"
class=
"groupTourOrder_tickets2"
style=
"height: 40px;"
>
<div>
<div
class=
"row justify-sb wrap mr"
>
<div
class=
"row relative"
style=
"margin-top: 5px;"
>
<span>
收款单据:
</span>
<span
class=
"cursor-pointer radius5 mr mb px5"
:class=
"{'bgD9F3FF':x.Status==1,'bgFAEAED':x.Status==2,'bjFFF3E0':x.Status==3,
'c3FC4FF':x.Status==1,'cF1416C':x.Status==2,'cff9800':x.Status==3}"
v-for=
"(x, i) in scope.row.FinanceList"
@
click=
"goUrl2('FinancialDocumentsDetail',x.FrID,'财务单据')"
>
{{ x.FrID }}
</span>
<span
v-if=
"scope.row.FinanceList&&scope.row.FinanceList.length == 0"
class=
"c9e fz12 mr"
>
暂无
</span>
<div
class=
"item right20 top0"
>
<el-tooltip
v-if=
"scope.row.visaOrderStatus!=2"
class=
""
effect=
"dark"
content=
"制单"
placement=
"top"
>
<i
class=
"el-icon-circle-plus cursor-pointer c059FF6"
@
click=
"makeAdocument(scope.row, index, 1)"
></i>
</el-tooltip>
</div>
</div>
<div
class=
"row relative"
style=
"margin-top: 5px;"
>
<span>
退款单据:
</span>
<span
class=
"cursor-pointer radius5 mr mb px5"
:class=
"{'bgD9F3FF':x.Status==1,'bgFAEAED':x.Status==2,'bjFFF3E0':x.Status==3,
'c3FC4FF':x.Status==1,'cF1416C':x.Status==2,'cff9800':x.Status==3}"
v-for=
"(x, i) in scope.row.RefundFinanceList"
@
click=
"goUrl2('FinancialDocumentsDetail',x.FrID,'财务单据')"
>
{{ x.FrID }}
</span>
<span
v-if=
"scope.row.RefundFinanceList&&scope.row.RefundFinanceList.length == 0"
class=
"c9e fz12 mr"
>
暂无
</span>
<div
class=
"item right20 top0"
>
<el-tooltip
v-if=
"scope.row.visaOrderStatus!=2"
class=
""
effect=
"dark"
content=
"制单"
placement=
"top"
>
<i
class=
"el-icon-circle-plus cursor-pointer c059FF6"
@
click=
"makeAdocument(scope.row, index, 2)"
></i>
</el-tooltip>
</div>
</div>
<div
class=
"row relative"
style=
"margin-top: 5px;"
>
<span>
成本单据:
</span>
<span
class=
"cursor-pointer radius5 mr mb px5"
:class=
"{'bgD9F3FF':x.Status==1,'bgFAEAED':x.Status==2,'bjFFF3E0':x.Status==3,
'c3FC4FF':x.Status==1,'cF1416C':x.Status==2,'cff9800':x.Status==3}"
v-for=
"(x, i) in scope.row.CostFinanceList"
@
click=
"goUrl2('FinancialDocumentsDetail',x.FrID,'财务单据')"
>
{{ x.FrID }}
</span>
<span
v-if=
"scope.row.CostFinanceList&&scope.row.CostFinanceList.length == 0"
class=
"c9e fz12 mr"
>
暂无
</span>
<div
class=
"item right20 top0"
v-if=
"scope.row.visaOrderStatus!=2"
>
<el-tooltip
class=
""
effect=
"dark"
content=
"制单"
placement=
"top"
>
<i
class=
"el-icon-circle-plus cursor-pointer c059FF6"
@
click=
"makeAdocument(scope.row, index, 3)"
></i>
</el-tooltip>
<el-tooltip
class=
""
effect=
"dark"
content=
"冲抵"
placement=
"top"
>
<i
class=
"el-icon-circle-plus cursor-pointer c3FC4FF"
@
click=
"isOffset(scope.row, index, 3)"
></i>
</el-tooltip>
</div>
</div>
<!-- <span v-for="(item2,index2) in item.FinanceList" :key="index2"
style="margin-right:10px;cursor:pointer;">
<span v-if="item2.ColorState===1" class="groupTourOrder_tickets_blue"
@click="goUrl2('FinancialDocumentsDetail',item2.FrID,'财务单据')">{{item2.FrID}}</span>
<span v-else-if="item2.ColorState===2" class="groupTourOrder_tickets_green"
@click="goUrl2('FinancialDocumentsDetail',item2.FrID,'财务单据')">{{item2.FrID}}</span>
<span v-else-if="item2.ColorState===3" class="groupTourOrder_tickets_red"
@click="goUrl2('FinancialDocumentsDetail',item2.FrID,'财务单据')">{{item2.FrID}}</span>
<span v-else-if="item2.ColorState===4" class="groupTourOrder_tickets_black"
@click="goUrl2('FinancialDocumentsDetail',item2.FrID,'财务单据')">{{item2.FrID}}</span>
</span>
<span v-if="item.FinanceList.length===0" style="cursor: default;">暂无数据</span> -->
</div>
<div
style=
"margin-top: 5px;"
>
<span>
{{$t('salesModule.Invoice')}}:
</span>
<span
v-for=
"(item2,index2) in scope.row.invoiceApplyList"
:key=
"index2"
style=
"margin-right:10px;cursor:pointer;"
>
<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=
"scope.row.InvoiceApplyList.length===0"
style=
"cursor: default;"
>
{{$t('system.content_noData')}}
</span>
</div>
</div>
</td>
</tr>
</tbody>
</table>
</template>
</el-table-column>
</el-table>
<el-pagination
background
@
current-change=
"handleCurrentChange"
:current-page
.
sync=
"currentPage"
layout=
"total"
:page-size=
"this.msg.pageSize"
:total=
"total"
>
</el-pagination>
...
...
@@ -1130,6 +1172,7 @@
EmId
:
'-1'
,
VisaOrderStatus
:
"0"
,
OrderId
:
''
,
IsFinish
:
'0'
},
dataList
:
[],
EmployeeList
:
[],
...
...
@@ -1148,9 +1191,68 @@
TotalPrice
:
0
,
},
cbId
:
0
,
CompletedLoading
:
false
,
multipleSelection
:
[],
}
},
methods
:
{
selectable
(
row
,
index
){
if
(
this
.
dataList
[
index
].
IsFinish
!=
1
&&
this
.
dataList
[
index
].
Income
>
0
&&
this
.
dataList
[
index
].
DueInMoney
==
0
)
{
return
true
;
}
else
{
return
false
;
}
},
handleSelectionChange
(
val
)
{
this
.
multipleSelection
=
val
.
map
(
x
=>
{
return
x
.
Id
});
},
setCompleted
(
id
,
row
){
let
ids
=
''
if
(
id
>
0
){
ids
=
id
}
else
{
if
(
this
.
multipleSelection
.
length
==
0
)
return
this
.
$message
.
error
(
'请勾选需要完结的数据'
)
ids
=
this
.
multipleSelection
.
join
(
','
)
}
if
(
ids
==
''
)
{
this
.
$message
.
error
(
'请勾选需要完结的数据'
)
}
this
.
$confirm
(
'是否确认完结?'
,
'提示'
,
{
confirmButtonText
:
'确定'
,
cancelButtonText
:
'取消'
,
type
:
'warning'
}).
then
(()
=>
{
if
(
id
>
0
){
row
.
loading
=
true
}
else
{
this
.
CompletedLoading
=
true
}
this
.
apipost
(
'dmc_post_SetVisaOrderFinish'
,
{
VisaOrderIds
:
ids
},
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
if
(
id
>
0
){
row
.
loading
=
false
}
else
{
this
.
CompletedLoading
=
false
}
this
.
multipleSelection
=
[]
this
.
$message
.
success
(
'操作成功!'
);
this
.
getList
()
}
else
{
if
(
id
>
0
){
row
.
loading
=
false
}
else
{
this
.
CompletedLoading
=
false
}
this
.
$message
.
error
(
res
.
data
.
message
);
}
},
err
=>
{})
}).
catch
(()
=>
{
this
.
$message
.
info
(
'已取消!'
);
});
},
isOffset
(
row
,
index
,
num
){
this
.
makeAdocument
(
row
,
index
,
num
,
'Offset'
)
},
...
...
@@ -1304,6 +1406,12 @@
this
.
loading
=
false
;
this
.
dataList
=
[]
}
else
{
let
arrList
=
function
(
list
){
list
.
forEach
(
x
=>
{
x
.
loading
=
false
});
}
arrList
(
res
.
data
.
data
.
pageData
)
this
.
dataList
=
res
.
data
.
data
.
pageData
;
this
.
total
=
res
.
data
.
data
.
count
;
this
.
loading
=
false
;
...
...
src/components/SalesVisa/components/VisaProductOrder.vue
View file @
099d032e
...
...
@@ -4,7 +4,7 @@
width
:
100%
;
margin-top
:
20px
;
}
.page_MyCustomer
._mc_addbox
>
li
{
float
:
left
;
width
:
116px
;
...
...
@@ -16,19 +16,19 @@
background
:
#E9E9E9
;
cursor
:
pointer
;
}
.page_MyCustomer
._mc_addbox
>
li
.active
{
background
:
#fff
;
color
:
#333
;
}
.page_MyCustomer
._mc_addbox
.divActive
{
margin
:
-3px
auto
;
width
:
26px
;
height
:
3px
;
background
:
#E95252
;
}
.page_MyCustomer
._mc_edit
{
overflow
:
auto
;
display
:
none
;
...
...
@@ -42,36 +42,36 @@
width
:
100%
;
min-width
:
1146px
;
}
.page_MyCustomer
.edHeight
{
display
:
block
;
height
:
291px
;
}
.page_MyCustomer
._mc_list
{
overflow-x
:
auto
;
background
:
#fff
;
padding-top
:
20px
;
padding-left
:
15px
;
}
.page_MyCustomer
._scrollbar
::-webkit-scrollbar
{
width
:
4px
;
height
:
8px
;
}
.page_MyCustomer
._scrollbar
::-webkit-scrollbar-thumb
{
border-radius
:
4px
;
-webkit-box-shadow
:
inset
0
0
2px
rgba
(
0
,
0
,
0
,
0.2
);
background
:
#c9c9c9
;
}
.page_MyCustomer
._scrollbar
::-webkit-scrollbar-track
{
-webkit-box-shadow
:
inset
0
0
2px
rgba
(
0
,
0
,
0
,
0.2
);
border-radius
:
4px
;
background
:
#EDEDED
;
}
.page_MyCustomer
._mc_edit
._tit
{
padding-left
:
10px
;
border-left
:
3px
solid
#E95252
;
...
...
@@ -79,55 +79,55 @@
font-family
:
'PingFangSc-Fine'
;
color
:
#000000
}
.page_MyCustomer
._mc_edit
._info_box
ul
._form
li
{
float
:
left
;
}
.page_MyCustomer
._check_list
{
padding-left
:
120px
;
margin-bottom
:
20px
;
}
.page_MyCustomer
._check_box
.el-form-item
{
margin-bottom
:
0
}
.page_MyCustomer
._info_box
.el-form-item__label
{
font-size
:
12px
;
color
:
#666
;
}
._remark
textarea
{
resize
:
none
;
width
:
646px
;
height
:
100px
}
.page_MyCustomer
.avatar
{
width
:
148px
;
height
:
148px
;
display
:
block
;
}
.page_MyCustomerSearch
{
width
:
100%
;
min-height
:
auto
;
overflow
:
hidden
;
padding
:
0
0
20px
0
;
}
.page_MyCustomerSearch
li
{
float
:
left
;
font-size
:
12px
;
color
:
#666
;
margin
:
20px
0
0px
0
;
}
.page_MyCustomerSearch
li
>
span
{
display
:
inline-block
;
}
.page_MyCustomerSearch
li
span
>
em
{
display
:
inline-block
;
min-width
:
60px
;
...
...
@@ -135,18 +135,18 @@
font-style
:
normal
;
margin
:
0
12px
0
0
;
}
.page_MyCustomerSearch
li
:last-child
{
float
:
right
;
}
.VisaProductTable
{
width
:
100%
;
font-size
:
14px
;
color
:
#333
;
border-collapse
:
collapse
;
}
.VisaProductTable
tr
th
{
background
:
#E6E6E6
;
height
:
30px
;
...
...
@@ -154,12 +154,12 @@
text-align
:
left
;
text-indent
:
25px
;
}
.VisaProductTable
tr
{
background
:
#fff
;
text-align
:
left
;
}
.VisaProductTable
tr
td
{
height
:
60px
;
padding-left
:
25px
;
...
...
@@ -167,7 +167,7 @@
font-size
:
14px
;
color
:
#333
;
}
.VisaProductTable
tr
td
>
img
{
width
:
24px
;
height
:
24px
;
...
...
@@ -175,7 +175,7 @@
float
:
left
;
margin-right
:
5px
;
}
.VisaProductTable
tr
td
.tuanqian
{
vertical-align
:
middle
;
font-weight
:
400
;
...
...
@@ -187,7 +187,7 @@
color
:
#FFFFFF
;
background
:
#2AAEF2
;
}
.VisaProductTable
tr
td
.geqian
{
vertical-align
:
middle
;
font-weight
:
400
;
...
...
@@ -199,29 +199,29 @@
color
:
#FFFFFF
;
background
:
#FF9000
;
}
.VisaProductTable
tr
td
.totalPrice
{
color
:
#FF9000
;
font-weight
:
400
;
font-size
:
16px
;
}
.VisaProductTable
tr
td
.sendVisaDate
{
font-weight
:
bold
;
}
.page_MyCustomer
._edHeight
{
height
:
340px
;
}
.dateClass
{
width
:
171px
!important
;
}
.surplusNum
{
color
:
#E95252
!important
;
}
.peopleNum
{
height
:
15px
;
font-size
:
16px
;
...
...
@@ -229,7 +229,7 @@
color
:
rgba
(
51
,
51
,
51
,
1
);
line-height
:
24px
;
}
.Visa_income
{
width
:
18px
;
height
:
16px
;
...
...
@@ -238,7 +238,7 @@
line-height
:
24px
;
color
:
RGBA
(
71
,
191
,
140
,
1
);
}
.VisaProductTable
tr
td
.createName
{
vertical-align
:
middle
;
display
:
table-cell
;
...
...
@@ -246,39 +246,39 @@
width
:
50px
;
height
:
21px
;
}
.groupTourOrderIcon
button
{
width
:
28px
;
height
:
28px
;
border-radius
:
4px
;
}
.groupTourOrderIcon
.el-button--primary
{
padding
:
5px
;
margin
:
0
;
font-size
:
14px
!important
;
}
.groupTourOrder_tickets_red
{
color
:
#ff0000
;
text-decoration
:
underline
;
}
.groupTourOrder_tickets_blue
{
color
:
#0000ff
;
text-decoration
:
underline
;
}
.groupTourOrder_tickets_green
{
color
:
#008000
;
text-decoration
:
underline
;
}
.groupTourOrder_tickets_black
{
color
:
#000000
;
text-decoration
:
underline
;
}
.VD-remarkTitle
{
display
:
inline-block
;
float
:
left
;
...
...
@@ -286,18 +286,18 @@
white-space
:
nowrap
;
font-size
:
14px
;
}
.VD-remarkCon
{
float
:
left
;
display
:
inline-block
;
width
:
94%
;
font-size
:
14px
;
}
.VD-redType
{
color
:
red
;
}
</
style
>
<
template
>
<div
class=
"page_MyCustomer"
>
...
...
@@ -336,6 +336,15 @@
<el-option
label=
"待付款"
value=
"3"
key=
'3'
></el-option>
</el-select>
</span></li>
<li>
<span>
<em>
完结状态
</em>
<el-select
v-model=
'msg.IsFinish'
>
<el-option
label=
"不限"
value=
"0"
key=
'0'
></el-option>
<el-option
label=
"已完结"
value=
"1"
key=
'1'
></el-option>
<el-option
label=
"未完结"
value=
"2"
key=
'2'
></el-option>
</el-select>
</span></li>
<li
v-if=
"pagesTitle!='销售'"
>
<span>
<em>
业务员
</em>
...
...
@@ -382,7 +391,7 @@
<el-pagination
background
@
current-change=
"handleCurrentChange"
:current-page
.
sync=
"currentPage"
layout=
"total,prev, pager, next, jumper"
:page-size=
"this.msg.pageSize"
:total=
"total"
>
</el-pagination>
<div
class=
"_mc_edit _scrollbar"
:class=
"addShow==true?'edHeight':''"
>
<p
class=
"_tit"
>
{{
$t
(
'salesModule.UpOrder'
)
}}
<span
class=
"fr"
>
...
...
@@ -505,7 +514,7 @@
userInfo
:
{},
qjGroupId
:
-
1
,
F_InvoiceManagement
:
false
,
F_Finance_Create
:
false
,
F_Finance_Create
:
false
,
msg
:
{
pageIndex
:
1
,
pageSize
:
12
,
...
...
@@ -518,7 +527,8 @@
VisaOrderStatus
:
'0'
,
CreateBy
:
0
,
RB_Branch_Id
:
-
1
,
OrderId
:
0
OrderId
:
0
,
IsFinish
:
'0'
,
},
addMsg
:
{
Id
:
0
,
...
...
@@ -621,7 +631,7 @@
this
.
F_Finance_Create
=
true
;
}
});
},
goUrlFinance
(
name
,
path
,
id
,
tcmun
)
{
this
.
$router
.
push
({
...
...
@@ -759,7 +769,7 @@
}
});
},
cancelOrder
(
obj
)
{
this
.
$confirm
(
'是否取消?'
,
'提示'
,
{
confirmButtonText
:
'确定'
,
...
...
@@ -791,8 +801,15 @@
this
.
apipost
(
url
,
this
.
msg
,
res
=>
{
if
(
res
.
data
.
resultCode
==
0
)
{
this
.
loading
=
false
;
this
.
dataList
=
[]
}
else
{
let
arrList
=
function
(
list
){
list
.
forEach
(
x
=>
{
x
.
loading
=
false
});
}
arrList
(
res
.
data
.
data
.
pageData
)
this
.
dataList
=
res
.
data
.
data
.
pageData
;
this
.
total
=
res
.
data
.
data
.
count
;
this
.
loading
=
false
;
...
...
@@ -826,15 +843,15 @@
this
.
addMsg
.
EnterCountryFlight
=
x
[
0
].
EnterCountryFlight
this
.
addMsg
.
LeaveCountryFlight
=
x
[
0
].
LeaveCountryFlight
this
.
addMsg
.
VisaPlanId
=
x
[
0
].
VisaPlanId
//this.addMsg.DepartDate=x[0].DepartDate
//this.addMsg.DepartDate=x[0].DepartDate
this
.
addMsg
.
ClientType
=
x
[
0
].
ClientType
.
toString
()
}
},
err
=>
{})
},
saveVisa
()
{
// 保存
this
.
$refs
[
'addMsg'
].
validate
((
valid
)
=>
{
...
...
@@ -906,6 +923,5 @@
this
.
GetSupperOrderEditAuth
();
}
}
</
script
>
\ No newline at end of file
src/components/SalesVisa/components/visaOrderList.vue
View file @
099d032e
...
...
@@ -484,7 +484,7 @@
}
/
deep
/
.el-table
tr
td
:first-child
{
border-bottom
:
0
;
/* border-bottom: 0; */
}
/
deep
/
.el-table
tr
:last-child
td
{
...
...
@@ -503,254 +503,288 @@
<
template
>
<div>
<div
v-for=
"(item, index) in OrderList"
class=
"column bgf radius5 px15 mb20"
>
<div
class=
"row-c justify-sb align-c py"
>
<div
class=
"row-c"
>
<div>
<div
class=
"orderType cf fz12"
:class=
"
{ active: item.visaOrderStatus == 1,activeNo: item.visaOrderStatus == 2 }">
<template
v-if=
"item.visaOrderStatus == 1"
>
正常
</
template
>
<
template
v-else-if=
"item.visaOrderStatus == 3"
>
待付款
</
template
>
<
template
v-else-if=
"item.visaOrderStatus == 2"
>
取消
</
template
>
</div>
</div>
<div
class=
"c9e fz12"
>
<span>
{{$t('fnc.danhao')}}:
</span>
<span>
{{item.visaTCNUM}}({{item.id}})
</span>
<span
class=
"copy cblack cursor-pointer"
v-if=
"copyId != item.id"
@
click=
"CopyHandler(item)"
>
复制
</span>
<span
class=
"copy c059FF6 bgD9F3FF cursor-pointer"
v-else
><i
class=
"el-icon-check mr"
></i>
已复制
</span>
</div>
</div>
<div
class=
"row c9e fz12"
>
<div
class=
"row-c"
>
<span
class=
"mr"
v-if=
"item.lureEmpName"
>
引流人:{{ item.lureEmpName }}
</span>
<
template
v-if=
"item.createName"
>
<span
class=
"mr"
>
创建人:
</span>
<span
class=
"mr"
>
{{
item
.
createName
}}
</span>
<el-image
class=
"mr"
v-if=
"item.createPhoto"
style=
"width: 20px; height: 20px;border-radius: 50%;"
:src=
"item.createPhoto"
:preview-src-list=
"[item.createPhoto]"
>
</el-image>
</
template
>
</div>
<span>
下单时间:
</span>
<span>
{{ item.createTime }}
</span>
</div>
</div>
<div
class=
"mb"
>
<el-table
:data=
"[item]"
style=
"width:100%"
border
>
<el-table-column
label=
"公司"
min-width=
"100"
style=
"background:#EAEAEA"
>
<
template
slot-scope=
"scope"
>
<template>
{{
scope
.
row
.
outBranchName
}}
</
template
>
</template>
</el-table-column>
<el-table-column
label=
"产品名称"
min-width=
"100"
style=
"background:#EAEAEA"
>
<
template
slot-scope=
"scope"
>
<template>
{{
scope
.
row
.
name
}}
</
template
>
</template>
</el-table-column>
<el-table-column
label=
"出发日期"
min-width=
"100"
style=
"background:#EAEAEA"
>
<
template
slot-scope=
"scope"
>
<template>
{{
scope
.
row
.
departDate
?
scope
.
row
.
departDate
:
'-'
}}
</
template
>
</template>
</el-table-column>
<el-table-column
label=
"截止日期"
min-width=
"100"
style=
"background:#EAEAEA"
>
<
template
slot-scope=
"scope"
>
<template>
{{
scope
.
row
.
sendStartDate
}}
</
template
>
</template>
</el-table-column>
<el-table-column
label=
"人数"
style=
"background:#EAEAEA"
>
<
template
slot-scope=
"scope"
>
{{
scope
.
row
.
peopleNum
}}
</
template
>
</el-table-column>
<el-table-column
label=
"应收"
style=
"background:#EAEAEA"
>
<
template
slot-scope=
"scope"
>
¥
<span
class=
"fz15 fbold"
>
{{
moneyFormat
(
scope
.
row
.
totalPrice
)
}}
</span>
</
template
>
</el-table-column>
<el-table-column
label=
"实收"
style=
"background:#EAEAEA"
>
<
template
slot-scope=
"scope"
>
¥
<span
class=
"fz15 fbold"
>
{{
moneyFormat
(
scope
.
row
.
income
)
}}
</span>
</
template
>
</el-table-column>
<el-table-column
label=
"成本"
min-width=
"100"
>
<
template
slot-scope=
"scope"
>
¥
<span
class=
"fz15 fbold"
>
{{
moneyFormat
(
scope
.
row
.
costMoney
)
}}
</span>
</
template
>
</el-table-column>
<el-table-column
label=
"退款"
style=
"background:#EAEAEA"
>
<
template
slot-scope=
"scope"
>
¥
<span
class=
"fz15 fbold"
>
{{
moneyFormat
(
scope
.
row
.
refundMoney
)
}}
</span>
</
template
>
</el-table-column>
<el-table-column
label=
"平台税金"
style=
"background:#EAEAEA"
>
<
template
slot-scope=
"scope"
>
¥
<span
class=
"fz15 fbold"
>
{{
moneyFormat
(
scope
.
row
.
platformTax
)
}}
</span>
</
template
>
</el-table-column>
<el-table-column
label=
"优惠"
style=
"background:#EAEAEA"
>
<
template
slot-scope=
"scope"
>
¥
<span
class=
"fz15 fbold"
>
{{
moneyFormat
(
scope
.
row
.
discountMoney
)
}}
</span>
</
template
>
</el-table-column>
<el-table-column
label=
"待收"
style=
"background:#EAEAEA"
>
<
template
slot-scope=
"scope"
>
<span
:class=
"
{'cF1416C':scope.row.dueInMoney>0}">
¥
<span
class=
"fz15 fbold"
>
{{
moneyFormat
(
scope
.
row
.
dueInMoney
)
}}
</span>
</span>
</
template
>
<div
style=
"text-align: right;position: fixed;top: 62px; right: 89px;"
>
<el-button
class=
"hollowFixedBtn"
v-if=
"IsSupperOrderEdit&&pagesTitle!='销售'"
@
click=
"setCompleted"
:loading=
"CompletedLoading"
>
一键完结
</el-button>
</div>
<el-table
ref=
"multipleTable"
:data=
"OrderList"
tooltip-effect=
"dark"
style=
"width: 100%"
row-key=
"id"
@
selection-change=
"handleSelectionChange"
>
<el-table-column
type=
"selection"
:selectable=
"selectable"
:reserve-selection=
"true"
v-if=
"pagesTitle!='销售'"
/>
</el-table-column>
<el-table-column
label=
"提成"
style=
"background:#EAEAEA"
v-if=
"(item.commissionMoney&&item.commissionMoney>0)||(item.opCommission&&item.opCommission>0)
"
>
<el-table-column
:label=
"pagesTitle!='销售'?'全选':''
"
>
<template
slot-scope=
"scope"
>
<div
class=
"width100-float-l"
v-if=
"item.commissionMoney&&item.commissionMoney>0"
>
<span
class=
"float-l"
>
销售:
<span
class=
"cF1416C"
>
¥
</span></span>
<commissionDialog
:objNew=
"scope.row"
:OP=
"0"
></commissionDialog>
</div>
<div
class=
"width100-float-l"
v-if=
"item.opCommission&&item.opCommission>0"
>
<span
class=
"float-l"
>
OP:
<span
class=
"cF1416C"
>
¥
</span></span>
<commissionDialog
:objNew=
"scope.row"
:OP=
"1"
></commissionDialog>
</div>
</
template
>
</el-table-column>
<
template
slot=
"append"
>
<div
class=
"row justify-sb"
style=
"padding:10px;"
>
<div
class=
"cF1416C flex-g"
style=
"min-width: 300px;"
>
<div
class=
"row flex-wrap mb"
v-if=
"item.guestList&&item.guestList.length>0"
>
<span
class=
"flex-s"
>
旅客名单:
</span>
<div
class=
"row wrap orderNo fz12 ml"
>
<span
class=
"cursor-pointer radius5 mr px5 bgf5 c3FC4FF"
style=
"margin: 3px;"
v-for=
"(x, i) in item.guestList"
@
click=
"goUrl2('VisapassengerList',item.id,'旅客名单')"
>
{{
x
.
userName
}}
</span>
</div>
</div>
<!-- v-if="(pagesTitle=='OP'&&!item.remark)||item.remark" -->
<div>
{{
$t
(
'pub.pubRemark'
)
}}
:
{{
item
.
remark
?
item
.
remark
:
'-'
}}
<!-- v-if="pagesTitle=='OP'" -->
<el-tooltip
class=
"item"
effect=
"dark"
:content=
"$t('salesModule.UpRemarks')"
placement=
"top-start"
>
<i
class=
"el-icon-edit cursor-pointer c059FF6 mx"
@
click=
'getDetail(item,true)'
></i>
</el-tooltip>
</div>
</div>
<div
class=
"row-c justify-sb align-c py"
>
<div
class=
"row-c"
>
<div>
<div
class=
"orderType cf fz12"
:class=
"
{ active: scope.row.visaOrderStatus == 1,activeNo: scope.row.visaOrderStatus == 2 }">
<template
v-if=
"scope.row.visaOrderStatus == 1"
>
正常
</
template
>
<
template
v-else-if=
"scope.row.visaOrderStatus == 3"
>
待付款
</
template
>
<
template
v-else-if=
"scope.row.visaOrderStatus == 2"
>
取消
</
template
>
</div>
<div
class=
"row justify-sb"
>
<div
class=
"row-c justify-sb px15 bgf5 radius5 flex-g pa relative"
style=
"min-width: 200px;max-width: 400px;"
>
<div
class=
"row-c"
>
<div
class=
"fz12 flex-s"
>
收款单据
</div>
<div
class=
"row wrap orderNo fz12 ml"
>
<span
class=
"cursor-pointer radius5 mr mb px5"
style=
"margin: 3px;"
:class=
"
{'bgD9F3FF':x.status==1,'bgFAEAED':x.status==2,'bjFFF3E0':x.status==3,
'c3FC4FF':x.status==1,'cF1416C':x.status==2,'cff9800':x.status==3}" v-for="(x, i) in item.financeList"
@click="openDetails(x)">
{{
x
.
frID
}}
</span>
<span
v-if=
"item.financeList&&item.financeList.length == 0"
class=
"c9e fz12 mr"
>
暂无
</span>
</div>
</div>
<el-tooltip
v-if=
"item.visaOrderStatus!=2"
class=
"item"
effect=
"dark"
content=
"制单"
placement=
"top"
>
<i
class=
"el-icon-circle-plus cursor-pointer c059FF6"
@
click=
"makeAdocument(item, index, 1)"
></i>
</el-tooltip>
</div>
<div
class=
"row-c justify-sb px15 bgf5 radius5 ml flex-g pa relative"
style=
"min-width: 200px;max-width: 400px;"
>
<div
class=
"row-c"
>
<div
class=
"fz12 flex-s"
>
退款单据
</div>
<div
class=
"row wrap orderNo fz12 ml"
>
<span
class=
"cursor-pointer radius5 mr mb px5"
style=
"margin: 3px;"
:class=
"
{'bgD9F3FF':x.status==1,'bgFAEAED':x.status==2,'bjFFF3E0':x.status==3,
'c3FC4FF':x.status==1,'cF1416C':x.status==2,'cff9800':x.status==3}" v-for="(x, i) in item.refundFinanceList"
@click="openDetails(x)">
{{
x
.
frID
}}
</span>
<span
v-if=
"item.refundFinanceList&&item.refundFinanceList.length == 0"
class=
"c9e fz12 mr"
>
暂无
</span>
<div
class=
"cblack fz14 mr"
:class=
"{ cF1416C: scope.row.isFinish == 0,c20C997: scope.row.isFinish == 1 }"
>
<
template
v-if=
"scope.row.isFinish == 1"
>
已完结 /
{{
scope
.
row
.
finishTime
}}
</
template
>
<
template
v-else
>
未完结
</
template
>
</div>
</div>
<el-tooltip
v-if=
"item.visaOrderStatus!=2"
class=
"item"
effect=
"dark"
content=
"制单"
placement=
"top"
>
<i
class=
"el-icon-circle-plus cursor-pointer c059FF6"
@
click=
"makeAdocument(item, index, 2)"
></i>
</el-tooltip>
</div>
<div
class=
"row-c justify-sb px15 bgf5 radius5 ml flex-g pa relative"
style=
"min-width: 200px;max-width: 400px;"
>
<div
class=
"row-c"
>
<div
class=
"fz12 flex-s"
>
成本单据
</div>
<div
class=
"row wrap orderNo fz12 ml"
>
<span
class=
"cursor-pointer radius5 mr mb px5"
style=
"margin: 3px;"
:class=
"
{'bgD9F3FF':x.status==1,'bgFAEAED':x.status==2,'bjFFF3E0':x.status==3,
'c3FC4FF':x.status==1,'cF1416C':x.status==2,'cff9800':x.status==3}" v-for="(x, i) in item.costFinanceList"
@click="openDetails(x)">
{{
x
.
frID
}}
</span>
<span
v-if=
"item.costFinanceList&&item.costFinanceList.length == 0"
class=
"c9e fz12 mr"
>
暂无
</span>
<div
class=
"c9e fz12"
>
<span>
{{$t('fnc.danhao')}}:
</span>
<span>
{{scope.row.visaTCNUM}}({{scope.row.id}})
</span>
<span
class=
"copy cblack cursor-pointer"
v-if=
"copyId != scope.row.id"
@
click=
"CopyHandler(scope.row)"
>
复制
</span>
<span
class=
"copy c059FF6 bgD9F3FF cursor-pointer"
v-else
><i
class=
"el-icon-check mr"
></i>
已复制
</span>
</div>
</div>
<div
class=
"item"
v-if=
"item.visaOrderStatus!=2&& pagesTitle != '销售'"
>
<el-tooltip
class=
""
effect=
"dark"
content=
"制单"
placement=
"top"
>
<i
class=
"el-icon-circle-plus cursor-pointer c059FF6"
@
click=
"makeAdocument(item, index, 3)"
></i>
</el-tooltip>
<el-tooltip
class=
""
effect=
"dark"
content=
"冲抵"
placement=
"top"
>
<i
class=
"el-icon-circle-plus cursor-pointer c3FC4FF"
@
click=
"isOffset(item, index, 3)"
></i>
</el-tooltip>
<div
class=
"row c9e fz12"
>
<div
class=
"row-c"
>
<span
class=
"mr"
v-if=
"scope.row.lureEmpName"
>
引流人:{{ scope.row.lureEmpName }}
</span>
<
template
v-if=
"scope.row.createName"
>
<span
class=
"mr"
>
创建人:
</span>
<span
class=
"mr"
>
{{
scope
.
row
.
createName
}}
</span>
<el-image
class=
"mr"
v-if=
"scope.row.createPhoto"
style=
"width: 20px; height: 20px;border-radius: 50%;"
:src=
"scope.row.createPhoto"
:preview-src-list=
"[scope.row.createPhoto]"
>
</el-image>
</
template
>
</div>
</div>
<div
class=
"row wrap px15 bgE8F5E9 radius5 ml fz12 orderop"
style=
"min-width: 150px;"
>
<div
class=
"row-c cursor-pointer radius5 change py5"
@
click=
"goUrlVisaList(item)"
v-if=
"item.VisaPlanIdStr!=''&&pagesTitle!='销售'"
>
<span
class=
"c059FF6"
>
签证详情
</span>
</div>
<div
class=
"row-c cursor-pointer radius5 change py5"
@
click=
"getDetail(item,false)"
v-if=
"item.income
<
=
0
&&(
item
.
visaOrderStatus=
=1||item.visaOrderStatus==3)&&item.visaStatus==1&&pagesTitle=='销售'"
>
<span
class=
"c059FF6"
>
{{
$t
(
'system.table_edit'
)
}}
订单
</span>
</div>
<div
class=
"row-c cursor-pointer radius5 cancel py5"
@
click=
'cancelOrder(item)'
v-if=
"item.income
<
=
0
&&(
item
.
visaOrderStatus=
=1||item.visaOrderStatus==3)"
>
<span
class=
"cF1416C"
>
{{
$t
(
'pub.cancelBtn'
)
}}
</span>
</div>
<div
class=
"row-c cursor-pointer radius5 change py5"
@
click=
'goUrlT(item)'
v-if=
"(item.visaOrderStatus==1||item.visaOrderStatus==3)&&item.visaStatus==1&&pagesTitle=='销售'"
>
<span
class=
"c059FF6"
>
{{
$t
(
'salesModule.LKMD'
)
}}
</span>
</div>
<div
class=
"row-c cursor-pointer radius5 change1 py5"
@
click=
'goUrlAdd("invoicesManagerAdd", item.id, item.visaId, item.customerId, 2)'
v-if=
"(qjGroupId==userInfo.RB_Group_id || F_InvoiceManagement)&&pagesTitle=='销售'"
>
<span
class=
"c20C997"
>
{{
$t
(
'salesModule.ApplyInvoice'
)
}}
</span>
</div>
<template
v-if=
"pagesTitle!='销售'"
>
<div
class=
"row-c cursor-pointer radius5 cancel py5"
@
click=
"goUrl2('OrderSplitting',item.id,'订单拆分')"
v-if=
"item.peopleNum==item.guestList.length"
>
<span
class=
"cF1416C"
>
订单拆分
</span>
</div>
<div
class=
"row-c cursor-pointer radius5 change py5"
@
click=
'Edit(item)'
v-if=
"IsSupperOrderEdit"
>
<span
class=
"c059FF6"
>
修改金额
</span>
</div>
</
template
>
<span>
下单时间:
</span>
<span>
{{ scope.row.createTime }}
</span>
</div>
</div>
</div>
</template>
</el-table>
</div>
<div
class=
"mb"
>
<el-table
:data=
"[scope.row]"
style=
"width:100%"
border
>
<el-table-column
label=
"公司"
min-width=
"100"
style=
"background:#EAEAEA"
>
<
template
slot-scope=
"scope"
>
<template>
{{
scope
.
row
.
outBranchName
}}
</
template
>
</template>
</el-table-column>
<el-table-column
label=
"产品名称"
min-width=
"100"
style=
"background:#EAEAEA"
>
<
template
slot-scope=
"scope"
>
<template>
{{
scope
.
row
.
name
}}
</
template
>
</template>
</el-table-column>
<el-table-column
label=
"出发日期"
min-width=
"100"
style=
"background:#EAEAEA"
>
<
template
slot-scope=
"scope"
>
<template>
{{
scope
.
row
.
departDate
?
scope
.
row
.
departDate
:
'-'
}}
</
template
>
</template>
</el-table-column>
<el-table-column
label=
"截止日期"
min-width=
"100"
style=
"background:#EAEAEA"
>
<
template
slot-scope=
"scope"
>
<template>
{{
scope
.
row
.
sendStartDate
}}
</
template
>
</template>
</el-table-column>
<el-table-column
label=
"人数"
style=
"background:#EAEAEA"
>
<
template
slot-scope=
"scope"
>
{{
scope
.
row
.
peopleNum
}}
</
template
>
</el-table-column>
<el-table-column
label=
"应收"
style=
"background:#EAEAEA"
>
<
template
slot-scope=
"scope"
>
¥
<span
class=
"fz15 fbold"
>
{{
moneyFormat
(
scope
.
row
.
totalPrice
)
}}
</span>
</
template
>
</el-table-column>
<el-table-column
label=
"实收"
style=
"background:#EAEAEA"
>
<
template
slot-scope=
"scope"
>
¥
<span
class=
"fz15 fbold"
>
{{
moneyFormat
(
scope
.
row
.
income
)
}}
</span>
</
template
>
</el-table-column>
<el-table-column
label=
"成本"
min-width=
"100"
>
<
template
slot-scope=
"scope"
>
¥
<span
class=
"fz15 fbold"
>
{{
moneyFormat
(
scope
.
row
.
costMoney
)
}}
</span>
</
template
>
</el-table-column>
<el-table-column
label=
"退款"
style=
"background:#EAEAEA"
>
<
template
slot-scope=
"scope"
>
¥
<span
class=
"fz15 fbold"
>
{{
moneyFormat
(
scope
.
row
.
refundMoney
)
}}
</span>
</
template
>
</el-table-column>
<el-table-column
label=
"平台税金"
style=
"background:#EAEAEA"
>
<
template
slot-scope=
"scope"
>
¥
<span
class=
"fz15 fbold"
>
{{
moneyFormat
(
scope
.
row
.
platformTax
)
}}
</span>
</
template
>
</el-table-column>
<el-table-column
label=
"优惠"
style=
"background:#EAEAEA"
>
<
template
slot-scope=
"scope"
>
¥
<span
class=
"fz15 fbold"
>
{{
moneyFormat
(
scope
.
row
.
discountMoney
)
}}
</span>
</
template
>
</el-table-column>
<el-table-column
label=
"待收"
style=
"background:#EAEAEA"
>
<
template
slot-scope=
"scope"
>
<span
:class=
"
{'cF1416C':scope.row.dueInMoney>0}">
¥
<span
class=
"fz15 fbold"
>
{{
moneyFormat
(
scope
.
row
.
dueInMoney
)
}}
</span>
</span>
</
template
>
</el-table-column>
<el-table-column
label=
"提成"
style=
"background:#EAEAEA"
v-if=
"(scope.row.commissionMoney&&scope.row.commissionMoney>0)||(scope.row.opCommission&&scope.row.opCommission>0)"
>
<
template
slot-scope=
"scope"
>
<div
class=
"width100-float-l"
v-if=
"scope.row.commissionMoney&&scope.row.commissionMoney>0"
>
<span
class=
"float-l"
>
销售:
<span
class=
"cF1416C"
>
¥
</span></span>
<commissionDialog
:objNew=
"scope.row"
:OP=
"0"
></commissionDialog>
</div>
<div
class=
"width100-float-l"
v-if=
"scope.row.opCommission&&item.opCommission>0"
>
<span
class=
"float-l"
>
OP:
<span
class=
"cF1416C"
>
¥
</span></span>
<commissionDialog
:objNew=
"scope.row"
:OP=
"1"
></commissionDialog>
</div>
</
template
>
</el-table-column>
<
template
slot=
"append"
>
<div
class=
"row justify-sb"
style=
"padding:10px;"
>
<div
class=
"cF1416C flex-g"
style=
"min-width: 300px;"
>
<div
class=
"row flex-wrap mb"
v-if=
"scope.row.guestList&&scope.row.guestList.length>0"
>
<span
class=
"flex-s"
>
旅客名单:
</span>
<div
class=
"row wrap orderNo fz12 ml"
>
<span
class=
"cursor-pointer radius5 mr px5 bgf5 c3FC4FF"
style=
"margin: 3px;"
v-for=
"(x, i) in scope.row.guestList"
@
click=
"goUrl2('VisapassengerList',scope.row.id,'旅客名单')"
>
{{
x
.
userName
}}
</span>
</div>
</div>
<!-- v-if="(pagesTitle=='OP'&&!scope.row.remark)||scope.row.remark" -->
<div>
{{
$t
(
'pub.pubRemark'
)
}}
:
{{
scope
.
row
.
remark
?
scope
.
row
.
remark
:
'-'
}}
<!-- v-if="pagesTitle=='OP'" -->
<el-tooltip
class=
"item"
effect=
"dark"
:content=
"$t('salesModule.UpRemarks')"
placement=
"top-start"
>
<i
class=
"el-icon-edit cursor-pointer c059FF6 mx"
@
click=
'getDetail(scope.row,true)'
></i>
</el-tooltip>
</div>
</div>
<div
class=
"row justify-sb"
>
<div
class=
"row-c justify-sb px15 bgf5 radius5 flex-g pa relative"
style=
"min-width: 200px;max-width: 400px;"
>
<div
class=
"row-c"
>
<div
class=
"fz12 flex-s"
>
收款单据
</div>
<div
class=
"row wrap orderNo fz12 ml"
>
<span
class=
"cursor-pointer radius5 mr mb px5"
style=
"margin: 3px;"
:class=
"
{'bgD9F3FF':x.status==1,'bgFAEAED':x.status==2,'bjFFF3E0':x.status==3,
'c3FC4FF':x.status==1,'cF1416C':x.status==2,'cff9800':x.status==3}" v-for="(x, i) in scope.row.financeList"
@click="openDetails(x)">
{{
x
.
frID
}}
</span>
<span
v-if=
"scope.row.financeList&&scope.row.financeList.length == 0"
class=
"c9e fz12 mr"
>
暂无
</span>
</div>
</div>
<el-tooltip
v-if=
"scope.row.visaOrderStatus!=2"
class=
"item"
effect=
"dark"
content=
"制单"
placement=
"top"
>
<i
class=
"el-icon-circle-plus cursor-pointer c059FF6"
@
click=
"makeAdocument(scope.row, index, 1)"
></i>
</el-tooltip>
</div>
<div
class=
"row-c justify-sb px15 bgf5 radius5 ml flex-g pa relative"
style=
"min-width: 200px;max-width: 400px;"
>
<div
class=
"row-c"
>
<div
class=
"fz12 flex-s"
>
退款单据
</div>
<div
class=
"row wrap orderNo fz12 ml"
>
<span
class=
"cursor-pointer radius5 mr mb px5"
style=
"margin: 3px;"
:class=
"
{'bgD9F3FF':x.status==1,'bgFAEAED':x.status==2,'bjFFF3E0':x.status==3,
'c3FC4FF':x.status==1,'cF1416C':x.status==2,'cff9800':x.status==3}" v-for="(x, i) in scope.row.refundFinanceList"
@click="openDetails(x)">
{{
x
.
frID
}}
</span>
<span
v-if=
"scope.row.refundFinanceList&&scope.row.refundFinanceList.length == 0"
class=
"c9e fz12 mr"
>
暂无
</span>
</div>
</div>
<el-tooltip
v-if=
"scope.row.visaOrderStatus!=2"
class=
"item"
effect=
"dark"
content=
"制单"
placement=
"top"
>
<i
class=
"el-icon-circle-plus cursor-pointer c059FF6"
@
click=
"makeAdocument(scope.row, index, 2)"
></i>
</el-tooltip>
</div>
<div
class=
"row-c justify-sb px15 bgf5 radius5 ml flex-g pa relative"
style=
"min-width: 200px;max-width: 400px;"
>
<div
class=
"row-c"
>
<div
class=
"fz12 flex-s"
>
成本单据
</div>
<div
class=
"row wrap orderNo fz12 ml"
>
<span
class=
"cursor-pointer radius5 mr mb px5"
style=
"margin: 3px;"
:class=
"
{'bgD9F3FF':x.status==1,'bgFAEAED':x.status==2,'bjFFF3E0':x.status==3,
'c3FC4FF':x.status==1,'cF1416C':x.status==2,'cff9800':x.status==3}" v-for="(x, i) in scope.row.costFinanceList"
@click="openDetails(x)">
{{
x
.
frID
}}
</span>
<span
v-if=
"scope.row.costFinanceList&&scope.row.costFinanceList.length == 0"
class=
"c9e fz12 mr"
>
暂无
</span>
</div>
</div>
<div
class=
"item"
v-if=
"scope.row.visaOrderStatus!=2&& pagesTitle != '销售'"
>
<el-tooltip
class=
""
effect=
"dark"
content=
"制单"
placement=
"top"
>
<i
class=
"el-icon-circle-plus cursor-pointer c059FF6"
@
click=
"makeAdocument(scope.row, index, 3)"
></i>
</el-tooltip>
<el-tooltip
class=
""
effect=
"dark"
content=
"冲抵"
placement=
"top"
>
<i
class=
"el-icon-circle-plus cursor-pointer c3FC4FF"
@
click=
"isOffset(scope.row, index, 3)"
></i>
</el-tooltip>
</div>
</div>
<div
class=
"row wrap px15 bgE8F5E9 radius5 ml fz12 orderop"
style=
"min-width: 150px;"
>
<div
class=
"row-c cursor-pointer radius5 change py5"
@
click=
"goUrlVisaList(scope.row)"
v-if=
"scope.row.VisaPlanIdStr!=''&&pagesTitle!='销售'"
>
<span
class=
"c059FF6"
>
签证详情
</span>
</div>
<div
class=
"row-c cursor-pointer radius5 change py5"
@
click=
"getDetail(scope.row,false)"
v-if=
"scope.row.income
<
=
0
&&(
scope
.
row
.
visaOrderStatus=
=1||scope.row.visaOrderStatus==3)&&scope.row.visaStatus==1&&pagesTitle=='销售'"
>
<span
class=
"c059FF6"
>
{{
$t
(
'system.table_edit'
)
}}
订单
</span>
</div>
<div
class=
"row-c cursor-pointer radius5 cancel py5"
@
click=
'cancelOrder(scope.row)'
v-if=
"scope.row.income
<
=
0
&&(
scope
.
row
.
visaOrderStatus=
=1||scope.row.visaOrderStatus==3)"
>
<span
class=
"cF1416C"
>
{{
$t
(
'pub.cancelBtn'
)
}}
</span>
</div>
<div
class=
"row-c cursor-pointer radius5 change py5"
@
click=
'goUrlT(scope.row)'
v-if=
"(scope.row.visaOrderStatus==1||scope.row.visaOrderStatus==3)&&scope.row.visaStatus==1&&pagesTitle=='销售'"
>
<span
class=
"c059FF6"
>
{{
$t
(
'salesModule.LKMD'
)
}}
</span>
</div>
<div
class=
"row-c cursor-pointer radius5 change1 py5"
@
click=
'goUrlAdd("invoicesManagerAdd", scope.row.id, scope.row.visaId, scope.row.customerId, 2)'
v-if=
"(qjGroupId==userInfo.RB_Group_id || F_InvoiceManagement)&&pagesTitle=='销售'"
>
<span
class=
"c20C997"
>
{{
$t
(
'salesModule.ApplyInvoice'
)
}}
</span>
</div>
<template
v-if=
"pagesTitle!='销售'"
>
<div
class=
"row-c cursor-pointer radius5 cancel py5"
@
click=
"goUrl2('OrderSplitting',scope.row.id,'订单拆分')"
v-if=
"scope.row.peopleNum==scope.row.guestList.length"
>
<span
class=
"cF1416C"
>
订单拆分
</span>
</div>
<div
class=
"row-c cursor-pointer radius5 change py5"
@
click=
'Edit(scope.row)'
v-if=
"IsSupperOrderEdit"
>
<span
class=
"c059FF6"
>
修改金额
</span>
</div>
<div
v-if=
"IsSupperOrderEdit&&pagesTitle!='销售'&&scope.row.isFinish!=1
&&scope.row.income>0&&scope.row.dueInMoney==0"
class=
"row-c cursor-pointer radius5 change py5"
@
click=
'setCompleted(scope.row.id,scope.row)'
v-loading=
"scope.row.loading"
>
<span
class=
"c059FF6"
>
完结
</span>
</div>
</
template
>
</div>
</div>
</div>
</div>
</template>
</el-table>
</div>
</template>
</el-table-column>
</el-table>
<div
class=
"_mc_edit _scrollbar"
:class=
"addShow==true?'edHeight':''"
>
<p
class=
"_tit"
>
{{$t('salesModule.UpOrder')}}
<span
class=
"fr"
>
...
...
@@ -883,6 +917,8 @@ export default {
props
:
[
"OrderList"
,
"pagesTitle"
],
data
()
{
return
{
CompletedLoading
:
false
,
multipleSelection
:
[],
isCommissionDialog
:
false
,
objNew
:{},
queryObj
:
null
,
...
...
@@ -1194,7 +1230,62 @@ export default {
}
});
},
selectable
(
row
,
index
){
if
(
this
.
OrderList
[
index
].
isFinish
!=
1
&&
this
.
OrderList
[
index
].
income
>
0
&&
this
.
OrderList
[
index
].
dueInMoney
==
0
)
{
return
true
;
}
else
{
return
false
;
}
},
handleSelectionChange
(
val
)
{
this
.
multipleSelection
=
val
.
map
(
x
=>
{
return
x
.
id
});
},
setCompleted
(
id
,
row
){
let
ids
=
''
if
(
id
>
0
){
ids
=
id
}
else
{
if
(
this
.
multipleSelection
.
length
==
0
)
return
this
.
$message
.
error
(
'请勾选需要完结的数据'
)
ids
=
this
.
multipleSelection
.
join
(
','
)
}
if
(
ids
==
''
)
{
this
.
$message
.
error
(
'请勾选需要完结的数据'
)
}
this
.
$confirm
(
'是否确认完结?'
,
'提示'
,
{
confirmButtonText
:
'确定'
,
cancelButtonText
:
'取消'
,
type
:
'warning'
}).
then
(()
=>
{
if
(
id
>
0
){
row
.
loading
=
true
}
else
{
this
.
CompletedLoading
=
true
}
this
.
apipost
(
'dmc_post_SetVisaOrderFinish'
,
{
VisaOrderIds
:
ids
},
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
if
(
id
>
0
){
row
.
loading
=
false
}
else
{
this
.
CompletedLoading
=
false
}
this
.
multipleSelection
=
[]
this
.
$message
.
success
(
'操作成功!'
);
this
.
$emit
(
'success'
)
}
else
{
if
(
id
>
0
){
row
.
loading
=
false
}
else
{
this
.
CompletedLoading
=
false
}
this
.
$message
.
error
(
res
.
data
.
message
);
}
},
err
=>
{})
}).
catch
(()
=>
{
this
.
$message
.
info
(
'已取消!'
);
});
},
cancelOrder
(
obj
)
{
this
.
$confirm
(
'是否取消?'
,
'提示'
,
{
confirmButtonText
:
'确定'
,
...
...
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