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
64b82111
Commit
64b82111
authored
Jul 18, 2019
by
华国豪
🙄
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
改了领队报账的一些东西
parent
bcc638c0
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
298 additions
and
27 deletions
+298
-27
leaderManagement.vue
src/components/LeaderManagement/leaderManagement.vue
+5
-4
CustomerCertification.vue
src/components/SalesModule/CustomerCertification.vue
+35
-4
dmcTotalTable.vue
src/components/dmc/manager/dmcTotalTable.vue
+29
-3
leaderPay2.vue
src/components/leaderPay2.vue
+227
-14
config.js
src/router/config.js
+2
-2
No files found.
src/components/LeaderManagement/leaderManagement.vue
View file @
64b82111
...
@@ -111,7 +111,7 @@
...
@@ -111,7 +111,7 @@
color
:
#333
;
color
:
#333
;
}
}
.guideMg
.midList
{
.guideMg
.midList
{
margin-top
:
16px
;
margin-top
:
0
;
}
}
.guideMg
.icon-dianhua
,
.guideMg
.icon-zuoji
{
.guideMg
.icon-dianhua
,
.guideMg
.icon-zuoji
{
color
:
#47bf8c
;
color
:
#47bf8c
;
...
@@ -309,7 +309,7 @@
...
@@ -309,7 +309,7 @@
</ul>
</ul>
</div>
</div>
<div
class=
"contentDiv clearfix"
>
<div
class=
"contentDiv clearfix"
>
<div
class=
"listDiv"
v-for=
"
item in DataList"
:key=
"item.Code
"
>
<div
class=
"listDiv"
v-for=
"
(item, index) in DataList"
:key=
"index
"
>
<div
class=
"topInfo clearfix"
v-if=
"item.Type === 3"
>
<div
class=
"topInfo clearfix"
v-if=
"item.Type === 3"
>
<div
class=
"_sanjiao_"
v-if=
"item.LeaderGuidClass==1"
></div>
<div
class=
"_sanjiao_"
v-if=
"item.LeaderGuidClass==1"
></div>
<div
class=
"leftImg"
>
<div
class=
"leftImg"
>
...
@@ -334,11 +334,11 @@
...
@@ -334,11 +334,11 @@
</div>
</div>
<div
class=
"nainfo"
v-if=
"!item.LeaderGuidClass"
>
{{
$t
(
'admin.admin_ming'
)
}}
:
<span
class=
"naIn"
>
{{
item
.
Name
}}
/
{{
item
.
EnName
}}
</span></div>
<div
class=
"nainfo"
v-if=
"!item.LeaderGuidClass"
>
{{
$t
(
'admin.admin_ming'
)
}}
:
<span
class=
"naIn"
>
{{
item
.
Name
}}
/
{{
item
.
EnName
}}
</span></div>
<div
class=
"midList"
v-if=
"!item.LeaderGuidClass"
>
{{
$t
(
'system.table_sex'
)
}}
:
{{
item
.
Sex
==
0
?
'男/M'
:
'女/F'
}}
</div>
<div
class=
"midList"
v-if=
"!item.LeaderGuidClass"
>
{{
$t
(
'system.table_sex'
)
}}
:
{{
item
.
Sex
==
0
?
'男/M'
:
'女/F'
}}
</div>
<div
v-if=
"!item.LeaderGuidClass"
>
{{
$t
(
'system.query_goCoun'
)
}}
:
{{
item
.
CountryName
}}
</div>
<div
v-if=
"!item.LeaderGuidClass"
>
{{
$t
(
'system.query_goCoun'
)
}}
:
{{
item
.
CountryName
}}
</div>
<el-tooltip
class=
"item"
effect=
"dark"
:content=
"item.LanguageName"
placement=
"top-start"
popper-class=
"max-w200"
v-if=
"!item.LeaderGuidClass"
>
<el-tooltip
class=
"item"
effect=
"dark"
:content=
"item.LanguageName"
placement=
"top-start"
popper-class=
"max-w200"
v-if=
"!item.LeaderGuidClass"
>
<div
class=
"lagurage"
v-if=
"item.Type==3"
>
{{
$t
(
'system.query_Language'
)
}}
:
{{
item
.
LanguageName
}}
<div
class=
"lagurage"
v-if=
"item.Type==3"
>
{{
$t
(
'system.query_Language'
)
}}
:
{{
item
.
LanguageName
}}
</div>
</div>
</el-tooltip>
</el-tooltip>
</div>
</div>
<div
class=
"clearfix botmInfo"
v-if=
"!item.LeaderGuidClass"
>
<div
class=
"clearfix botmInfo"
v-if=
"!item.LeaderGuidClass"
>
<div
class=
"leftCode"
>
<div
class=
"leftCode"
>
...
@@ -375,6 +375,7 @@
...
@@ -375,6 +375,7 @@
<div
class=
"nainfo"
>
{{
$t
(
'admin.admin_ming'
)
}}
:
<span
class=
"naIn"
>
{{
item
.
Name
}}
/
{{
item
.
EnName
}}
</span></div>
<div
class=
"nainfo"
>
{{
$t
(
'admin.admin_ming'
)
}}
:
<span
class=
"naIn"
>
{{
item
.
Name
}}
/
{{
item
.
EnName
}}
</span></div>
<div
class=
"midList"
>
{{
$t
(
'system.table_sex'
)
}}
:
{{
item
.
Sex
==
0
?
'男/M'
:
'女/F'
}}
</div>
<div
class=
"midList"
>
{{
$t
(
'system.table_sex'
)
}}
:
{{
item
.
Sex
==
0
?
'男/M'
:
'女/F'
}}
</div>
<div>
{{
$t
(
'system.query_goCoun'
)
}}
:
{{
item
.
CountryName
}}
</div>
<div>
{{
$t
(
'system.query_goCoun'
)
}}
:
{{
item
.
CountryName
}}
</div>
<div>
带团数:
{{
item
.
TourNum
}}
</div>
<el-tooltip
class=
"item"
effect=
"dark"
:content=
"item.LanguageName"
placement=
"top-start"
popper-class=
"max-w200"
>
<el-tooltip
class=
"item"
effect=
"dark"
:content=
"item.LanguageName"
placement=
"top-start"
popper-class=
"max-w200"
>
<div
class=
"lagurage"
v-if=
"item.Type==3"
>
{{
$t
(
'system.query_Language'
)
}}
:
{{
item
.
LanguageName
}}
<div
class=
"lagurage"
v-if=
"item.Type==3"
>
{{
$t
(
'system.query_Language'
)
}}
:
{{
item
.
LanguageName
}}
</div>
</div>
...
...
src/components/SalesModule/CustomerCertification.vue
View file @
64b82111
<
template
>
<
template
>
<div
class=
"CertificationDetail"
>
<div
class=
"CertificationDetail"
>
<div>
<div>
<div
<div
:class=
"
{salesApprovalLayercontentDiv:showlayer,rightZero:isTransition}"
:class=
"
{salesApprovalLayercontentDiv:showlayer,rightZero:isTransition}"
class="ownScrollbarStyle"
class="ownScrollbarStyle"
...
@@ -81,6 +81,19 @@
...
@@ -81,6 +81,19 @@
type=
"date"
type=
"date"
></el-date-picker>
></el-date-picker>
</li>
</li>
<li>
<span>
<em>
{{
$t
(
'system.query_company'
)
}}
</em>
<el-select
filterable
v-model=
'msg.RB_Branch_Id'
>
<el-option
:value=
"-2"
:label=
"$t('pub.unlimitedSel')"
></el-option>
<el-option
v-for=
'item in CompanyList'
:label=
'item.BName'
:value=
'item.Id'
:key=
'item.Id'
>
</el-option>
</el-select>
</span>
</li>
<li>
<li>
<span>
<span>
<em>
状态
</em>
<em>
状态
</em>
...
@@ -113,18 +126,20 @@
...
@@ -113,18 +126,20 @@
<th
width=
"10%"
>
门店名称
</th>
<th
width=
"10%"
>
门店名称
</th>
<th
width=
"10%"
>
联系人
</th>
<th
width=
"10%"
>
联系人
</th>
<th
width=
"10%"
>
电话
</th>
<th
width=
"10%"
>
电话
</th>
<th
width=
"10%"
>
交易金额
</th>
<th
width=
"10%"
>
地址
</th>
<th
width=
"10%"
>
地址
</th>
<th
width=
"10%"
>
申请时间
</th>
<th
width=
"10%"
>
申请时间
</th>
<th
width=
"10%"
>
申请状态
</th>
<th
width=
"10%"
>
申请状态
</th>
<th
width=
"10%"
>
操作
</th>
<th
width=
"10%"
>
操作
</th>
</tr>
</tr>
<tr>
<tr>
<td
colspan=
"
6
"
align=
"center"
v-show=
"list.length==0"
>
暂无数据
</td>
<td
colspan=
"
8
"
align=
"center"
v-show=
"list.length==0"
>
暂无数据
</td>
</tr>
</tr>
<tr
v-for=
"(item,index) in list"
>
<tr
v-for=
"(item,index) in list"
>
<td>
{{
item
.
CustomerName
}}
</td>
<td>
{{
item
.
CustomerName
}}
</td>
<td>
{{
item
.
Customer
}}
</td>
<td>
{{
item
.
Customer
}}
</td>
<td>
{{
item
.
ContactPhone
}}
</td>
<td>
{{
item
.
ContactPhone
}}
</td>
<td>
{{
item
.
TradeMoney
}}
</td>
<td>
{{
item
.
Addres
}}
</td>
<td>
{{
item
.
Addres
}}
</td>
<td>
{{
item
.
CreateDateStr
}}
</td>
<td>
{{
item
.
CreateDateStr
}}
</td>
<td>
<td>
...
@@ -164,7 +179,8 @@ export default {
...
@@ -164,7 +179,8 @@ export default {
pageSize
:
10
,
pageSize
:
10
,
SDate
:
""
,
SDate
:
""
,
EDate
:
""
,
EDate
:
""
,
ApplyState
:
"-1"
ApplyState
:
"-1"
,
RB_Branch_Id
:
-
2
,
},
},
Reason
:
""
,
Reason
:
""
,
showlayer
:
false
,
showlayer
:
false
,
...
@@ -173,10 +189,22 @@ export default {
...
@@ -173,10 +189,22 @@ export default {
currentPage
:
1
,
currentPage
:
1
,
total
:
0
,
total
:
0
,
answerDetailList
:
[],
answerDetailList
:
[],
list
:
[]
list
:
[],
CompanyList
:
[],
getCompanyMsg
:{
// 公司
RB_Group_Id
:
'0'
,
Status
:
'0'
,
},
};
};
},
},
methods
:
{
methods
:
{
getCompanyList
(){
//获取公司列表
this
.
apipost
(
'admin_get_BranchGetList'
,
this
.
getCompanyMsg
,
res
=>
{
if
(
res
.
data
.
resultCode
==
1
){
this
.
CompanyList
=
res
.
data
.
data
;
}
else
{}
},
err
=>
{})
},
// 结束日期不能大于开始日期
// 结束日期不能大于开始日期
dataDui
()
{
dataDui
()
{
if
(
this
.
msg
.
SDate
>
this
.
msg
.
EDate
&&
this
.
msg
.
EDate
!==
""
)
{
if
(
this
.
msg
.
SDate
>
this
.
msg
.
EDate
&&
this
.
msg
.
EDate
!==
""
)
{
...
@@ -264,7 +292,10 @@ export default {
...
@@ -264,7 +292,10 @@ export default {
}
}
},
},
mounted
()
{
mounted
()
{
let
userInfo
=
this
.
getLocalStorage
();
this
.
getCompanyMsg
.
RB_Group_Id
=
userInfo
.
RB_Group_id
;
//集团ID
this
.
getList
();
this
.
getList
();
this
.
getCompanyList
()
}
}
};
};
</
script
>
</
script
>
...
...
src/components/dmc/manager/dmcTotalTable.vue
View file @
64b82111
...
@@ -152,7 +152,7 @@
...
@@ -152,7 +152,7 @@
<tr>
<tr>
<th
colspan=
"11"
>
公司通用信息
</th>
<th
colspan=
"11"
>
公司通用信息
</th>
<th
colspan=
"5"
>
团队需求表
</th>
<th
colspan=
"5"
>
团队需求表
</th>
<th
colspan=
"
8
"
>
地接op操作
</th>
<th
colspan=
"
9
"
>
地接op操作
</th>
</tr>
</tr>
<tr>
<tr>
<th
width=
"130"
>
序号
</th>
<th
width=
"130"
>
序号
</th>
...
@@ -177,6 +177,7 @@
...
@@ -177,6 +177,7 @@
<th
width=
"60"
>
餐食
</th>
<th
width=
"60"
>
餐食
</th>
<th
width=
"60"
>
车辆
</th>
<th
width=
"60"
>
车辆
</th>
<th
width=
"60"
>
领队
<br
/>
报账
</th>
<th
width=
"60"
>
领队
<br
/>
报账
</th>
<th
width=
"60"
>
领队人头费
</th>
<th
width=
"120"
>
操作
</th>
<th
width=
"120"
>
操作
</th>
</tr>
</tr>
<tbody
v-for=
"(outItem,outindex) in list"
:class=
"
{dmcTotalSplitTrCss:outindex%2!=0}">
<tbody
v-for=
"(outItem,outindex) in list"
:class=
"
{dmcTotalSplitTrCss:outindex%2!=0}">
...
@@ -338,8 +339,23 @@
...
@@ -338,8 +339,23 @@
<span
class=
"colorE95252"
v-else
>
{{
item
.
LeaderIsApply
==
'0'
?
"x"
:
"O"
}}
</span>
<span
class=
"colorE95252"
v-else
>
{{
item
.
LeaderIsApply
==
'0'
?
"x"
:
"O"
}}
</span>
</div>
</div>
</td>
</td>
<td
:rowspan=
"2*outItem.PriceCommonList.length"
v-if=
'index==0'
style=
"width: 150px;"
>
<el-popover
width=
"100"
trigger=
"click"
popper-class=
"DMC_HotelPop"
>
<table
style=
"width: 100%;"
border=
"0"
cellspacing=
"1"
class=
"dmcTotalTable"
>
<tr>
<th>
单号
</th>
<th>
金额
</th>
</tr>
<tr
v-for=
"(fnc, findex) in outItem.FinanceIds"
>
<td
class=
"cursorpointer text-decoration"
@
click=
"goFncUrl('FinancialDocumentsDetail', fnc.FinanceId)"
>
{{
fnc
.
FinanceId
}}
</td>
<td>
{{
moneyFormat
(
fnc
.
OriginalMoney
)
}}
</td>
</tr>
</table>
<span
slot=
"reference"
style=
"cursor:pointer;text-decoration:underline;"
>
{{
outItem
.
TotalPrice
}}
</span>
</el-popover>
</td>
<td>
<td>
<div
class=
"w250
"
>
<div
style=
"width: 150px;
"
>
<el-button-group>
<el-button-group>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"地接信息"
placement=
"top-start"
>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"地接信息"
placement=
"top-start"
>
<el-popover
placement=
"bottom"
width=
"300"
trigger=
"click"
>
<el-popover
placement=
"bottom"
width=
"300"
trigger=
"click"
>
...
@@ -448,7 +464,7 @@
...
@@ -448,7 +464,7 @@
</td>
</td>
</tr>
</tr>
<tr>
<tr>
<td
colspan=
"2
2
"
style=
"text-align: left!important;padding:0 20px;"
>
<td
colspan=
"2
1
"
style=
"text-align: left!important;padding:0 20px;"
>
<div
class=
"link"
>
<div
class=
"link"
>
<p
@
click=
"getJourney(item.ConfigID,item.Title)"
style=
"padding-top:4px;"
>
{{
item
.
Title
}}
</p>
<p
@
click=
"getJourney(item.ConfigID,item.Title)"
style=
"padding-top:4px;"
>
{{
item
.
Title
}}
</p>
<div
v-if=
"outItem.PriceCommonList[index].DMCNum && outItem.PriceCommonList[index].DMCNum!=''"
<div
v-if=
"outItem.PriceCommonList[index].DMCNum && outItem.PriceCommonList[index].DMCNum!=''"
...
@@ -471,6 +487,7 @@
...
@@ -471,6 +487,7 @@
</div>
</div>
</div>
</div>
</td>
</td>
<td></td>
</tr>
</tr>
</
template
>
</
template
>
</tbody>
</tbody>
...
@@ -742,6 +759,15 @@
...
@@ -742,6 +759,15 @@
})
})
window
.
open
(
routeData
.
href
,
'_blank'
);
window
.
open
(
routeData
.
href
,
'_blank'
);
},
},
goFncUrl
:
function
(
path
,
id
)
{
this
.
$router
.
push
({
name
:
path
,
query
:
{
id
:
id
,
blank
:
'y'
,
}
})
},
goUrlR
(
path
,
obj
,
title
)
{
goUrlR
(
path
,
obj
,
title
)
{
this
.
$router
.
push
({
this
.
$router
.
push
({
name
:
path
,
name
:
path
,
...
...
src/components/leaderPay2.vue
View file @
64b82111
...
@@ -356,7 +356,7 @@ input[type="number"] {
...
@@ -356,7 +356,7 @@ input[type="number"] {
<table
border=
"0"
cellspacing=
"1"
class=
"leaderPayTable leaderPayTable2"
>
<table
border=
"0"
cellspacing=
"1"
class=
"leaderPayTable leaderPayTable2"
>
<tr>
<tr>
<th
colspan=
"1
0
"
class=
"bgwhite"
>
酒店使用
</th>
<th
colspan=
"1
1
"
class=
"bgwhite"
>
酒店使用
</th>
</tr>
</tr>
<tr>
<tr>
<th
width=
"180"
>
使用日期
</th>
<th
width=
"180"
>
使用日期
</th>
...
@@ -365,6 +365,7 @@ input[type="number"] {
...
@@ -365,6 +365,7 @@ input[type="number"] {
<th
width=
""
>
预定人数
</th>
<th
width=
""
>
预定人数
</th>
<th
width=
""
>
单价/人
</th>
<th
width=
""
>
单价/人
</th>
<th
width=
""
>
付款方式
</th>
<th
width=
""
>
付款方式
</th>
<th
width=
"60"
>
返佣
<br
/>
类型
</th>
<th
width=
""
>
金额小计
</th>
<th
width=
""
>
金额小计
</th>
<th
width=
""
>
预计总金额
</th>
<th
width=
""
>
预计总金额
</th>
<th
width=
""
>
实付金额
</th>
<th
width=
""
>
实付金额
</th>
...
@@ -384,7 +385,16 @@ input[type="number"] {
...
@@ -384,7 +385,16 @@ input[type="number"] {
<span
v-if=
"childItem.HouseType === 2"
>
标准双人间
</span>
<span
v-if=
"childItem.HouseType === 2"
>
标准双人间
</span>
<span
v-if=
"childItem.HouseType === 3"
>
大床房
</span>
<span
v-if=
"childItem.HouseType === 3"
>
大床房
</span>
<span
v-if=
"childItem.HouseType === 4"
>
三人间
</span>
<span
v-if=
"childItem.HouseType === 4"
>
三人间
</span>
<span
v-if=
"childItem.HouseType === 5"
>
司导间
</span>
<span
v-if=
"childItem.HouseType === 5"
>
司导间
<template
v-if=
"childIndex==4"
>
<template
v-if=
"subItem.DriverGuideIsRebate==1"
>
<br
/><span
style=
"color:green"
>
返佣
</span>
</
template
>
<
template
v-else-if=
"subItem.DriverGuideIsRebate==0"
>
<br
/><span
style=
"color:red;"
>
不返佣
</span>
</
template
>
</template>
</span>
<span
v-if=
"childItem.HouseType === 6"
>
不占床
</span>
<span
v-if=
"childItem.HouseType === 6"
>
不占床
</span>
</td>
</td>
<td>
<td>
...
@@ -394,8 +404,7 @@ input[type="number"] {
...
@@ -394,8 +404,7 @@ input[type="number"] {
<p>
<p>
{{subItem.PayStyle === 1 ? moneyFormat(childItem.UnitPrice) : 0}}
{{subItem.PayStyle === 1 ? moneyFormat(childItem.UnitPrice) : 0}}
</p>
</p>
</td>
</td>
<td
v-if=
"childIndex==0"
:rowspan=
"subItem.OrderDetailsList.length"
>
<td
v-if=
"childIndex==0"
:rowspan=
"subItem.OrderDetailsList.length"
>
<span
v-if=
"subItem.PayStyle === 1"
>
现付
</span>
<span
v-if=
"subItem.PayStyle === 1"
>
现付
</span>
<span
v-else-if=
"subItem.PayStyle === 2"
>
签单
</span>
<span
v-else-if=
"subItem.PayStyle === 2"
>
签单
</span>
...
@@ -406,6 +415,14 @@ input[type="number"] {
...
@@ -406,6 +415,14 @@ input[type="number"] {
</br>
</br>
<span
v-show=
"subItem.PayStyle==6"
>
付款团号:{{subItem.PayTypeTCNUM}}
</span>
<span
v-show=
"subItem.PayStyle==6"
>
付款团号:{{subItem.PayTypeTCNUM}}
</span>
</td>
</td>
<td
v-if=
"childIndex==0"
:rowspan=
"subItem.OrderDetailsList.length"
>
<
template
v-if=
"subItem.RebateType==1"
>
<span
style=
"color:green"
>
含税
</span>
</
template
>
<
template
v-else
>
<span
style=
"color:red"
>
不含税
</span>
</
template
>
</td>
<td>
<td>
{{moneyFormat(childItem.UnitPrice*(childItem.BookNum-childItem.HotelDiscount))}}
{{moneyFormat(childItem.UnitPrice*(childItem.BookNum-childItem.HotelDiscount))}}
</td>
</td>
...
@@ -470,7 +487,15 @@ input[type="number"] {
...
@@ -470,7 +487,15 @@ input[type="number"] {
<tr>
<tr>
<th>
类型
</th>
<th>
类型
</th>
<th>
预计总金额
</th>
<th>
预计总金额
</th>
<th>
金额
</th>
<th>
实付金额
</th>
<th>
报账金额
<input
type=
"button"
value=
"保存"
class=
"leader2Btn"
@
click=
"saveBZPrice()"
>
</th>
</tr>
</tr>
<tr
v-show=
"totalList.SelfPayingExpendTotalPrice>0"
>
<tr
v-show=
"totalList.SelfPayingExpendTotalPrice>0"
>
<td>
自费支出
</td>
<td>
自费支出
</td>
...
@@ -481,7 +506,7 @@ input[type="number"] {
...
@@ -481,7 +506,7 @@ input[type="number"] {
<td>
自费收入
</td>
<td>
自费收入
</td>
<td>
0
</td>
<td>
0
</td>
<td>
{{moneyFormat(totalList.SelfPayingIncomeTotalPrice)}}
</td>
<td>
{{moneyFormat(totalList.SelfPayingIncomeTotalPrice)}}
</td>
</tr>
</tr>
<!-- <tr v-show="totalList.IncomeTotalPrice>0">
<!-- <tr v-show="totalList.IncomeTotalPrice>0">
<td>消费收入</td>
<td>消费收入</td>
<td>{{moneyFormat(totalList.IncomeTotalPrice)}}</td>
<td>{{moneyFormat(totalList.IncomeTotalPrice)}}</td>
...
@@ -497,21 +522,49 @@ input[type="number"] {
...
@@ -497,21 +522,49 @@ input[type="number"] {
<td>
景点门票
</td>
<td>
景点门票
</td>
<td>
{{moneyFormat(OtherTotalPrice)}}
</td>
<td>
{{moneyFormat(OtherTotalPrice)}}
</td>
<td>
{{moneyFormat(totalScenicPrice)}}
</td>
<td>
{{moneyFormat(totalScenicPrice)}}
</td>
<td>
<el-input
size=
"mini"
class=
"w150"
type=
"number"
v-model=
"BaoZhangPrice.ScenicPrice"
@
change=
"getAllBZPrice"
></el-input>
</td>
</tr>
</tr>
<tr
v-show=
"totalTrafficPrice>0"
>
<tr
v-show=
"totalTrafficPrice>0"
>
<td>
交通
</td>
<td>
交通
</td>
<td>
{{moneyFormat(SelfPayingExpendTotalPrice)}}
</td>
<td>
{{moneyFormat(SelfPayingExpendTotalPrice)}}
</td>
<td>
{{moneyFormat(totalTrafficPrice)}}
</td>
<td>
{{moneyFormat(totalTrafficPrice)}}
</td>
<td>
<el-input
size=
"mini"
class=
"w150"
type=
"number"
v-model=
"BaoZhangPrice.BusPrice"
@
change=
"getAllBZPrice"
></el-input>
</td>
</tr>
</tr>
<tr
v-show=
"totalDinnerPrice>0"
>
<tr
v-show=
"totalDinnerPrice>0"
>
<td>
餐饮
</td>
<td>
餐饮
</td>
<td>
{{moneyFormat(IncomeTotalPrice)}}
</td>
<td>
{{moneyFormat(IncomeTotalPrice)}}
</td>
<td>
{{moneyFormat(totalDinnerPrice)}}
</td>
<td>
{{moneyFormat(totalDinnerPrice)}}
</td>
<td>
<el-input
size=
"mini"
class=
"w150"
type=
"number"
v-model=
"BaoZhangPrice.DiningPrice"
@
change=
"getAllBZPrice"
></el-input>
</td>
</tr>
</tr>
<tr
v-show=
"totalHotelPrice>0"
>
<tr
v-show=
"totalHotelPrice>0"
>
<td>
酒店
</td>
<td>
酒店
</td>
<td>
{{moneyFormat(ExpendTotalPrice)}}
</td>
<td>
{{moneyFormat(ExpendTotalPrice)}}
</td>
<td>
{{moneyFormat(totalHotelPrice)}}
</td>
<td>
{{moneyFormat(totalHotelPrice)}}
</td>
<td>
<el-input
size=
"mini"
class=
"w150"
type=
"number"
v-model=
"BaoZhangPrice.HotelPrice"
@
change=
"getAllBZPrice"
></el-input>
</td>
</tr>
</tr>
</table>
</table>
<table
border=
"0"
cellspacing=
"1"
class=
"leaderPayTable"
v-if=
"TotalPriceData.length>0"
>
<table
border=
"0"
cellspacing=
"1"
class=
"leaderPayTable"
v-if=
"TotalPriceData.length>0"
>
...
@@ -520,17 +573,19 @@ input[type="number"] {
...
@@ -520,17 +573,19 @@ input[type="number"] {
<th>
预付合计
</th>
<th>
预付合计
</th>
<th>
实际领款
</th>
<th>
实际领款
</th>
<th>
实付合计
</th>
<th>
实付合计
</th>
<th>
实际报账金额
</th>
<th>
领队退款
</th>
<th>
领队退款
</th>
</tr>
</tr>
<tr
<tr
v-for=
"
item
in TotalPriceData"
v-for=
"
(item, index)
in TotalPriceData"
v-if=
"item.PlanPrice > 0 || item.PlanTotalPrice > 0 || item.ExpendTotalPrice > 0"
v-if=
"item.PlanPrice > 0 || item.PlanTotalPrice > 0 || item.ExpendTotalPrice > 0"
>
>
<td>
{{item.CurrencyStr}}
</td>
<td>
{{item.CurrencyStr}}
</td>
<td>
{{moneyFormat(item.PlanPrice)}}
</td>
<td>
{{moneyFormat(item.PlanPrice)}}
</td>
<td>
{{moneyFormat(item.PlanTotalPrice)}}
</td>
<td>
{{moneyFormat(item.PlanTotalPrice)}}
</td>
<td>
{{moneyFormat(item.ExpendTotalPrice)}}
</td>
<td>
{{moneyFormat(item.ExpendTotalPrice)}}
</td>
<td>
{{moneyFormat(item.PlanTotalPrice - item.ExpendTotalPrice)}}
</td>
<td>
{{index == 0 ? moneyFormat(AllBZPrice) : moneyFormat(item.ExpendTotalPrice)}}
</td>
<td>
{{index == 0 ? moneyFormat(item.PlanTotalPrice - AllBZPrice): moneyFormat(item.PlanTotalPrice - item.ExpendTotalPrice)}}
</td>
</tr>
</tr>
<tr
v-if=
"!TotalPriceData.length"
>
<tr
v-if=
"!TotalPriceData.length"
>
<td
colspan=
"5"
>
暂无数据
</td>
<td
colspan=
"5"
>
暂无数据
</td>
...
@@ -647,6 +702,45 @@ input[type="number"] {
...
@@ -647,6 +702,45 @@ input[type="number"] {
<td
colspan=
"5"
>
暂无数据
</td>
<td
colspan=
"5"
>
暂无数据
</td>
</tr>
</tr>
</table>
</table>
<table
border=
"0"
cellspacing=
"1"
class=
"leaderPayTable"
v-if=
"listCost.length>0"
>
<tr>
<th>
人头费
</th>
<th>
人数
</th>
<th>
单价
</th>
<th>
总金额
</th>
<th>
财务单号
</th>
<th>
制单
</th>
</tr>
<tr
v-for=
"(item, index) in listCost"
>
<td>
{{item.Type == 1 ? "领兼地" : "领队"}}:{{item.LeaderOrGuidName}}
</td>
<td>
{{item.PeopleNum}}
</td>
<td>
{{moneyFormat(item.UnitPrice)}}
</td>
<td>
<el-input
size=
"mini"
class=
"w150"
type=
"number"
v-model=
"item.price"
></el-input>
</td>
<td
v-if=
"index == 0"
:rowspan=
"listCost.length"
>
<span>
已付款:{{moneyFormat(item.TotalPrice)}}
</span>
<p>
财务单号:
<span
v-for=
"(i, d) in item.FrId"
class=
"cursorpointer text-decoration"
@
click=
"goFncUrl('FinancialDocumentsDetail', i)"
>
{{i}} {{d == item.FrId.length-1 ? '' : '、'}}
</span></p>
</td>
<td>
<input
type=
"button"
value=
"制单"
class=
"leader2Btn"
@
click=
"goZhiDan2(item, index)"
>
</td>
</tr>
<tr
v-if=
"!listCost.length"
>
<td
colspan=
"5"
>
暂无数据
</td>
</tr>
</table>
<
template
<
template
v-if=
"dataList.LeaderApply && dataList.LeaderApply.Status && dataList.LeaderApply.Status==1"
v-if=
"dataList.LeaderApply && dataList.LeaderApply.Status && dataList.LeaderApply.Status==1"
>
>
...
@@ -715,11 +809,124 @@ export default {
...
@@ -715,11 +809,124 @@ export default {
busDataList
:
[],
busDataList
:
[],
DiningDataList
:
[],
DiningDataList
:
[],
ScenicDataList
:
[],
ScenicDataList
:
[],
HotelDataList
:
[]
HotelDataList
:
[],
listCost
:
[],
BaoZhangPrice
:
{},
AllBZPrice
:
0
,
};
};
},
},
methods
:
{
methods
:
{
goZhiDan
:
function
(
obj
)
{
// 保存报账金额
saveBZPrice
:
function
(){
let
HotelPrice
=
this
.
BaoZhangPrice
.
HotelPrice
?
parseFloat
(
this
.
BaoZhangPrice
.
HotelPrice
)
:
0
let
BusPrice
=
this
.
BaoZhangPrice
.
BusPrice
?
parseFloat
(
this
.
BaoZhangPrice
.
BusPrice
)
:
0
let
DiningPrice
=
this
.
BaoZhangPrice
.
DiningPrice
?
parseFloat
(
this
.
BaoZhangPrice
.
DiningPrice
)
:
0
let
ScenicPrice
=
this
.
BaoZhangPrice
.
ScenicPrice
?
parseFloat
(
this
.
BaoZhangPrice
.
ScenicPrice
)
:
0
let
msg
=
[
{
TCIDs
:
this
.
msg
.
TCIDs
,
UserType
:
1
,
TotalPrice
:
HotelPrice
},
{
TCIDs
:
this
.
msg
.
TCIDs
,
UserType
:
2
,
TotalPrice
:
DiningPrice
},
{
TCIDs
:
this
.
msg
.
TCIDs
,
UserType
:
3
,
TotalPrice
:
ScenicPrice
},
{
TCIDs
:
this
.
msg
.
TCIDs
,
UserType
:
4
,
TotalPrice
:
BusPrice
},
]
this
.
apipost
(
'dmcstatistics_get_SetLeaderReimburseLessList'
,
msg
,
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
$message
.
success
(
'操作成功'
)
}
else
{
this
.
$message
.
error
(
res
.
data
.
message
)
}
},
null
)
},
getAllBZPrice
:
function
(){
let
allPrice
=
this
.
TotalPriceData
[
0
].
ExpendTotalPrice
let
endPrice
=
allPrice
-
this
.
totalScenicPrice
-
this
.
totalTrafficPrice
-
this
.
totalDinnerPrice
-
this
.
totalHotelPrice
let
HotelPrice
=
this
.
BaoZhangPrice
.
HotelPrice
?
parseFloat
(
this
.
BaoZhangPrice
.
HotelPrice
)
:
0
let
BusPrice
=
this
.
BaoZhangPrice
.
BusPrice
?
parseFloat
(
this
.
BaoZhangPrice
.
BusPrice
)
:
0
let
DiningPrice
=
this
.
BaoZhangPrice
.
DiningPrice
?
parseFloat
(
this
.
BaoZhangPrice
.
DiningPrice
)
:
0
let
ScenicPrice
=
this
.
BaoZhangPrice
.
ScenicPrice
?
parseFloat
(
this
.
BaoZhangPrice
.
ScenicPrice
)
:
0
let
newPrice
=
endPrice
+
HotelPrice
+
BusPrice
+
DiningPrice
+
ScenicPrice
this
.
AllBZPrice
=
newPrice
},
getBaoZhangPrice
:
function
(){
this
.
apipost
(
'dmcstatistics_get_GetLeaderReimburseLessList'
,
this
.
msg
,
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
let
BaoZhangPrice
=
res
.
data
.
data
BaoZhangPrice
.
HotelPrice
=
BaoZhangPrice
.
HotelPrice
>
0
?
BaoZhangPrice
.
HotelPrice
:
this
.
totalHotelPrice
BaoZhangPrice
.
BusPrice
=
BaoZhangPrice
.
BusPrice
>
0
?
BaoZhangPrice
.
BusPrice
:
this
.
totalTrafficPrice
BaoZhangPrice
.
DiningPrice
=
BaoZhangPrice
.
DiningPrice
>
0
?
BaoZhangPrice
.
DiningPrice
:
this
.
totalDinnerPrice
BaoZhangPrice
.
ScenicPrice
=
BaoZhangPrice
.
ScenicPrice
>
0
?
BaoZhangPrice
.
ScenicPrice
:
this
.
totalScenicPrice
this
.
BaoZhangPrice
=
BaoZhangPrice
}
else
{
this
.
$message
.
error
(
res
.
data
.
message
)
}
},
null
)
},
goZhiDan2
:
function
(
obj
,
index
)
{
let
inputPrice
=
obj
.
price
?
parseFloat
(
obj
.
price
)
:
0
let
userinfo
=
this
.
getLocalStorage
()
if
(
inputPrice
<=
0
){
this
.
$message
.
error
(
'请输入制单金额'
)
return
}
let
list
=
this
.
listCost
let
allPrice
=
0
;
let
yizhiPrice
=
list
[
0
].
TotalPrice
;
for
(
let
i
=
0
;
i
<
list
.
length
;
i
++
)
{
allPrice
=
list
[
i
].
UnitPrice
*
list
[
i
].
PeopleNum
}
if
(
allPrice
<
inputPrice
+
yizhiPrice
){
this
.
$message
.
error
(
'金额有误'
)
return
}
if
(
obj
.
Type
==
1
)
{
let
id
=
[
72
,
73
];
let
TCIDARR
=
[
obj
.
TCIDs
];
let
orderObj
=
{
OrderID
:
0
,
OrderSource
:
6
,
Obj
:
{},
SourceID
:
0
,
CostType
:
180
,
TCIDList
:
TCIDARR
,
Money
:
inputPrice
,
TCNUMS
:
''
};
let
fullPath
=
`/ChoiceAddFinancialDocuments?Type=
${
2
}
&templateID=
${
JSON
.
stringify
(
id
)}
&companyID=
${
userinfo
.
RB_Branch_id
}
&orderObj=
${
JSON
.
stringify
(
orderObj
)}
&blank=y&tab=领队报账`
;
let
dom
=
document
.
querySelector
(
"#blankLink"
);
dom
.
href
=
`http://
${
window
.
location
.
host
}
/#
${
fullPath
}
`
;
dom
.
click
();
}
else
{
// 自动生成
let
msg
=
{
TemplateId
:
71
,
RB_Branch_Id
:
userinfo
.
RB_Branch_id
,
IsPublic
:
0
,
BType
:
4
,
AccountId
:
14
,
CostTypeID
:
180
,
WBMoney
:
obj
.
price
,
Remark
:
""
,
TCID
:
obj
.
TCIDs
,
IsRelevanceTravel
:
1
,
OrderID
:
0
,
vorcherInos
:
[{
FrIdStr
:
''
}],
Description
:
""
,
RemitterName
:
obj
.
LeaderOrGuidName
,
TradeDate
:
new
Date
().
Format
(
"yyyy-MM-dd"
),
OrderSource
:
6
,
}
this
.
apipost
(
'Financial_post_SetFinanceInfoCommonForIn'
,
msg
,
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
obj
.
FrId
.
push
(
res
.
data
.
data
)
this
.
listCost
[
index
]
=
obj
this
.
$forceUpdate
()
this
.
$message
.
success
(
"制单成功"
)
}
else
{
this
.
$message
.
error
(
res
.
data
.
message
)
}
},
null
)
}
},
goZhiDan
:
function
(
obj
)
{
let
id
=
[
59
];
let
id
=
[
59
];
let
TCIDARR
=
[
obj
.
TCIDS
];
let
TCIDARR
=
[
obj
.
TCIDS
];
let
orderObj
=
{
let
orderObj
=
{
...
@@ -751,11 +958,16 @@ export default {
...
@@ -751,11 +958,16 @@ export default {
{
TCIDs
:
this
.
$route
.
query
.
id
},
{
TCIDs
:
this
.
$route
.
query
.
id
},
res
=>
{
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
if
(
res
.
data
.
resultCode
==
1
)
{
let
TotalNav
=
res
.
data
.
data
;
let
TotalNav
=
res
.
data
.
data
.
list
;
let
listCost
=
res
.
data
.
data
.
listCost
;
listCost
.
forEach
(
x
=>
{
x
.
price
=
0
})
TotalNav
.
forEach
(
x
=>
{
TotalNav
.
forEach
(
x
=>
{
TotalNav
.
LeaderGetPriceT
=
0
;
TotalNav
.
LeaderGetPriceT
=
0
;
});
});
this
.
TotalNav
=
TotalNav
;
this
.
TotalNav
=
TotalNav
;
this
.
listCost
=
listCost
;
}
else
{
}
else
{
this
.
$message
.
error
(
res
.
data
.
message
);
this
.
$message
.
error
(
res
.
data
.
message
);
}
}
...
@@ -796,6 +1008,7 @@ export default {
...
@@ -796,6 +1008,7 @@ export default {
this
.
totalDinnerPrice
this
.
totalDinnerPrice
).
toFixed
(
2
);
).
toFixed
(
2
);
this
.
isShowRemark
=
true
;
this
.
isShowRemark
=
true
;
this
.
getBaoZhangPrice
()
}
else
{
}
else
{
this
.
Error
(
res
.
data
.
message
);
this
.
Error
(
res
.
data
.
message
);
}
}
...
@@ -832,6 +1045,7 @@ export default {
...
@@ -832,6 +1045,7 @@ export default {
res
=>
{
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
TotalPriceData
=
res
.
data
.
data
;
this
.
TotalPriceData
=
res
.
data
.
data
;
this
.
getAllBZPrice
()
}
else
{
}
else
{
this
.
Error
(
res
.
data
.
message
);
this
.
Error
(
res
.
data
.
message
);
}
}
...
@@ -1102,14 +1316,13 @@ export default {
...
@@ -1102,14 +1316,13 @@ export default {
mounted
()
{
mounted
()
{
this
.
isUpdate
=
this
.
$route
.
query
.
isUpdate
;
this
.
isUpdate
=
this
.
$route
.
query
.
isUpdate
;
this
.
msg
.
TCIDs
=
this
.
$route
.
query
.
id
;
this
.
msg
.
TCIDs
=
this
.
$route
.
query
.
id
;
this
.
getzongJE
()
this
.
getzongJE
()
;
this
.
getNav
();
this
.
getNav
();
this
.
getList
();
this
.
getList
();
this
.
getTotalMoney
();
this
.
getTotalMoney
();
this
.
getTotalPrice
();
this
.
getTotalPrice
();
this
.
getNavT
();
this
.
getNavT
();
this
.
getnewList
()
this
.
getnewList
();
this
.
getzongJE
()
}
}
};
};
</
script
>
</
script
>
src/router/config.js
View file @
64b82111
...
@@ -2147,12 +2147,12 @@ export default {
...
@@ -2147,12 +2147,12 @@ export default {
meta
:
{
meta
:
{
title
:
'路线'
title
:
'路线'
},
},
},
{
//财务
现金账户
},
{
//财务
实名认证
path
:
'/CustomerCertification'
,
path
:
'/CustomerCertification'
,
name
:
'CustomerCertification'
,
name
:
'CustomerCertification'
,
component
:
resolve
=>
require
([
'@/components/SalesModule/CustomerCertification'
],
resolve
),
component
:
resolve
=>
require
([
'@/components/SalesModule/CustomerCertification'
],
resolve
),
meta
:
{
meta
:
{
title
:
'
现金账户
'
title
:
'
实名认证
'
},
},
},
},
{
// 销售 我的任务
{
// 销售 我的任务
...
...
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