Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
CRM
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
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
华国豪
CRM
Commits
04078522
Commit
04078522
authored
Oct 08, 2024
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
跳转ERP域名调整
parent
8ca738ae
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
780 additions
and
758 deletions
+780
-758
orderProfits.vue
src/components/customerManage/orderProfits.vue
+651
-647
Agreement copy.vue
src/components/guestManagement/Agreement copy.vue
+53
-47
Agreement.vue
src/components/guestManagement/Agreement.vue
+70
-58
domainManager.js
src/plugins/domainManager.js
+6
-6
No files found.
src/components/customerManage/orderProfits.vue
View file @
04078522
<
template
>
<div
class=
"finance-list-box"
v-loading=
"loading"
>
<div
style=
"font-size:16px;padding: 20px 0 0 0;"
>
订单利润核算表
</div>
<div
class=
"Team_Content"
v-if=
"d"
>
<el-row
:gutter=
"12"
v-if=
"d"
>
<el-col
:span=
"4"
>
<div
class=
"Team_DList"
>
<div
class=
"Team_firstTitle"
>
<span
class=
"Team_comCoinType Team_shou"
>
<i
class=
"iconfont icon-qian"
></i>
</span>
订单收入
</div>
<div
class=
"Team_Incontent"
>
<div>
应收:
<span>
¥
{{
d
.
YSMoney
}}
</span></div>
<div>
实收:
<span
class=
"Team_Coins"
>
¥
{{
d
.
SSMoney
}}
</span></div>
<div>
手续费:
<span
class=
"Team_Coins"
>
¥
{{
d
.
SSFee
}}
</span></div>
<div>
待收:
<span
class=
"Team_Coins"
>
¥
{{
d
.
DSMoney
}}
</span></div>
<div>
注:应收=订单应收总额,实收=订单实收总额(不包含手续费)
</div>
</div>
</div>
</el-col>
<el-col
:span=
"4"
>
<div
class=
"Team_DList"
>
<div
class=
"Team_firstTitle"
>
<span
class=
"Team_comCoinType Team_shou"
>
<i
class=
"iconfont icon-qian"
></i>
</span>
其他收入
</div>
<div
class=
"Team_Incontent"
>
<div>
应收:
<span>
¥
{{
d
.
OtherYS
}}
</span></div>
<div>
实收:
<span
class=
"Team_Coins"
>
¥
{{
d
.
OtherSS
}}
</span></div>
<div>
手续费:
<span
class=
"Team_Coins"
>
¥
{{
d
.
OtherFee
}}
</span></div>
<div>
待收:
<span
class=
"Team_Coins"
>
¥
{{
d
.
OtherDS
}}
</span></div>
<div>
注:统计除订单上主业务外的其他总收入
</div>
</div>
<div
style=
"font-size:16px;padding: 20px 0 0 0;"
>
订单利润核算表
</div>
<div
class=
"Team_Content"
v-if=
"d"
>
<el-row
:gutter=
"12"
v-if=
"d"
>
<el-col
:span=
"4"
>
<div
class=
"Team_DList"
>
<div
class=
"Team_firstTitle"
>
<span
class=
"Team_comCoinType Team_shou"
>
<i
class=
"iconfont icon-qian"
></i>
</span>
订单收入
</div>
<div
class=
"Team_Incontent"
>
<div>
应收:
<span>
¥
{{
d
.
YSMoney
}}
</span></div>
<div>
实收:
<span
class=
"Team_Coins"
>
¥
{{
d
.
SSMoney
}}
</span></div>
<div>
手续费:
<span
class=
"Team_Coins"
>
¥
{{
d
.
SSFee
}}
</span></div>
<div>
待收:
<span
class=
"Team_Coins"
>
¥
{{
d
.
DSMoney
}}
</span></div>
<div>
注:应收=订单应收总额,实收=订单实收总额(不包含手续费)
</div>
</
el-col
>
<el-col
:span=
"4"
>
<div
class=
"Team_DList"
>
<div
class=
"Team_firstTitle
"
>
<span
class=
"Team_comCoinType Team_zhichu
"
>
<i
class=
"iconfont icon-qian"
></i
>
</span>
成本支出
<
/div
>
<div
class=
"Team_Incontent"
>
<div>
应付:
<span>
¥
{{
d
.
CostYFMoney
}}
</span>
</div>
<div>
实付:
<span
class=
"Team_Coins"
>
¥
{{
d
.
CostSFMoney
}}
</span></div
>
<div>
待付:
<span
class=
"Team_Coins"
>
¥
{{
d
.
CostDFMoney
}}
</span></div>
<div>
提成:
<span
class=
"Team_Coins"
>
¥
{{
d
.
Commission
}}
</span></div>
<
div>
注:成本总额+订单提成
</
div>
</div>
</
div
>
</div
>
</el-col
>
<el-col
:span=
"4
"
>
<div
class=
"Team_DList
"
>
<div
class=
"Team_firstTitle"
>
<span
class=
"Team_comCoinType Team_shou"
>
<
i
class=
"iconfont icon-qian"
></i
>
</span>
其他收入
</div>
<div
class=
"Team_Incontent"
>
<div>
应收:
<span>
¥
{{
d
.
OtherYS
}}
</span></div>
<div>
实收:
<span
class=
"Team_Coins"
>
¥
{{
d
.
OtherSS
}}
</span></div>
<div>
手续费:
<span
class=
"Team_Coins"
>
¥
{{
d
.
OtherFee
}}
</span></
div>
<div>
待收:
<span
class=
"Team_Coins"
>
¥
{{
d
.
OtherDS
}}
</span></div>
<
div>
注:统计除订单上主业务外的其他总收入
</div>
</el-col>
<el-col
:span=
"4"
>
<div
class=
"Team_DList"
>
<div
class=
"Team_firstTitle"
>
<span
class=
"Team_comCoinType Team_zhichu"
>
<i
class=
"iconfont icon-qian"
></i>
</span>
退款
</div>
<div
class=
"Team_Incontent"
>
<div>
应退:
<span>
¥
{{
d
.
BackYFMoney
}}
</span></div>
<div>
实退:
<span
class=
"Team_Coins"
>
¥
{{
d
.
BackSFMoney
}}
</span></div>
<div>
待退:
<span
class=
"Team_Coins"
>
¥
{{
d
.
BackDFMoney
}}
</span></div>
<div>
注:订单产生的退款总额
</div>
</div>
</div>
</div>
</el-col>
<el-col
:span=
"4"
>
<div
class=
"Team_DList"
>
<div
class=
"Team_firstTitle"
>
<span
class=
"Team_comCoinType Team_zhichu"
>
<i
class=
"iconfont icon-qian"
></i>
</span>
成本支出
</div>
<div
class=
"Team_Incontent"
>
<div>
应付:
<span>
¥
{{
d
.
CostYFMoney
}}
</span></div>
<div>
实付:
<span
class=
"Team_Coins"
>
¥
{{
d
.
CostSFMoney
}}
</span></div>
<div>
待付:
<span
class=
"Team_Coins"
>
¥
{{
d
.
CostDFMoney
}}
</span></div>
<div>
提成:
<span
class=
"Team_Coins"
>
¥
{{
d
.
Commission
}}
</span></div>
<div>
注:成本总额+订单提成
</div>
</
el-col
>
<el-col
:span=
"4"
>
<div
class=
"Team_DList"
>
<div
class=
"Team_firstTitle
"
>
<span
class=
"Team_comCoinType Team_zhichu
"
>
<i
class=
"iconfont icon-qian"
></i
>
</span>
其他支出
<
/div
>
<div
class=
"Team_Incontent"
>
<div>
应付:
<span>
¥
{{
d
.
OtherYF
}}
</span>
</div>
<div>
实付:
<span
class=
"Team_Coins"
>
¥
{{
d
.
OtherSF
}}
</span></div
>
<div>
待付:
<span
class=
"Team_Coins"
>
¥
{{
d
.
OtherDF
}}
</span></div>
<
div>
注:订单产生的其他项目支出
</
div>
</div>
</
div
>
</div
>
</el-col
>
<el-col
:span=
"4
"
>
<div
class=
"Team_DList
"
>
<div
class=
"Team_firstTitle"
>
<span
class=
"Team_comCoinType Team_zhichu"
>
<
i
class=
"iconfont icon-qian"
></i
>
</span>
退款
</div>
<div
class=
"Team_Incontent"
>
<div>
应退:
<span>
¥
{{
d
.
BackYFMoney
}}
</span></div>
<div>
实退:
<span
class=
"Team_Coins"
>
¥
{{
d
.
BackSFMoney
}}
</span></
div>
<div>
待退:
<span
class=
"Team_Coins"
>
¥
{{
d
.
BackDFMoney
}}
</span></div>
<
div>
注:订单产生的退款总额
</div>
</el-col>
<el-col
:span=
"4"
>
<div
class=
"Team_DList"
>
<div
class=
"Team_firstTitle"
>
<span
class=
"Team_comCoinType Team_lirun"
>
<i
class=
"iconfont icon-qian"
></i>
</span>
利润(计算规则请看注解)
</div>
<div
class=
"Team_Incontent"
>
<div>
实际利润:
<span>
¥
{{
d
.
RealityProfit
}}
</span></div>
<div>
当前利润:
<span
class=
"Team_Coins"
>
¥
{{
d
.
NowProfit
}}
</span></div>
<div>
注:(实收+其他收入)-成本(应付/实付)-其他(应付/实付)-退款(应付/实付)
</div>
</div>
</div>
</div>
</el-col>
<el-col
:span=
"4"
>
<div
class=
"Team_DList"
>
<div
class=
"Team_firstTitle"
>
<span
class=
"Team_comCoinType Team_zhichu"
>
<i
class=
"iconfont icon-qian"
></i>
</span>
其他支出
</div>
<div
class=
"Team_Incontent"
>
<div>
应付:
<span>
¥
{{
d
.
OtherYF
}}
</span></div>
<div>
实付:
<span
class=
"Team_Coins"
>
¥
{{
d
.
OtherSF
}}
</span></div>
<div>
待付:
<span
class=
"Team_Coins"
>
¥
{{
d
.
OtherDF
}}
</span></div>
<div>
注:订单产生的其他项目支出
</div>
</el-col>
</el-row>
</div>
<div
class=
"Team_collection"
v-if=
"d"
>
<div
class=
"clearfix TB_PrintDiv"
>
<div
class=
"TB_comtitle TB-Title"
>
订单收入:
<span>
<span
class=
"span_all"
>
应收:¥
{{
d
.
YSMoney
}}
</span>
<span
class=
"span_all"
>
实收:¥
{{
d
.
SSMoney
}}
</span>
</span>
</div>
</div>
</div>
<table
class=
"singeRowTable"
border=
"0"
cellspacing=
"0"
cellpadding=
"0"
>
<tr>
<th
width=
"180"
>
单号
</th>
<th
width=
"200"
>
费用类型
</th>
<th
width=
"500"
>
交易明细
</th>
<th
width=
"300"
>
金额
</th>
<th
width=
"200"
>
交易日期
</th>
<th
width=
"250"
>
制单人员
</th>
<th
width=
'180'
>
审核状态
</th>
<th
width=
"200"
>
当前审核人
</th>
</tr>
<template
v-if=
"isExsitList(1).length>0"
>
<tr
v-for=
"item in isExsitList(1)"
:key=
"item.FrID"
>
<td><span
class=
"Team_income"
@
click=
"openDetails(item)"
>
{{
item
.
FrID
}}
</span>
</td>
<td><span
v-for=
"(subItem,i) in item.CostTypeList"
:key=
"i"
>
{{
subItem
}}
</span></td>
<td>
<div
v-for=
"childItem in item.TradeWayList"
>
支付方式:
{{
childItem
.
Alias
}}
<span
class=
"TB_Rate"
>
币种:
{{
childItem
.
CurrencyName
}}
</span>
<span
class=
"Team_Coins"
>
{{
childItem
.
OriginalMoney
}}
*
{{
childItem
.
Rate
}}
</span>
<span
class=
"TB_Rate"
>
汇率:
{{
childItem
.
Rate
}}
</span>
</div>
</td>
<td
style=
"font-size:14px;"
>
应收:
{{
item
.
Money
}}
<br
/>
实收:
{{
item
.
PayMoney
}}
</td>
<td>
{{
item
.
TradeDate
}}
</td>
<td>
<div>
{{
item
.
EmName
}}
</div>
<div
class=
"Team_btmDiv"
>
{{
item
.
CreateDate
}}
</div>
</td>
<td>
{{
item
.
StatusStr
}}
</td>
<td>
<div
v-for=
"AuditItem in item.AuditList"
>
{{
AuditItem
.
EmName
}}
<span
class=
"TB_Rate"
>
{{
AuditItem
.
AuditDate
}}
</span>
</div>
</td>
</tr>
</
template
>
<tr
v-else
>
<td
colspan=
"8"
class=
"none-finance"
>
暂无相关单据
</td>
</tr>
</table>
</div>
<div
class=
"Team_collection"
v-if=
"d"
>
<div
class=
"clearfix TB_PrintDiv"
>
<div
class=
"TB_comtitle TB-Title"
>
<div>
其他收入
<span>
<span
class=
"span_all"
>
应收:¥{{d.OtherYS}}
</span>
<span
class=
"span_all"
>
实收:¥{{d.OtherSS}}
</span>
</span>
</el-col>
<el-col
:span=
"4"
>
<div
class=
"Team_DList"
>
<div
class=
"Team_firstTitle"
>
<span
class=
"Team_comCoinType Team_lirun"
>
<i
class=
"iconfont icon-qian"
></i>
</span>
利润(计算规则请看注解)
</div>
<div
class=
"Team_Incontent"
>
<div>
实际利润:
<span>
¥
{{
d
.
RealityProfit
}}
</span></div>
<div>
当前利润:
<span
class=
"Team_Coins"
>
¥
{{
d
.
NowProfit
}}
</span></div>
<div>
注:(实收+其他收入)-成本(应付/实付)-其他(应付/实付)-退款(应付/实付)
</div>
</div>
</div>
<el-button
style=
"float: right;"
size=
"mini"
type=
"primary"
@
click=
"makeAdocument(d,1)"
>
制单
</el-button>
</el-col>
</el-row>
</div>
<div
class=
"Team_collection"
v-if=
"d"
>
<div
class=
"clearfix TB_PrintDiv"
>
<div
class=
"TB_comtitle TB-Title"
>
订单收入:
<span>
<span
class=
"span_all"
>
应收:¥
{{
d
.
YSMoney
}}
</span>
<span
class=
"span_all"
>
实收:¥
{{
d
.
SSMoney
}}
</span>
</span>
</div>
<table
class=
"singeRowTable"
border=
"0"
cellspacing=
"0"
cellpadding=
"0"
>
<tr>
<th
width=
"180"
>
单号
</th>
<th
width=
"200"
>
费用类型
</th>
<th
width=
"500"
>
交易明细
</th>
<th
width=
"300"
>
金额
</th>
<th
width=
"200"
>
交易日期
</th>
<th
width=
"250"
>
制单人员
</th>
<th
width=
'180'
>
审核状态
</th>
<th
width=
"200"
>
当前审核人
</th>
</tr>
<
template
v-if=
"isExsitList(2).length>0"
>
<tr
v-for=
"item in isExsitList(2)"
:key=
"item.FrID"
>
<td><span
class=
"Team_income"
@
click=
"openDetails(item)"
>
{{
item
.
FrID
}}
</span>
</td>
<td><span
v-for=
"(subItem,i) in item.CostTypeList"
:key=
"i"
>
{{
subItem
}}
</span></td>
<td>
<div
v-for=
"childItem in item.TradeWayList"
>
支付方式:
{{
childItem
.
Alias
}}
<span
class=
"TB_Rate"
>
币种:
{{
childItem
.
CurrencyName
}}
</span>
<span
class=
"Team_Coins"
>
{{
childItem
.
OriginalMoney
}}
*
{{
childItem
.
Rate
}}
</span>
<span
class=
"TB_Rate"
>
汇率:
{{
childItem
.
Rate
}}
</span>
</div>
</td>
<td
style=
"font-size:14px;"
>
应收:
{{
item
.
Money
}}
<br
/>
实收:
{{
item
.
PayMoney
}}
</td>
<td>
{{
item
.
TradeDate
}}
</td>
<td>
<div>
{{
item
.
EmName
}}
</div>
<div
class=
"Team_btmDiv"
>
{{
item
.
CreateDate
}}
</div>
</td>
<td>
{{
item
.
StatusStr
}}
</td>
<td>
<div
v-for=
"AuditItem in item.AuditList"
>
{{
AuditItem
.
EmName
}}
<span
class=
"TB_Rate"
>
{{
AuditItem
.
AuditDate
}}
</span>
</div>
</td>
</tr>
</
template
>
<tr
v-else
>
<td
colspan=
"8"
class=
"none-finance"
>
暂无相关单据
</td>
</tr>
</table>
</div>
<div
class=
"Team_collection"
v-if=
"d"
>
<div
class=
"clearfix TB_PrintDiv"
>
<div
class=
"TB_comtitle TB-Title"
>
成本支出:
<span>
<span
class=
"span_all"
>
应付:¥{{d.CostYFMoney}}
</span>
<span
class=
"span_all"
>
实付:¥{{d.CostSFMoney}}
</span>
</span>
</div>
</div>
<table
class=
"singeRowTable"
border=
"0"
cellspacing=
"0"
cellpadding=
"0"
>
<tr>
<th
width=
"180"
>
单号
</th>
<th
width=
"200"
>
费用类型
</th>
<th
width=
"500"
>
交易明细
</th>
<th
width=
"300"
>
金额
</th>
<th
width=
"200"
>
交易日期
</th>
<th
width=
"250"
>
制单人员
</th>
<th
width=
'180'
>
审核状态
</th>
<th
width=
"200"
>
当前审核人
</th>
</tr>
<
template
v-if=
"isExsitList(3).length>0"
>
<tr
v-for=
"item in isExsitList(3)"
:key=
"item.FrID"
>
<td><span
class=
"Team_income"
@
click=
"openDetails(item)"
>
{{
item
.
FrID
}}
</span>
</td>
<td><span
v-for=
"(subItem,i) in item.CostTypeList"
:key=
"i"
>
{{
subItem
}}
</span></td>
<td>
<div
v-for=
"childItem in item.TradeWayList"
>
支付方式:
{{
childItem
.
Alias
}}
<span
class=
"TB_Rate"
>
币种:
{{
childItem
.
CurrencyName
}}
</span>
<span
class=
"Team_Coins"
>
{{
childItem
.
OriginalMoney
}}
*
{{
childItem
.
Rate
}}
</span>
<span
class=
"TB_Rate"
>
汇率:
{{
childItem
.
Rate
}}
</span>
</div>
</td>
<td
style=
"font-size:14px;"
>
应收:
{{
item
.
Money
}}
<br
/>
实收:
{{
item
.
PayMoney
}}
</td>
<td>
{{
item
.
TradeDate
}}
</td>
<td>
<div>
{{
item
.
EmName
}}
</div>
<div
class=
"Team_btmDiv"
>
{{
item
.
CreateDate
}}
</div>
</td>
<td>
{{
item
.
StatusStr
}}
</td>
<td>
<div
v-for=
"AuditItem in item.AuditList"
>
{{
AuditItem
.
EmName
}}
<span
class=
"TB_Rate"
>
{{
AuditItem
.
AuditDate
}}
</span>
</div>
</td>
</tr>
</
template
>
<tr
v-else
>
<td
colspan=
"8"
class=
"none-finance"
>
暂无相关单据
</td>
<table
class=
"singeRowTable"
border=
"0"
cellspacing=
"0"
cellpadding=
"0"
>
<tr>
<th
width=
"180"
>
单号
</th>
<th
width=
"200"
>
费用类型
</th>
<th
width=
"500"
>
交易明细
</th>
<th
width=
"300"
>
金额
</th>
<th
width=
"200"
>
交易日期
</th>
<th
width=
"250"
>
制单人员
</th>
<th
width=
'180'
>
审核状态
</th>
<th
width=
"200"
>
当前审核人
</th>
</tr>
<template
v-if=
"isExsitList(1).length>0"
>
<tr
v-for=
"item in isExsitList(1)"
:key=
"item.FrID"
>
<td><span
class=
"Team_income"
@
click=
"openDetails(item)"
>
{{
item
.
FrID
}}
</span>
</td>
<td><span
v-for=
"(subItem,i) in item.CostTypeList"
:key=
"i"
>
{{
subItem
}}
</span></td>
<td>
<div
v-for=
"childItem in item.TradeWayList"
>
支付方式:
{{
childItem
.
Alias
}}
<span
class=
"TB_Rate"
>
币种:
{{
childItem
.
CurrencyName
}}
</span>
<span
class=
"Team_Coins"
>
{{
childItem
.
OriginalMoney
}}
*
{{
childItem
.
Rate
}}
</span>
<span
class=
"TB_Rate"
>
汇率:
{{
childItem
.
Rate
}}
</span>
</div>
</td>
<td
style=
"font-size:14px;"
>
应收:
{{
item
.
Money
}}
<br
/>
实收:
{{
item
.
PayMoney
}}
</td>
<td>
{{
item
.
TradeDate
}}
</td>
<td>
<div>
{{
item
.
EmName
}}
</div>
<div
class=
"Team_btmDiv"
>
{{
item
.
CreateDate
}}
</div>
</td>
<td>
{{
item
.
StatusStr
}}
</td>
<td>
<div
v-for=
"AuditItem in item.AuditList"
>
{{
AuditItem
.
EmName
}}
<span
class=
"TB_Rate"
>
{{
AuditItem
.
AuditDate
}}
</span>
</div>
</td>
</tr>
</table>
</div>
<div
class=
"Team_collection"
v-if=
"d"
>
<div
class=
"clearfix TB_PrintDiv"
>
<div
class=
"TB_comtitle TB-Title"
>
其他支出:
</
template
>
<tr
v-else
>
<td
colspan=
"8"
class=
"none-finance"
>
暂无相关单据
</td>
</tr>
</table>
</div>
<div
class=
"Team_collection"
v-if=
"d"
>
<div
class=
"clearfix TB_PrintDiv"
>
<div
class=
"TB_comtitle TB-Title"
>
<div>
其他收入
<span>
<span
class=
"span_all"
>
应
付:¥{{d.OtherYF
}}
</span>
<span
class=
"span_all"
>
实
付:¥{{d.OtherSF
}}
</span>
<span
class=
"span_all"
>
应
收:¥{{d.OtherYS
}}
</span>
<span
class=
"span_all"
>
实
收:¥{{d.OtherSS
}}
</span>
</span>
</div>
<el-button
style=
"float: right;"
size=
"mini"
type=
"primary"
@
click=
"makeAdocument(d,3)"
>
制单
</el-button>
</div>
<table
class=
"singeRowTable"
border=
"0"
cellspacing=
"0"
cellpadding=
"0"
>
<tr>
<th
width=
"180"
>
单号
</th>
<th
width=
"200"
>
费用类型
</th>
<th
width=
"500"
>
交易明细
</th>
<th
width=
"300"
>
金额
</th>
<th
width=
"200"
>
交易日期
</th>
<th
width=
"250"
>
制单人员
</th>
<th
width=
'180'
>
审核状态
</th>
<th
width=
"200"
>
当前审核人
</th>
</tr>
<
template
v-if=
"isExsitList(4).length>0"
>
<tr
v-for=
"item in isExsitList(4)"
:key=
"item.FrID"
>
<td><span
class=
"Team_income"
@
click=
"openDetails(item)"
>
{{
item
.
FrID
}}
</span>
</td>
<td><span
v-for=
"(subItem,i) in item.CostTypeList"
:key=
"i"
>
{{
subItem
}}
</span></td>
<td>
<div
v-for=
"childItem in item.TradeWayList"
>
支付方式:
{{
childItem
.
Alias
}}
<span
class=
"TB_Rate"
>
币种:
{{
childItem
.
CurrencyName
}}
</span>
<span
class=
"Team_Coins"
>
{{
childItem
.
OriginalMoney
}}
*
{{
childItem
.
Rate
}}
</span>
<span
class=
"TB_Rate"
>
汇率:
{{
childItem
.
Rate
}}
</span>
</div>
</td>
<td
style=
"font-size:14px;"
>
应收:
{{
item
.
Money
}}
<br
/>
实收:
{{
item
.
PayMoney
}}
</td>
<td>
{{
item
.
TradeDate
}}
</td>
<td>
<div>
{{
item
.
EmName
}}
</div>
<div
class=
"Team_btmDiv"
>
{{
item
.
CreateDate
}}
</div>
</td>
<td>
{{
item
.
StatusStr
}}
</td>
<td>
<div
v-for=
"AuditItem in item.AuditList"
>
{{
AuditItem
.
EmName
}}
<span
class=
"TB_Rate"
>
{{
AuditItem
.
AuditDate
}}
</span>
</div>
</td>
</tr>
</
template
>
<tr
v-else
>
<td
colspan=
"8"
class=
"none-finance"
>
暂无相关单据
</td>
</tr>
</table>
<el-button
style=
"float: right;"
size=
"mini"
type=
"primary"
@
click=
"makeAdocument(d,1)"
>
制单
</el-button>
</div>
<div
class=
"Team_collection"
v-if=
"d"
>
<div
class=
"clearfix TB_PrintDiv"
>
<div
class=
"TB_comtitle TB-Title"
>
退款:
<span>
<span
class=
"span_all"
>
应退:¥{{d.BackYFMoney}}
</span>
<span
class=
"span_all"
>
实退:¥{{d.BackSFMoney}}
</span>
</span>
</div>
<table
class=
"singeRowTable"
border=
"0"
cellspacing=
"0"
cellpadding=
"0"
>
<tr>
<th
width=
"180"
>
单号
</th>
<th
width=
"200"
>
费用类型
</th>
<th
width=
"500"
>
交易明细
</th>
<th
width=
"300"
>
金额
</th>
<th
width=
"200"
>
交易日期
</th>
<th
width=
"250"
>
制单人员
</th>
<th
width=
'180'
>
审核状态
</th>
<th
width=
"200"
>
当前审核人
</th>
</tr>
<
template
v-if=
"isExsitList(2).length>0"
>
<tr
v-for=
"item in isExsitList(2)"
:key=
"item.FrID"
>
<td><span
class=
"Team_income"
@
click=
"openDetails(item)"
>
{{
item
.
FrID
}}
</span>
</td>
<td><span
v-for=
"(subItem,i) in item.CostTypeList"
:key=
"i"
>
{{
subItem
}}
</span></td>
<td>
<div
v-for=
"childItem in item.TradeWayList"
>
支付方式:
{{
childItem
.
Alias
}}
<span
class=
"TB_Rate"
>
币种:
{{
childItem
.
CurrencyName
}}
</span>
<span
class=
"Team_Coins"
>
{{
childItem
.
OriginalMoney
}}
*
{{
childItem
.
Rate
}}
</span>
<span
class=
"TB_Rate"
>
汇率:
{{
childItem
.
Rate
}}
</span>
</div>
</td>
<td
style=
"font-size:14px;"
>
应收:
{{
item
.
Money
}}
<br
/>
实收:
{{
item
.
PayMoney
}}
</td>
<td>
{{
item
.
TradeDate
}}
</td>
<td>
<div>
{{
item
.
EmName
}}
</div>
<div
class=
"Team_btmDiv"
>
{{
item
.
CreateDate
}}
</div>
</td>
<td>
{{
item
.
StatusStr
}}
</td>
<td>
<div
v-for=
"AuditItem in item.AuditList"
>
{{
AuditItem
.
EmName
}}
<span
class=
"TB_Rate"
>
{{
AuditItem
.
AuditDate
}}
</span>
</div>
</td>
</tr>
</
template
>
<tr
v-else
>
<td
colspan=
"8"
class=
"none-finance"
>
暂无相关单据
</td>
</tr>
</table>
</div>
<div
class=
"Team_collection"
v-if=
"d"
>
<div
class=
"clearfix TB_PrintDiv"
>
<div
class=
"TB_comtitle TB-Title"
>
成本支出:
<span>
<span
class=
"span_all"
>
应付:¥{{d.CostYFMoney}}
</span>
<span
class=
"span_all"
>
实付:¥{{d.CostSFMoney}}
</span>
</span>
</div>
<table
class=
"singeRowTable"
border=
"0"
cellspacing=
"0"
cellpadding=
"0"
>
<tr>
<th
width=
"180"
>
单号
</th>
<th
width=
"200"
>
费用类型
</th>
<th
width=
"500"
>
交易明细
</th>
<th
width=
"300"
>
金额
</th>
<th
width=
"200"
>
交易日期
</th>
<th
width=
"250"
>
制单人员
</th>
<th
width=
'180'
>
审核状态
</th>
<th
width=
"200"
>
当前审核人
</th>
</div>
<table
class=
"singeRowTable"
border=
"0"
cellspacing=
"0"
cellpadding=
"0"
>
<tr>
<th
width=
"180"
>
单号
</th>
<th
width=
"200"
>
费用类型
</th>
<th
width=
"500"
>
交易明细
</th>
<th
width=
"300"
>
金额
</th>
<th
width=
"200"
>
交易日期
</th>
<th
width=
"250"
>
制单人员
</th>
<th
width=
'180'
>
审核状态
</th>
<th
width=
"200"
>
当前审核人
</th>
</tr>
<
template
v-if=
"isExsitList(3).length>0"
>
<tr
v-for=
"item in isExsitList(3)"
:key=
"item.FrID"
>
<td><span
class=
"Team_income"
@
click=
"openDetails(item)"
>
{{
item
.
FrID
}}
</span>
</td>
<td><span
v-for=
"(subItem,i) in item.CostTypeList"
:key=
"i"
>
{{
subItem
}}
</span></td>
<td>
<div
v-for=
"childItem in item.TradeWayList"
>
支付方式:
{{
childItem
.
Alias
}}
<span
class=
"TB_Rate"
>
币种:
{{
childItem
.
CurrencyName
}}
</span>
<span
class=
"Team_Coins"
>
{{
childItem
.
OriginalMoney
}}
*
{{
childItem
.
Rate
}}
</span>
<span
class=
"TB_Rate"
>
汇率:
{{
childItem
.
Rate
}}
</span>
</div>
</td>
<td
style=
"font-size:14px;"
>
应收:
{{
item
.
Money
}}
<br
/>
实收:
{{
item
.
PayMoney
}}
</td>
<td>
{{
item
.
TradeDate
}}
</td>
<td>
<div>
{{
item
.
EmName
}}
</div>
<div
class=
"Team_btmDiv"
>
{{
item
.
CreateDate
}}
</div>
</td>
<td>
{{
item
.
StatusStr
}}
</td>
<td>
<div
v-for=
"AuditItem in item.AuditList"
>
{{
AuditItem
.
EmName
}}
<span
class=
"TB_Rate"
>
{{
AuditItem
.
AuditDate
}}
</span>
</div>
</td>
</tr>
<
template
v-if=
"isExsitList(5).length>0"
>
<tr
v-for=
"item in isExsitList(5)"
:key=
"item.FrID"
>
<td><span
class=
"Team_income"
@
click=
"openDetails(item)"
>
{{
item
.
FrID
}}
</span>
</td>
<td><span
v-for=
"(subItem,i) in item.CostTypeList"
:key=
"i"
>
{{
subItem
}}
</span></td>
<td>
<div
v-for=
"childItem in item.TradeWayList"
>
支付方式:
{{
childItem
.
Alias
}}
<span
class=
"TB_Rate"
>
币种:
{{
childItem
.
CurrencyName
}}
</span>
<span
class=
"Team_Coins"
>
{{
childItem
.
OriginalMoney
}}
*
{{
childItem
.
Rate
}}
</span>
<span
class=
"TB_Rate"
>
汇率:
{{
childItem
.
Rate
}}
</span>
</div>
</td>
<td
style=
"font-size:14px;"
>
应收:
{{
item
.
Money
}}
<br
/>
实收:
{{
item
.
PayMoney
}}
</td>
<td>
{{
item
.
TradeDate
}}
</td>
<td>
<div>
{{
item
.
EmName
}}
</div>
<div
class=
"Team_btmDiv"
>
{{
item
.
CreateDate
}}
</div>
</td>
<td>
{{
item
.
StatusStr
}}
</td>
<td>
<div
v-for=
"AuditItem in item.AuditList"
>
{{
AuditItem
.
EmName
}}
<span
class=
"TB_Rate"
>
{{
AuditItem
.
AuditDate
}}
</span>
</div>
</td>
</tr>
</
template
>
<tr
v-else
>
<td
colspan=
"8"
class=
"none-finance"
>
暂无相关单据
</td>
</
template
>
<tr
v-else
>
<td
colspan=
"8"
class=
"none-finance"
>
暂无相关单据
</td>
</tr>
</table>
</div>
<div
class=
"Team_collection"
v-if=
"d"
>
<div
class=
"clearfix TB_PrintDiv"
>
<div
class=
"TB_comtitle TB-Title"
>
其他支出:
<span>
<span
class=
"span_all"
>
应付:¥{{d.OtherYF}}
</span>
<span
class=
"span_all"
>
实付:¥{{d.OtherSF}}
</span>
</span>
</div>
<el-button
style=
"float: right;"
size=
"mini"
type=
"primary"
@
click=
"makeAdocument(d,3)"
>
制单
</el-button>
</div>
<table
class=
"singeRowTable"
border=
"0"
cellspacing=
"0"
cellpadding=
"0"
>
<tr>
<th
width=
"180"
>
单号
</th>
<th
width=
"200"
>
费用类型
</th>
<th
width=
"500"
>
交易明细
</th>
<th
width=
"300"
>
金额
</th>
<th
width=
"200"
>
交易日期
</th>
<th
width=
"250"
>
制单人员
</th>
<th
width=
'180'
>
审核状态
</th>
<th
width=
"200"
>
当前审核人
</th>
</tr>
<
template
v-if=
"isExsitList(4).length>0"
>
<tr
v-for=
"item in isExsitList(4)"
:key=
"item.FrID"
>
<td><span
class=
"Team_income"
@
click=
"openDetails(item)"
>
{{
item
.
FrID
}}
</span>
</td>
<td><span
v-for=
"(subItem,i) in item.CostTypeList"
:key=
"i"
>
{{
subItem
}}
</span></td>
<td>
<div
v-for=
"childItem in item.TradeWayList"
>
支付方式:
{{
childItem
.
Alias
}}
<span
class=
"TB_Rate"
>
币种:
{{
childItem
.
CurrencyName
}}
</span>
<span
class=
"Team_Coins"
>
{{
childItem
.
OriginalMoney
}}
*
{{
childItem
.
Rate
}}
</span>
<span
class=
"TB_Rate"
>
汇率:
{{
childItem
.
Rate
}}
</span>
</div>
</td>
<td
style=
"font-size:14px;"
>
应收:
{{
item
.
Money
}}
<br
/>
实收:
{{
item
.
PayMoney
}}
</td>
<td>
{{
item
.
TradeDate
}}
</td>
<td>
<div>
{{
item
.
EmName
}}
</div>
<div
class=
"Team_btmDiv"
>
{{
item
.
CreateDate
}}
</div>
</td>
<td>
{{
item
.
StatusStr
}}
</td>
<td>
<div
v-for=
"AuditItem in item.AuditList"
>
{{
AuditItem
.
EmName
}}
<span
class=
"TB_Rate"
>
{{
AuditItem
.
AuditDate
}}
</span>
</div>
</td>
</tr>
</table>
</
template
>
<tr
v-else
>
<td
colspan=
"8"
class=
"none-finance"
>
暂无相关单据
</td>
</tr>
</table>
</div>
<div
class=
"Team_collection"
v-if=
"d"
>
<div
class=
"clearfix TB_PrintDiv"
>
<div
class=
"TB_comtitle TB-Title"
>
退款:
<span>
<span
class=
"span_all"
>
应退:¥{{d.BackYFMoney}}
</span>
<span
class=
"span_all"
>
实退:¥{{d.BackSFMoney}}
</span>
</span>
</div>
</div>
<table
class=
"singeRowTable"
border=
"0"
cellspacing=
"0"
cellpadding=
"0"
>
<tr>
<th
width=
"180"
>
单号
</th>
<th
width=
"200"
>
费用类型
</th>
<th
width=
"500"
>
交易明细
</th>
<th
width=
"300"
>
金额
</th>
<th
width=
"200"
>
交易日期
</th>
<th
width=
"250"
>
制单人员
</th>
<th
width=
'180'
>
审核状态
</th>
<th
width=
"200"
>
当前审核人
</th>
</tr>
<
template
v-if=
"isExsitList(5).length>0"
>
<tr
v-for=
"item in isExsitList(5)"
:key=
"item.FrID"
>
<td><span
class=
"Team_income"
@
click=
"openDetails(item)"
>
{{
item
.
FrID
}}
</span>
</td>
<td><span
v-for=
"(subItem,i) in item.CostTypeList"
:key=
"i"
>
{{
subItem
}}
</span></td>
<td>
<div
v-for=
"childItem in item.TradeWayList"
>
支付方式:
{{
childItem
.
Alias
}}
<span
class=
"TB_Rate"
>
币种:
{{
childItem
.
CurrencyName
}}
</span>
<span
class=
"Team_Coins"
>
{{
childItem
.
OriginalMoney
}}
*
{{
childItem
.
Rate
}}
</span>
<span
class=
"TB_Rate"
>
汇率:
{{
childItem
.
Rate
}}
</span>
</div>
</td>
<td
style=
"font-size:14px;"
>
应收:
{{
item
.
Money
}}
<br
/>
实收:
{{
item
.
PayMoney
}}
</td>
<td>
{{
item
.
TradeDate
}}
</td>
<td>
<div>
{{
item
.
EmName
}}
</div>
<div
class=
"Team_btmDiv"
>
{{
item
.
CreateDate
}}
</div>
</td>
<td>
{{
item
.
StatusStr
}}
</td>
<td>
<div
v-for=
"AuditItem in item.AuditList"
>
{{
AuditItem
.
EmName
}}
<span
class=
"TB_Rate"
>
{{
AuditItem
.
AuditDate
}}
</span>
</div>
</td>
</tr>
</
template
>
<tr
v-else
>
<td
colspan=
"8"
class=
"none-finance"
>
暂无相关单据
</td>
</tr>
</table>
</div>
</div>
</template>
<
script
>
export
default
{
props
:
[
"orderId"
,
"GuestId"
],
data
()
{
return
{
loading
:
true
,
d
:
null
,
userInfo
:{}
};
},
mounted
()
{
this
.
userInfo
=
this
.
getLocalStorage
();
this
.
init
();
},
methods
:
{
init
()
{
this
.
apipost2
(
"crm_post_GetCRMGuestOrderCheck"
,
{
OrderId
:
this
.
orderId
},
(
res
)
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
d
=
res
.
data
.
data
;
}
this
.
loading
=
false
;
},
(
err
)
=>
{}
);
export
default
{
props
:
[
"orderId"
,
"GuestId"
],
data
()
{
return
{
loading
:
true
,
d
:
null
,
userInfo
:
{}
};
},
openDetails
(
item
)
{
let
href
;
let
url
=
this
.
domainManager
().
erpRoutingUrl
;
let
data
=
[
{
path
:
"FinancialDocumentsDetail"
,
id
:
item
.
FrID
,
},
];
href
=
url
+
"automaticLogin?token="
+
this
.
getLocalStorage
().
token
+
"&data="
+
JSON
.
stringify
(
data
);
window
.
open
(
href
);
mounted
()
{
this
.
userInfo
=
this
.
getLocalStorage
();
this
.
init
();
},
isExsitList
(
code
)
{
if
(
code
==
1
)
{
return
this
.
d
.
FinanceList
.
filter
(
(
x
)
=>
x
.
ReFinanceId2
==
1
&&
x
.
RelevanceFrId
!=
5
);
}
else
if
(
code
==
2
)
{
return
this
.
d
.
FinanceList
.
filter
(
(
x
)
=>
x
.
ReFinanceId2
==
1
&&
x
.
RelevanceFrId
==
5
);
}
else
if
(
code
==
3
)
{
return
this
.
d
.
FinanceList
.
filter
(
(
x
)
=>
x
.
ReFinanceId2
==
3
&&
x
.
RelevanceFrId
!=
5
);
}
else
if
(
code
==
4
)
{
return
this
.
d
.
FinanceList
.
filter
(
(
x
)
=>
x
.
ReFinanceId2
==
3
&&
x
.
RelevanceFrId
==
5
methods
:
{
init
()
{
this
.
apipost2
(
"crm_post_GetCRMGuestOrderCheck"
,
{
OrderId
:
this
.
orderId
},
(
res
)
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
d
=
res
.
data
.
data
;
}
this
.
loading
=
false
;
},
(
err
)
=>
{}
);
}
else
if
(
code
==
5
)
{
return
this
.
d
.
FinanceList
.
filter
((
x
)
=>
x
.
ReFinanceId2
==
2
);
}
},
// 制作单据
makeAdocument
(
row
,
num
)
{
this
.
makeAdocumentFun
(
row
,
num
);
},
makeAdocumentFun
(
row
,
num
)
{
let
type
;
type
=
num
==
1
?
1
:
2
;
// 1收款 2退款 3成本
let
href
;
let
url
=
this
.
domainManager
().
erpRoutingUrl
;
let
data
;
if
(
this
.
userInfo
.
EmName
==
row
.
EnterName
)
{
if
(
row
.
OrderStatus
!=
"2"
)
{
},
openDetails
(
item
)
{
let
href
;
let
url
=
this
.
domainManager
().
erpRoutingUrl
;
let
data
=
[{
path
:
"FinancialDocumentsDetail"
,
id
:
item
.
FrID
,
},
];
href
=
url
+
"automaticLogin?token="
+
this
.
getLocalStorage
().
token
+
"&data="
+
JSON
.
stringify
(
data
);
window
.
open
(
href
);
},
isExsitList
(
code
)
{
if
(
code
==
1
)
{
return
this
.
d
.
FinanceList
.
filter
(
(
x
)
=>
x
.
ReFinanceId2
==
1
&&
x
.
RelevanceFrId
!=
5
);
}
else
if
(
code
==
2
)
{
return
this
.
d
.
FinanceList
.
filter
(
(
x
)
=>
x
.
ReFinanceId2
==
1
&&
x
.
RelevanceFrId
==
5
);
}
else
if
(
code
==
3
)
{
return
this
.
d
.
FinanceList
.
filter
(
(
x
)
=>
x
.
ReFinanceId2
==
3
&&
x
.
RelevanceFrId
!=
5
);
}
else
if
(
code
==
4
)
{
return
this
.
d
.
FinanceList
.
filter
(
(
x
)
=>
x
.
ReFinanceId2
==
3
&&
x
.
RelevanceFrId
==
5
);
}
else
if
(
code
==
5
)
{
return
this
.
d
.
FinanceList
.
filter
((
x
)
=>
x
.
ReFinanceId2
==
2
);
}
},
// 制作单据
makeAdocument
(
row
,
num
)
{
this
.
makeAdocumentFun
(
row
,
num
);
},
makeAdocumentFun
(
row
,
num
)
{
let
type
;
type
=
num
==
1
?
1
:
2
;
// 1收款 2退款 3成本
let
href
;
let
url
=
this
.
domainManager
().
erpRoutingUrl
;
let
data
;
if
(
this
.
userInfo
.
EmName
==
row
.
EnterName
)
{
if
(
row
.
OrderStatus
!=
"2"
)
{
if
(
num
==
'1'
||
num
==
'3'
)
{
data
=
[
{
path
:
"ChoiceAddFinancialDocuments"
,
type
:
type
,
OtherType
:
55
,
ReFinanceId
:
this
.
orderId
,
ReFinanceId2
:
num
,
GuestId
:
this
.
GuestId
,
RelevanceFrId
:
5
,
// 单据类型 5其他
},
];
data
=
[{
path
:
"ChoiceAddFinancialDocuments"
,
type
:
type
,
OtherType
:
55
,
ReFinanceId
:
this
.
orderId
,
ReFinanceId2
:
num
,
GuestId
:
this
.
GuestId
,
RelevanceFrId
:
5
,
// 单据类型 5其他
},
];
}
if
(
num
==
'2'
)
{
data
=
[
{
path
:
"ChoiceAddFinancialDocuments"
,
type
:
type
,
OtherType
:
55
,
ReFinanceId
:
this
.
orderId
,
ReFinanceId2
:
num
,
GuestId
:
this
.
GuestId
,
},
];
data
=
[{
path
:
"ChoiceAddFinancialDocuments"
,
type
:
type
,
OtherType
:
55
,
ReFinanceId
:
this
.
orderId
,
ReFinanceId2
:
num
,
GuestId
:
this
.
GuestId
,
},
];
}
href
=
url
+
...
...
@@ -500,194 +495,203 @@ export default {
this
.
getLocalStorage
().
token
+
"&data="
+
JSON
.
stringify
(
data
);
window
.
open
(
href
);
window
.
open
(
href
);
}
}
}
}
,
},
},
};
};
</
script
>
<
style
>
.finance-list-box
{
padding
:
0
20px
20px
20px
;
position
:
absolute
;
top
:
54px
;
bottom
:
0
;
left
:
0
;
right
:
0
;
overflow-y
:
auto
;
}
.none-finance
{
height
:
30px
;
text-align
:
center
;
color
:
#666666
;
}
.TB_comtitle
{
color
:
#333333
;
padding-left
:
10px
;
height
:
14px
;
line-height
:
14px
;
font-size
:
14px
;
border-left
:
3px
solid
#4d7afd
;
margin-bottom
:
20px
;
}
.Team_Details
{
margin-top
:
20px
;
font-size
:
12px
;
}
.Team_DList
{
border
:
1px
solid
#e6e6e6
;
background-color
:
#fff
;
margin-top
:
20px
;
padding
:
20px
;
height
:
167px
;
}
.tipTable
tr
td
{
height
:
30px
!important
;
}
.singeRowTable
tr
th
{
height
:
30px
;
text-align
:
left
!important
;
padding-left
:
12px
!important
;
}
.singeRowTable
tr
td
{
border
:
1px
solid
#e5e5e5
;
padding
:
0px
!important
;
padding-left
:
12px
!important
;
font-size
:
13px
;
}
/* .Team_Content .el-col-5 {
.finance-list-box
{
padding
:
0
20px
20px
20px
;
position
:
absolute
;
top
:
54px
;
bottom
:
0
;
left
:
0
;
right
:
0
;
overflow-y
:
auto
;
}
.none-finance
{
height
:
30px
;
text-align
:
center
;
color
:
#666666
;
}
.TB_comtitle
{
color
:
#333333
;
padding-left
:
10px
;
height
:
14px
;
line-height
:
14px
;
font-size
:
14px
;
border-left
:
3px
solid
#4d7afd
;
margin-bottom
:
20px
;
}
.Team_Details
{
margin-top
:
20px
;
font-size
:
12px
;
}
.Team_DList
{
border
:
1px
solid
#e6e6e6
;
background-color
:
#fff
;
margin-top
:
20px
;
padding
:
20px
;
height
:
167px
;
}
.tipTable
tr
td
{
height
:
30px
!important
;
}
.singeRowTable
tr
th
{
height
:
30px
;
text-align
:
left
!important
;
padding-left
:
12px
!important
;
}
.singeRowTable
tr
td
{
border
:
1px
solid
#e5e5e5
;
padding
:
0px
!important
;
padding-left
:
12px
!important
;
font-size
:
13px
;
}
/* .Team_Content .el-col-5 {
margin-right: 18px;
} */
.Team_Coins
{
color
:
#ff9c00
;
}
.Team_income
{
color
:
#4d7afd
;
text-decoration
:
underline
;
cursor
:
pointer
;
}
.TB-Title
{
float
:
left
;
position
:
relative
;
top
:
10px
;
}
.TB-Title.B-Title-fr
{
display
:
flex
;
justify-content
:
space-between
;
}
.Team_ComCoin
{
width
:
60%
;
margin
:
auto
;
text-align
:
left
;
}
.Team_btmDiv
{
margin-top
:
5px
;
}
.Team_collection
{
margin-top
:
40px
;
display
:
flex
;
flex-direction
:
column
;
}
.Team_collection
tr
th
{
border
:
1px
solid
#e5e5e5
;
font-size
:
14px
;
}
.Team_outCome
{
color
:
#ff9c00
;
}
.Team_Pay
{
color
:
#ff5150
;
}
.TeamAddBtn
{
float
:
right
;
margin-bottom
:
10px
;
}
.Team_DList
div
{
margin-bottom
:
8px
;
color
:
#666666
;
}
.Team_firstTitle
{
font-size
:
14px
;
/* font-family: "PingFang-SC-Bold"; */
color
:
#333333
!important
;
}
.Team_comCoinType
{
display
:
inline-block
;
width
:
24px
;
height
:
24px
;
border-radius
:
50%
;
position
:
relative
;
top
:
-1px
;
}
.Team_shou
{
background-color
:
#d7e6ff
;
color
:
#4d7afd
;
}
.Team_firstTitle
span
{
margin-right
:
10px
;
text-align
:
center
;
line-height
:
24px
;
font-size
:
12px
;
vertical-align
:
middle
;
}
.Team_Incontent
{
font-size
:
12px
;
}
.Team_Incontent
span
{
font-size
:
12px
;
font-family
:
"PingFangSC-Fine"
;
}
.Team_zhichu
{
background-color
:
#fde2df
;
color
:
#ff504f
;
}
.Team_lirun
{
background-color
:
#d1f3ea
;
color
:
#1bc594
;
}
.Team_BtnList
{
margin-top
:
30px
;
text-align
:
center
;
}
.TB_Rate
,
.TB_PayMoney
{
margin-left
:
20px
;
}
.TeamBalancePayment
.TB_PrintDiv
{
height
:
40px
;
}
.span_all
{
margin-left
:
15px
;
}
.TeamExpectList
{
max-height
:
105px
;
overflow
:
auto
;
margin-bottom
:
0
!important
;
}
</
style
>
.Team_Coins
{
color
:
#ff9c00
;
}
.Team_income
{
color
:
#4d7afd
;
text-decoration
:
underline
;
cursor
:
pointer
;
}
.TB-Title
{
float
:
left
;
position
:
relative
;
top
:
10px
;
}
.TB-Title.B-Title-fr
{
display
:
flex
;
justify-content
:
space-between
;
}
.Team_ComCoin
{
width
:
60%
;
margin
:
auto
;
text-align
:
left
;
}
.Team_btmDiv
{
margin-top
:
5px
;
}
.Team_collection
{
margin-top
:
40px
;
display
:
flex
;
flex-direction
:
column
;
}
.Team_collection
tr
th
{
border
:
1px
solid
#e5e5e5
;
font-size
:
14px
;
}
.Team_outCome
{
color
:
#ff9c00
;
}
.Team_Pay
{
color
:
#ff5150
;
}
.TeamAddBtn
{
float
:
right
;
margin-bottom
:
10px
;
}
.Team_DList
div
{
margin-bottom
:
8px
;
color
:
#666666
;
}
.Team_firstTitle
{
font-size
:
14px
;
/* font-family: "PingFang-SC-Bold"; */
color
:
#333333
!important
;
}
.Team_comCoinType
{
display
:
inline-block
;
width
:
24px
;
height
:
24px
;
border-radius
:
50%
;
position
:
relative
;
top
:
-1px
;
}
.Team_shou
{
background-color
:
#d7e6ff
;
color
:
#4d7afd
;
}
.Team_firstTitle
span
{
margin-right
:
10px
;
text-align
:
center
;
line-height
:
24px
;
font-size
:
12px
;
vertical-align
:
middle
;
}
.Team_Incontent
{
font-size
:
12px
;
}
.Team_Incontent
span
{
font-size
:
12px
;
font-family
:
"PingFangSC-Fine"
;
}
.Team_zhichu
{
background-color
:
#fde2df
;
color
:
#ff504f
;
}
.Team_lirun
{
background-color
:
#d1f3ea
;
color
:
#1bc594
;
}
.Team_BtnList
{
margin-top
:
30px
;
text-align
:
center
;
}
.TB_Rate
,
.TB_PayMoney
{
margin-left
:
20px
;
}
.TeamBalancePayment
.TB_PrintDiv
{
height
:
40px
;
}
.span_all
{
margin-left
:
15px
;
}
.TeamExpectList
{
max-height
:
105px
;
overflow
:
auto
;
margin-bottom
:
0
!important
;
}
</
style
>
\ No newline at end of file
src/components/guestManagement/Agreement copy.vue
View file @
04078522
...
...
@@ -247,15 +247,15 @@
</el-row>
<el-dropdown
@
command=
"handleCommand"
style=
"top: 1px;"
>
<el-button
plain
icon=
"el-icon-plus"
type=
"primary"
size=
"mini"
class=
"margin-right0"
>
创建订单
</el-button>
创建订单
</el-button>
<el-dropdown-menu
slot=
"dropdown"
>
<el-dropdown-item
command=
"1"
>
机票订单
</el-dropdown-item>
<el-dropdown-item
command=
"2"
>
签证订单
</el-dropdown-item>
<el-dropdown-item
command=
"3"
>
跟团游订单
</el-dropdown-item>
<el-dropdown-item
command=
"4"
>
当地游订单
</el-dropdown-item>
<el-dropdown-item
command=
"5"
>
酒店订单
</el-dropdown-item>
<el-dropdown-item
command=
"6"
>
门票订单
</el-dropdown-item>
<el-dropdown-item
command=
"7"
>
包车订单
</el-dropdown-item>
<el-dropdown-item
command=
"1"
>
机票订单
</el-dropdown-item>
<el-dropdown-item
command=
"2"
>
签证订单
</el-dropdown-item>
<el-dropdown-item
command=
"3"
>
跟团游订单
</el-dropdown-item>
<el-dropdown-item
command=
"4"
>
当地游订单
</el-dropdown-item>
<el-dropdown-item
command=
"5"
>
酒店订单
</el-dropdown-item>
<el-dropdown-item
command=
"6"
>
门票订单
</el-dropdown-item>
<el-dropdown-item
command=
"7"
>
包车订单
</el-dropdown-item>
</el-dropdown-menu>
</el-dropdown>
<!--
<el-button
plain
icon=
"el-icon-plus"
type=
"primary"
size=
"mini"
class=
"margin-right0"
@
click=
"addBusiness"
>
...
...
@@ -326,14 +326,16 @@
</el-table-column>
<el-table-column
label=
"退款"
:width=
"120"
>
<
template
slot-scope=
"scope"
>
{{
scope
.
row
.
BackMoney
}}
<i
v-if=
"scope.row.OrderStatus!=2&&scope.row.OrderStatus!=5&&scope.row.OrderStatus!=6"
{{
scope
.
row
.
BackMoney
}}
<i
v-if=
"scope.row.OrderStatus!=2&&scope.row.OrderStatus!=5&&scope.row.OrderStatus!=6"
@
click=
"makeAdocument(scope.row,scope.$index,2)"
class=
"iconfont iconjia- numIcon"
></i>
</
template
>
</el-table-column>
<el-table-column
label=
"成本"
:width=
"120"
>
<
template
slot-scope=
"scope"
>
<div
class=
"agreement-IncomeMoney-box"
>
{{
scope
.
row
.
PayMoney
}}
<i
v-if=
"scope.row.OrderStatus!=2&&scope.row.OrderStatus!=5&&scope.row.OrderStatus!=6"
{{
scope
.
row
.
PayMoney
}}
<i
v-if=
"scope.row.OrderStatus!=2&&scope.row.OrderStatus!=5&&scope.row.OrderStatus!=6"
@
click=
"makeAdocument(scope.row,scope.$index,3)"
class=
"iconfont iconjia- numIcon"
>
<div
v-show=
"scope.row.cost"
class=
"agreement-IncomeMoney-pop"
>
<div
class=
"float-flag-shape"
></div>
...
...
@@ -362,8 +364,7 @@
</el-table-column>
<el-table-column
label=
"出票状态"
:width=
"90"
>
<
template
slot-scope=
"scope"
>
<span
@
click=
"modifyStatus(scope.row)"
class=
"cp tatusText"
:class=
"scope.row.TicketStatus==1?'grey':
<span
@
click=
"modifyStatus(scope.row)"
class=
"cp tatusText"
:class=
"scope.row.TicketStatus==1?'grey':
(scope.row.TicketStatus==2?'success':
(scope.row.TicketStatus==3?'error':
(scope.row.TicketStatus==4?'cancel':
...
...
@@ -433,8 +434,9 @@
<
template
slot-scope=
"scope"
>
<div
class=
"item-but-box"
>
<div
class=
"enedit-box"
>
<el-tooltip
v-if=
"scope.row.OrderStatus!=2&&scope.row.OrderStatus!=5&&scope.row.OrderStatus!=6"
class=
"item-but"
effect=
"dark"
content=
"编辑订单"
placement=
"top"
>
<el-tooltip
v-if=
"scope.row.OrderStatus!=2&&scope.row.OrderStatus!=5&&scope.row.OrderStatus!=6"
class=
"item-but"
effect=
"dark"
content=
"编辑订单"
placement=
"top"
>
<i
class=
"iconfont iconwenbenbianji cp"
@
click=
"editOrder(scope.row)"
></i>
</el-tooltip>
<div>
...
...
@@ -472,7 +474,7 @@
components
:
{
orderDetailsDrawer
},
props
:
[
"detailsData"
,
"ID"
,
"BusinessType"
],
props
:
[
"detailsData"
,
"ID"
,
"BusinessType"
],
data
()
{
return
{
VisaList
:
[{
...
...
@@ -589,43 +591,45 @@
handleCommand
(
command
)
{
let
data
=
[{
path
:
""
,
LureEmpNmae
:
this
.
detailsData
.
CreateByStr
,
//引流姓名
LureEmpId
:
this
.
detailsData
.
CreateBy
,
//引流id
LureEmpNmae
:
this
.
detailsData
.
CreateByStr
,
//引流姓名
LureEmpId
:
this
.
detailsData
.
CreateBy
,
//引流id
CRMGuestId
:
this
.
ID
,
//客人ID
CRMGuestName
:
this
.
detailsData
.
SurName
+
this
.
detailsData
.
Name
//客人ID
CRMGuestName
:
this
.
detailsData
.
SurName
+
this
.
detailsData
.
Name
//客人ID
}]
let
href
let
url
=
this
.
domainManager
().
erpRoutingUrl
;
if
(
command
==
1
)
{
if
(
command
==
1
)
{
this
.
addBusiness
();
}
else
{
}
else
{
if
(
command
==
2
)
{
data
[
0
].
path
=
'VisaProductAddOrder'
href
=
url
+
"automaticLogin?token="
+
this
.
getLocalStorage
().
token
+
"&data="
+
JSON
.
stringify
(
data
);
}
else
if
(
command
==
3
)
{
href
=
url
+
"automaticLogin?token="
+
this
.
getLocalStorage
().
token
+
"&data="
+
JSON
.
stringify
(
data
);
}
else
if
(
command
==
3
)
{
data
[
0
].
path
=
'productQuery'
href
=
url
+
"automaticLogin?token="
+
this
.
getLocalStorage
().
token
+
"&data="
+
JSON
.
stringify
(
data
);
}
else
if
(
command
==
4
)
{
href
=
url
+
"automaticLogin?token="
+
this
.
getLocalStorage
().
token
+
"&data="
+
JSON
.
stringify
(
data
);
}
else
if
(
command
==
4
)
{
data
[
0
].
path
=
'productQueryOne'
href
=
url
+
"automaticLogin?token="
+
this
.
getLocalStorage
().
token
+
"&data="
+
JSON
.
stringify
(
data
);
}
else
if
(
command
==
5
)
{
href
=
url
+
"automaticLogin?token="
+
this
.
getLocalStorage
().
token
+
"&data="
+
JSON
.
stringify
(
data
);
}
else
if
(
command
==
5
)
{
data
[
0
].
path
=
'singleProductHotelList'
href
=
url
+
"automaticLogin?token="
+
this
.
getLocalStorage
().
token
+
"&data="
+
JSON
.
stringify
(
data
);
}
else
if
(
command
==
6
)
{
href
=
url
+
"automaticLogin?token="
+
this
.
getLocalStorage
().
token
+
"&data="
+
JSON
.
stringify
(
data
);
}
else
if
(
command
==
6
)
{
data
[
0
].
path
=
'SingleticketList'
href
=
url
+
"automaticLogin?token="
+
this
.
getLocalStorage
().
token
+
"&data="
+
JSON
.
stringify
(
data
);
}
else
if
(
command
==
7
)
{
href
=
url
+
"automaticLogin?token="
+
this
.
getLocalStorage
().
token
+
"&data="
+
JSON
.
stringify
(
data
);
}
else
if
(
command
==
7
)
{
data
[
0
].
path
=
'BookAcarList'
href
=
url
+
"automaticLogin?token="
+
this
.
getLocalStorage
().
token
+
"&data="
+
JSON
.
stringify
(
data
);
href
=
url
+
"automaticLogin?token="
+
this
.
getLocalStorage
().
token
+
"&data="
+
JSON
.
stringify
(
data
);
}
if
(
href
)
{
if
(
href
)
{
window
.
open
(
href
);
}
}
},
// 清空下拉
...
...
@@ -720,7 +724,7 @@
}
},
// 修改日期
modifiedDate
(
row
){
modifiedDate
(
row
)
{
let
$this
=
this
this
.
MsgBus
.
$emit
(
"modifiedDateOrderBoxOpen"
,
$this
.
ID
,
row
,
true
);
},
...
...
@@ -947,7 +951,7 @@
ReFinanceId
:
row
.
OrderId
,
ReFinanceId2
:
num
,
GuestId
:
row
.
GuestId
,
RelevanceFrId
:
num
==
2
?
1
:
row
.
OrderType
,
// 单据类型
RelevanceFrId
:
num
==
2
?
1
:
row
.
OrderType
,
// 单据类型
}]
href
=
url
+
'automaticLogin?token='
+
this
.
getLocalStorage
().
token
+
'&data='
+
JSON
.
stringify
(
data
)
...
...
@@ -1054,7 +1058,8 @@
if
(
this
.
userInfo
.
EmployeeId
!=
row
.
EnterID
&&
this
.
userInfo
.
EmployeeId
!=
row
.
CreateBy
)
{
this
.
ValidateOperator
()
}
else
{
if
(
row
.
OrderStatus
==
1
&&
(
row
.
TicketStatus
==
1
||
row
.
TicketStatus
==
5
)
||
(
row
.
visaStatus
==
0
||
row
.
visaStatus
==
1
))
{
if
(
row
.
OrderStatus
==
1
&&
(
row
.
TicketStatus
==
1
||
row
.
TicketStatus
==
5
)
||
(
row
.
visaStatus
==
0
||
row
.
visaStatus
==
1
))
{
let
$this
=
this
;
this
.
MsgBus
.
$emit
(
"editOrderTicketOrderBoxOpen"
,
$this
.
ID
,
row
,
true
);
}
else
{
...
...
@@ -1067,15 +1072,14 @@
if
(
this
.
userInfo
.
EmployeeId
!=
row
.
EnterID
&&
this
.
userInfo
.
EmployeeId
!=
row
.
CreateBy
)
{
this
.
ValidateOperator
()
}
else
{
if
(
row
.
OrderStatus
==
1
&&
(
row
.
TicketStatus
==
1
||
row
.
TicketStatus
==
5
)
||
(
row
.
visaStatus
==
0
||
row
.
visaStatus
==
1
))
{
if
(
row
.
OrderStatus
==
1
&&
(
row
.
TicketStatus
==
1
||
row
.
TicketStatus
==
5
)
||
(
row
.
visaStatus
==
0
||
row
.
visaStatus
==
1
))
{
let
$this
=
this
;
this
.
MsgBus
.
$emit
(
"editTicketOrderBoxOpen"
,
$this
.
ID
,
row
,
true
);
}
else
{
this
.
emptyMore
()
}
}
},
openDetails
(
row
)
{
let
href
...
...
@@ -1175,14 +1179,15 @@
{
Name
:
'订单收损'
,
Id
:
'8'
,
show
:
item
.
OrderStatus
!=
2
&&
show
:
item
.
OrderStatus
!=
2
&&
item
.
OrderStatus
!=
6
?
true
:
false
},
{
Name
:
'收损完结'
,
Id
:
'9'
,
show
:
(
item
.
OrderStatus
==
3
||
item
.
OrderStatus
==
4
)
&&
item
.
DueinMoney
==
0
?
true
:
false
show
:
(
item
.
OrderStatus
==
3
||
item
.
OrderStatus
==
4
)
&&
item
.
DueinMoney
==
0
?
true
:
false
},
{
Name
:
'订单完结'
,
...
...
@@ -1198,7 +1203,8 @@
{
Name
:
"修改日期"
,
Id
:
"10"
,
show
:
item
.
OrderType
&&
item
.
OrderType
.
indexOf
(
1
)
!=
-
1
?
true
:
false
,
show
:
item
.
OrderType
&&
item
.
OrderType
.
indexOf
(
1
)
!=
-
1
?
true
:
false
,
}
]
});
...
...
src/components/guestManagement/Agreement.vue
View file @
04078522
...
...
@@ -218,7 +218,8 @@
<el-col
:span=
"8"
>
<div
style=
"display: flex;flex-direction: row;align-items: center;"
>
<span
class=
"font-size-12"
style=
"padding-right: 10px;flex-shrink: 0;"
>
订单类型:
</span>
<el-select
size=
"mini"
width=
"200"
v-model=
"msg.OrderType"
placeholder=
"请选择"
@
change=
"handleCurrentChange(1)"
>
<el-select
size=
"mini"
width=
"200"
v-model=
"msg.OrderType"
placeholder=
"请选择"
@
change=
"handleCurrentChange(1)"
>
<el-option
v-for=
"item in OrderTypeList"
:key=
"item.Id"
:label=
"item.Name"
:value=
"item.Id"
>
</el-option>
</el-select>
...
...
@@ -237,15 +238,15 @@
</el-row>
<el-dropdown
@
command=
"handleCommand"
style=
"top: 1px;"
>
<el-button
plain
icon=
"el-icon-plus"
type=
"primary"
size=
"mini"
class=
"margin-right0"
>
创建订单
</el-button>
创建订单
</el-button>
<el-dropdown-menu
slot=
"dropdown"
>
<el-dropdown-item
command=
"1"
>
机票订单
</el-dropdown-item>
<el-dropdown-item
command=
"2"
>
签证订单
</el-dropdown-item>
<el-dropdown-item
command=
"3"
>
跟团游订单
</el-dropdown-item>
<el-dropdown-item
command=
"4"
>
当地游订单
</el-dropdown-item>
<el-dropdown-item
command=
"5"
>
酒店订单
</el-dropdown-item>
<el-dropdown-item
command=
"6"
>
门票订单
</el-dropdown-item>
<el-dropdown-item
command=
"7"
>
包车订单
</el-dropdown-item>
<el-dropdown-item
command=
"1"
>
机票订单
</el-dropdown-item>
<el-dropdown-item
command=
"2"
>
签证订单
</el-dropdown-item>
<el-dropdown-item
command=
"3"
>
跟团游订单
</el-dropdown-item>
<el-dropdown-item
command=
"4"
>
当地游订单
</el-dropdown-item>
<el-dropdown-item
command=
"5"
>
酒店订单
</el-dropdown-item>
<el-dropdown-item
command=
"6"
>
门票订单
</el-dropdown-item>
<el-dropdown-item
command=
"7"
>
包车订单
</el-dropdown-item>
</el-dropdown-menu>
</el-dropdown>
</div>
...
...
@@ -273,7 +274,7 @@
orderList
,
orderDetailsDrawer
},
props
:
[
"detailsData"
,
"ID"
,
"BusinessType"
],
props
:
[
"detailsData"
,
"ID"
,
"BusinessType"
],
data
()
{
return
{
title
:
'详情'
,
...
...
@@ -332,11 +333,20 @@
Id
:
'3'
},
],
OrderStatusList
:
[
{
Name
:
'不限'
,
Id
:
0
},
{
Name
:
'正常'
,
Id
:
1
},
{
Name
:
'取消'
,
Id
:
2
}],
//订单状态
OrderTypeList
:[],
OrderStatusList
:
[{
Name
:
'不限'
,
Id
:
0
},
{
Name
:
'正常'
,
Id
:
1
},
{
Name
:
'取消'
,
Id
:
2
}
],
//订单状态
OrderTypeList
:
[],
ticketingStatusList
:
[],
// 出票状态
dataList
:
[],
loading
:
false
,
...
...
@@ -359,22 +369,22 @@
EnterId
:
'0'
,
//业务员id
OrderState
:
1
,
//订单状态
Q_IsCollect
:
"0"
,
//收款状态
StartTime
:
""
,
//报名开始日期
EndTime
:
""
,
//报名结束日期
StartTime
:
""
,
//报名开始日期
EndTime
:
""
,
//报名结束日期
IsMyOrder
:
"1"
,
//我的订单
FinishSTime
:
""
,
//完结开始时间
FinishETime
:
""
,
//完结结束时间
DepartSTime
:
""
,
//出发开始
DepartETime
:
""
,
//出发结束
TCNUM
:
""
,
//团号
ProductName
:
""
,
//商品名称
CustomerName
:
""
,
//客户名称
LureEmpId
:
0
,
//引流人员
LineId
:
0
,
//线路
TravelType
:
0
,
//跟团类型 1跟团 2当地游
OrderType
:
"0"
,
//订单类型
IsSelectCRM
:
1
,
//1来源crm
IsMyOrder
:
0
,
//1我的订单
FinishSTime
:
""
,
//完结开始时间
FinishETime
:
""
,
//完结结束时间
DepartSTime
:
""
,
//出发开始
DepartETime
:
""
,
//出发结束
TCNUM
:
""
,
//团号
ProductName
:
""
,
//商品名称
CustomerName
:
""
,
//客户名称
LureEmpId
:
0
,
//引流人员
LineId
:
0
,
//线路
TravelType
:
0
,
//跟团类型 1跟团 2当地游
OrderType
:
"0"
,
//订单类型
IsSelectCRM
:
1
,
//1来源crm
IsMyOrder
:
0
,
//1我的订单
},
total
:
0
,
currentOrder
:
null
,
...
...
@@ -420,43 +430,45 @@
handleCommand
(
command
)
{
let
data
=
[{
path
:
""
,
LureEmpNmae
:
this
.
detailsData
.
CreateByStr
,
//引流姓名
LureEmpId
:
this
.
detailsData
.
CreateBy
,
//引流id
LureEmpNmae
:
this
.
detailsData
.
CreateByStr
,
//引流姓名
LureEmpId
:
this
.
detailsData
.
CreateBy
,
//引流id
CRMGuestId
:
this
.
ID
,
//客人ID
CRMGuestName
:
this
.
detailsData
.
SurName
+
this
.
detailsData
.
Name
//客人ID
CRMGuestName
:
this
.
detailsData
.
SurName
+
this
.
detailsData
.
Name
//客人ID
}]
let
href
let
url
=
this
.
domainManager
().
erpRoutingUrl
;
if
(
command
==
1
)
{
if
(
command
==
1
)
{
this
.
addBusiness
();
}
else
{
}
else
{
if
(
command
==
2
)
{
data
[
0
].
path
=
'VisaProductAddOrder'
href
=
url
+
"automaticLogin?token="
+
this
.
getLocalStorage
().
token
+
"&data="
+
JSON
.
stringify
(
data
);
}
else
if
(
command
==
3
)
{
href
=
url
+
"automaticLogin?token="
+
this
.
getLocalStorage
().
token
+
"&data="
+
JSON
.
stringify
(
data
);
}
else
if
(
command
==
3
)
{
data
[
0
].
path
=
'productQuery'
href
=
url
+
"automaticLogin?token="
+
this
.
getLocalStorage
().
token
+
"&data="
+
JSON
.
stringify
(
data
);
}
else
if
(
command
==
4
)
{
href
=
url
+
"automaticLogin?token="
+
this
.
getLocalStorage
().
token
+
"&data="
+
JSON
.
stringify
(
data
);
}
else
if
(
command
==
4
)
{
data
[
0
].
path
=
'productQueryOne'
href
=
url
+
"automaticLogin?token="
+
this
.
getLocalStorage
().
token
+
"&data="
+
JSON
.
stringify
(
data
);
}
else
if
(
command
==
5
)
{
href
=
url
+
"automaticLogin?token="
+
this
.
getLocalStorage
().
token
+
"&data="
+
JSON
.
stringify
(
data
);
}
else
if
(
command
==
5
)
{
data
[
0
].
path
=
'singleProductHotelList'
href
=
url
+
"automaticLogin?token="
+
this
.
getLocalStorage
().
token
+
"&data="
+
JSON
.
stringify
(
data
);
}
else
if
(
command
==
6
)
{
href
=
url
+
"automaticLogin?token="
+
this
.
getLocalStorage
().
token
+
"&data="
+
JSON
.
stringify
(
data
);
}
else
if
(
command
==
6
)
{
data
[
0
].
path
=
'SingleticketList'
href
=
url
+
"automaticLogin?token="
+
this
.
getLocalStorage
().
token
+
"&data="
+
JSON
.
stringify
(
data
);
}
else
if
(
command
==
7
)
{
href
=
url
+
"automaticLogin?token="
+
this
.
getLocalStorage
().
token
+
"&data="
+
JSON
.
stringify
(
data
);
}
else
if
(
command
==
7
)
{
data
[
0
].
path
=
'BookAcarList'
href
=
url
+
"automaticLogin?token="
+
this
.
getLocalStorage
().
token
+
"&data="
+
JSON
.
stringify
(
data
);
href
=
url
+
"automaticLogin?token="
+
this
.
getLocalStorage
().
token
+
"&data="
+
JSON
.
stringify
(
data
);
}
if
(
href
)
{
if
(
href
)
{
window
.
open
(
href
);
}
}
},
// 清空下拉
...
...
@@ -551,7 +563,7 @@
}
},
// 修改日期
modifiedDate
(
row
){
modifiedDate
(
row
)
{
let
$this
=
this
this
.
MsgBus
.
$emit
(
"modifiedDateOrderBoxOpen"
,
$this
.
ID
,
row
,
true
);
},
...
...
@@ -778,7 +790,7 @@
ReFinanceId
:
row
.
OrderId
,
ReFinanceId2
:
num
,
GuestId
:
row
.
GuestId
,
RelevanceFrId
:
num
==
2
?
1
:
row
.
OrderType
,
// 单据类型
RelevanceFrId
:
num
==
2
?
1
:
row
.
OrderType
,
// 单据类型
}]
href
=
url
+
'automaticLogin?token='
+
this
.
getLocalStorage
().
token
+
'&data='
+
JSON
.
stringify
(
data
)
...
...
@@ -885,7 +897,8 @@
if
(
this
.
userInfo
.
EmployeeId
!=
row
.
EnterID
&&
this
.
userInfo
.
EmployeeId
!=
row
.
CreateBy
)
{
this
.
ValidateOperator
()
}
else
{
if
(
row
.
OrderStatus
==
1
&&
(
row
.
TicketStatus
==
1
||
row
.
TicketStatus
==
5
)
||
(
row
.
visaStatus
==
0
||
row
.
visaStatus
==
1
))
{
if
(
row
.
OrderStatus
==
1
&&
(
row
.
TicketStatus
==
1
||
row
.
TicketStatus
==
5
)
||
(
row
.
visaStatus
==
0
||
row
.
visaStatus
==
1
))
{
let
$this
=
this
;
this
.
MsgBus
.
$emit
(
"editOrderTicketOrderBoxOpen"
,
$this
.
ID
,
row
,
true
);
}
else
{
...
...
@@ -898,15 +911,14 @@
if
(
this
.
userInfo
.
EmployeeId
!=
row
.
EnterID
&&
this
.
userInfo
.
EmployeeId
!=
row
.
CreateBy
)
{
this
.
ValidateOperator
()
}
else
{
if
(
row
.
OrderStatus
==
1
&&
(
row
.
TicketStatus
==
1
||
row
.
TicketStatus
==
5
)
||
(
row
.
visaStatus
==
0
||
row
.
visaStatus
==
1
))
{
if
(
row
.
OrderStatus
==
1
&&
(
row
.
TicketStatus
==
1
||
row
.
TicketStatus
==
5
)
||
(
row
.
visaStatus
==
0
||
row
.
visaStatus
==
1
))
{
let
$this
=
this
;
this
.
MsgBus
.
$emit
(
"editTicketOrderBoxOpen"
,
$this
.
ID
,
row
,
true
);
}
else
{
this
.
emptyMore
()
}
}
},
openDetails
(
row
)
{
let
href
...
...
src/plugins/domainManager.js
View file @
04078522
...
...
@@ -18,17 +18,17 @@ export default function () {
domainPostUrl
=
"http://testapi.oytour.com"
}
}
let
erp
Routing
Url
=
""
;
let
erp
Site
Url
=
""
;
var
storageUser
=
this
.
getLocalStorage
();
if
(
locationName
.
indexOf
(
'oytour'
)
!==
-
1
||
locationName
.
indexOf
(
'testb2b.oytour.com'
)
!==
-
1
)
{
erp
Routing
Url
=
"http://admin.oytour.com/#/"
;
erp
Site
Url
=
"http://admin.oytour.com/#/"
;
if
(
storageUser
&&
storageUser
.
ERPUrl
)
{
erp
Routing
Url
=
storageUser
.
ERPUrl
+
"/#/"
;
erp
Site
Url
=
storageUser
.
ERPUrl
+
"/#/"
;
}
}
else
{
erp
Routing
Url
=
"http://localhost:8080/#/"
;
erp
Site
Url
=
"http://localhost:8080/#/"
;
if
(
storageUser
&&
storageUser
.
ERPUrl
)
{
erp
Routing
Url
=
storageUser
.
ERPUrl
+
"/#/"
;
erp
Site
Url
=
storageUser
.
ERPUrl
+
"/#/"
;
}
}
...
...
@@ -46,7 +46,7 @@ export default function () {
javaUrl
:
locationName
.
indexOf
(
'testb2b'
)
==
-
1
?
"http://efficient.oytour.com"
:
locationName
.
indexOf
(
'testb2b.oytour.com'
)
!==
-
1
?
"http://47.96.12.235:9001"
:
"http://192.168.10.215:9000"
,
ViittoFileUrl
:
locationName
.
indexOf
(
'oytour'
)
!==
-
1
||
locationName
.
indexOf
(
'testb2b.oytour.com'
)
!==
-
1
?
"http://staticfile.oytour.com"
:
'http://192.168.10.214:8130'
,
UploadUrl
:
locationName
.
indexOf
(
'oytour'
)
!==
-
1
||
locationName
.
indexOf
(
'testb2b.oytour.com'
)
!==
-
1
?
"http://uploadfile.oytour.com"
:
"http://192.168.10.214:8120"
,
erpRoutingUrl
:
erp
Routing
Url
erpRoutingUrl
:
erp
Site
Url
};
return
obj
;
}
\ No newline at end of file
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