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
01f9825a
Commit
01f9825a
authored
Apr 02, 2019
by
华国豪
🙄
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改部分代码@
parent
a3b99a22
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
106 additions
and
59 deletions
+106
-59
zh-demo.js
src/assets/common/lang/zh-demo.js
+4
-0
zh.js
src/assets/common/lang/zh.js
+3
-0
BasicDocuments.vue
src/components/FinancialModule/BasicDocuments.vue
+5
-1
FinancialAccounting.vue
src/components/FinancialModule/FinancialAccounting.vue
+37
-15
addFinancialDocuments.vue
src/components/FinancialModule/addFinancialDocuments.vue
+2
-0
addFinancialGZDocuments.vue
src/components/FinancialModule/addFinancialGZDocuments.vue
+8
-4
leaderReimbursement.vue
src/components/LeaderManagement/leaderReimbursement.vue
+32
-24
leaderPay2.vue
src/components/leaderPay2.vue
+15
-15
No files found.
src/assets/common/lang/zh-demo.js
0 → 100644
View file @
01f9825a
export
const
obj
=
{
ceshi
:
'测试啊????123'
}
export
default
obj
;
\ No newline at end of file
src/assets/common/lang/zh.js
View file @
01f9825a
/**
/**
* Created by Administrator on 2018/4/17.
* Created by Administrator on 2018/4/17.
*/
*/
import
zhDemo
from
'./zh-demo'
export
const
demo
=
zhDemo
export
const
pub
=
{
export
const
pub
=
{
addBtn
:
'新增'
,
addBtn
:
'新增'
,
saveBtn
:
'保存'
,
saveBtn
:
'保存'
,
...
...
src/components/FinancialModule/BasicDocuments.vue
View file @
01f9825a
...
@@ -1606,7 +1606,11 @@ export default {
...
@@ -1606,7 +1606,11 @@ export default {
},
err
=>
{})
},
err
=>
{})
},
},
ReturnBack
(){
ReturnBack
(){
this
.
$router
.
push
({
name
:
'FinancialDocuments'
,
query
:{
"returnCode"
:
this
.
returnCode
,
"pageIndex"
:
this
.
pageIndex
}});
if
(
this
.
GetDetail
.
Type
===
7
)
{
this
.
$router
.
push
({
name
:
'FinancialAccounting'
,
query
:{}});
}
else
{
this
.
$router
.
push
({
name
:
'FinancialDocuments'
,
query
:{
"returnCode"
:
this
.
returnCode
,
"pageIndex"
:
this
.
pageIndex
}});
}
},
},
deleteImg
(
i
){
// 删除
deleteImg
(
i
){
// 删除
this
.
uploadImgList
.
splice
(
i
,
1
)
this
.
uploadImgList
.
splice
(
i
,
1
)
...
...
src/components/FinancialModule/FinancialAccounting.vue
View file @
01f9825a
...
@@ -103,19 +103,6 @@
...
@@ -103,19 +103,6 @@
</el-select>
</el-select>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
<el-col
:span=
"8"
>
<el-form-item
label=
"制单日期"
>
<el-date-picker
@
change=
"timeAdd(1)"
v-model=
"productionDate"
type=
"daterange"
value-format=
"yyyy-MM-dd"
range-separator=
"至"
>
</el-date-picker>
</el-form-item>
</el-col>
</el-row>
<el-row
:gutter=
"20"
>
<el-col
:span=
"4"
>
<el-col
:span=
"4"
>
<el-form-item
:label=
"$t('admin.admin_status')"
>
<el-form-item
:label=
"$t('admin.admin_status')"
>
<el-select
v-model=
"msg.Status"
filterable
>
<el-select
v-model=
"msg.Status"
filterable
>
...
@@ -128,6 +115,31 @@
...
@@ -128,6 +115,31 @@
</el-select>
</el-select>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
<el-col
:span=
"4"
>
<el-form-item
label=
"挂账对象"
>
<el-select
v-model=
"msg.ClientType"
filterable
>
<el-option
:value=
"0"
:label=
"$t('pub.unlimitedSel')"
></el-option>
<el-option
v-for=
'item in ClientTypeList'
:label=
'item.Name'
:value=
'item.ID'
:key=
'item.ID'
>
</el-option>
</el-select>
</el-form-item>
</el-col>
</el-row>
<el-row
:gutter=
"20"
>
<el-col
:span=
"8"
>
<el-form-item
label=
"制单日期"
>
<el-date-picker
@
change=
"timeAdd(1)"
v-model=
"productionDate"
type=
"daterange"
value-format=
"yyyy-MM-dd"
range-separator=
"至"
>
</el-date-picker>
</el-form-item>
</el-col>
</el-row>
</el-row>
</el-form>
</el-form>
<div
class=
"page_FinancialAccounting_list"
>
<div
class=
"page_FinancialAccounting_list"
>
...
@@ -224,7 +236,8 @@ export default {
...
@@ -224,7 +236,8 @@ export default {
Status
:
'-1'
,
Status
:
'-1'
,
sTradeDate
:
''
,
sTradeDate
:
''
,
eTradeDate
:
''
,
eTradeDate
:
''
,
EmployeeId
:
0
EmployeeId
:
0
,
ClientType
:
0
,
},
},
getCompanyMsg
:{
// 公司
getCompanyMsg
:{
// 公司
RB_Group_Id
:
'0'
,
RB_Group_Id
:
'0'
,
...
@@ -255,7 +268,8 @@ export default {
...
@@ -255,7 +268,8 @@ export default {
LogLoading
:
true
,
LogLoading
:
true
,
EmId
:
0
,
EmId
:
0
,
total
:
0
,
total
:
0
,
currentPage
:
0
currentPage
:
0
,
ClientTypeList
:
[],
}
}
},
},
created
(){
created
(){
...
@@ -374,12 +388,20 @@ export default {
...
@@ -374,12 +388,20 @@ export default {
}
}
},
err
=>
{})
},
err
=>
{})
},
},
financeinfo_post_GetClientTypeList
:
function
()
{
// 获取对象类型
this
.
apipost
(
'financeinfo_post_GetClientTypeList'
,{},
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
ClientTypeList
=
res
.
data
.
data
;
}
},
err
=>
{})
},
},
},
mounted
(){
mounted
(){
this
.
getCompanyList
()
this
.
getCompanyList
()
this
.
getDepartment
()
this
.
getDepartment
()
this
.
GetStatusList
()
this
.
GetStatusList
()
this
.
getEmployee
()
this
.
getEmployee
()
this
.
financeinfo_post_GetClientTypeList
()
}
}
}
}
</
script
>
</
script
>
src/components/FinancialModule/addFinancialDocuments.vue
View file @
01f9825a
...
@@ -1194,7 +1194,9 @@ export default {
...
@@ -1194,7 +1194,9 @@ export default {
let
num
=
(
x
.
Number
*
x
.
UnitPrice
)
*
x
.
Rate
;
let
num
=
(
x
.
Number
*
x
.
UnitPrice
)
*
x
.
Rate
;
num
=
num
.
toFixed
(
2
);
num
=
num
.
toFixed
(
2
);
x
.
bTotalPrice
=
num
;
x
.
bTotalPrice
=
num
;
console
.
log
(
x
.
Money
,
x
.
Money
.
toFixed
(
2
))
x
.
Money
=
x
.
Money
.
toFixed
(
2
);
x
.
Money
=
x
.
Money
.
toFixed
(
2
);
x
.
yTotalPriceTo
=
this
.
$commonUtils
.
addCommas
(
x
.
yTotalPrice
.
toFixed
(
2
));
x
.
yTotalPriceTo
=
this
.
$commonUtils
.
addCommas
(
x
.
yTotalPrice
.
toFixed
(
2
));
x
.
bTotalPriceTo
=
this
.
$commonUtils
.
addCommas
(
num
);
x
.
bTotalPriceTo
=
this
.
$commonUtils
.
addCommas
(
num
);
x
.
OriginalMoney
=
x
.
OriginalMoney
.
toFixed
(
2
);
x
.
OriginalMoney
=
x
.
OriginalMoney
.
toFixed
(
2
);
...
...
src/components/FinancialModule/addFinancialGZDocuments.vue
View file @
01f9825a
...
@@ -410,9 +410,9 @@
...
@@ -410,9 +410,9 @@
<td
height=
"26px"
></td>
<td
height=
"26px"
></td>
</tr>
</tr>
<tr>
<tr>
<td>
{{$t('fnc.sfjine')}}
<br/><span
class=
"_font_size12"
>
{{$t('fnc.daxie')}}
</span></td>
<td>
挂账总金额
<br/><span
class=
"_font_size12"
>
{{$t('fnc.daxie')}}
</span></td>
<td
colspan=
"4"
>
{{chinaAllPrice}}
</td>
<td
colspan=
"4"
>
{{chinaAllPrice}}
</td>
<td>
{{$t('fnc.sfjine')}}
<br/><span
class=
"_font_size12"
>
{{$t('fnc.xiaoxie')}}
</span></td>
<td>
挂账总金额
<br/><span
class=
"_font_size12"
>
{{$t('fnc.xiaoxie')}}
</span></td>
<td
colspan=
"4"
>
{{allPriceTo}}
</td>
<td
colspan=
"4"
>
{{allPriceTo}}
</td>
</tr>
</tr>
<!-- <tr>
<!-- <tr>
...
@@ -554,7 +554,7 @@
...
@@ -554,7 +554,7 @@
</el-select>
</el-select>
</div>
</div>
</div>
</div>
<
button
class=
"normalBtn"
v-if=
"GetDetail.Status==0||GetDetail.Status==3||msg.FrID==0"
@
click=
"AddFinancial(1)"
>
{{$t('fnc.zancun')}}
</button
>
<
!-- <button class="normalBtn" v-if="GetDetail.Status==0||GetDetail.Status==3||msg.FrID==0" @click="AddFinancial(1)">{{$t('fnc.zancun')}}</button> --
>
<button
class=
"normalBtn"
@
click=
"AddFinancial()"
>
{{$t('fnc.tijiao')}}
</button>
<button
class=
"normalBtn"
@
click=
"AddFinancial()"
>
{{$t('fnc.tijiao')}}
</button>
<button
class=
"hollowFixedBtn"
@
click=
"AuditOrRefund()"
>
{{$t('pub.returnBack')}}
</button>
<button
class=
"hollowFixedBtn"
@
click=
"AuditOrRefund()"
>
{{$t('pub.returnBack')}}
</button>
</div>
</div>
...
@@ -981,7 +981,11 @@ export default {
...
@@ -981,7 +981,11 @@ export default {
}
}
let
allPrice
=
0
let
allPrice
=
0
this
.
msg
.
detailList
.
forEach
(
x
=>
{
this
.
msg
.
detailList
.
forEach
(
x
=>
{
allPrice
=
allPrice
+
parseFloat
(
x
.
bTotalPrice
);
if
(
x
.
HangingAccountsType
===
1
)
{
allPrice
=
allPrice
+
parseFloat
(
x
.
bTotalPrice
)
}
else
{
allPrice
=
allPrice
-
parseFloat
(
x
.
bTotalPrice
)
}
})
})
this
.
allPrice
=
allPrice
;
this
.
allPrice
=
allPrice
;
this
.
allPriceTo
=
this
.
$commonUtils
.
addCommas
(
this
.
allPrice
.
toFixed
(
2
))
this
.
allPriceTo
=
this
.
$commonUtils
.
addCommas
(
this
.
allPrice
.
toFixed
(
2
))
...
...
src/components/LeaderManagement/leaderReimbursement.vue
View file @
01f9825a
...
@@ -61,16 +61,16 @@
...
@@ -61,16 +61,16 @@
<span
v-if=
'index==list.BusList.length-1'
>
送机
</span>
<span
v-if=
'index==list.BusList.length-1'
>
送机
</span>
</td>
</td>
<td>
<td>
{{
item
.
CostPrice
}}
{{
moneyFormat
(
item
.
CostPrice
)
}}
</td>
</td>
<td>
<td>
{{
item
.
HighSpeedPrice
}}
{{
moneyFormat
(
item
.
HighSpeedPrice
)
}}
</td>
</td>
<td>
<td>
{{
item
.
StopPrice
}}
{{
moneyFormat
(
item
.
StopPrice
)
}}
</td>
</td>
<td>
<td>
{{
Number
(
item
.
CostPrice
)
+
Number
(
item
.
HighSpeedPrice
)
+
Number
(
item
.
StopPrice
)
}}
{{
moneyFormat
(
Number
(
item
.
CostPrice
)
+
Number
(
item
.
HighSpeedPrice
)
+
Number
(
item
.
StopPrice
)
)
}}
</td>
</td>
<td
v-if=
'index==0'
:rowspan=
'list.BusList.length'
>
<td
v-if=
'index==0'
:rowspan=
'list.BusList.length'
>
{{
busTotalPrice
(
list
.
BusList
)
}}
{{
busTotalPrice
(
list
.
BusList
)
}}
...
@@ -89,7 +89,7 @@
...
@@ -89,7 +89,7 @@
<tr>
<tr>
<td>
总金额
</td>
<td>
总金额
</td>
<td
colspan=
"12"
>
<td
colspan=
"12"
>
{{
TotalNav
.
reimburseTotalPrice
.
SelfPayingExpendTotalPrice
}}
{{
moneyFormat
(
TotalNav
.
reimburseTotalPrice
.
SelfPayingExpendTotalPrice
)
}}
</td>
</td>
</tr>
</tr>
</tbody>
</tbody>
...
@@ -162,7 +162,7 @@
...
@@ -162,7 +162,7 @@
<div
class=
"alcenter"
>
<div
class=
"alcenter"
>
<div
v-for=
"subItem in outItem.HotelOrderList"
>
<div
v-for=
"subItem in outItem.HotelOrderList"
>
<p
v-for=
"childItem in subItem.OrderDetailsList"
>
<p
v-for=
"childItem in subItem.OrderDetailsList"
>
{{
childItem
.
UnitPrice
}}
{{
moneyFormat
(
childItem
.
UnitPrice
)
}}
</p>
</p>
</div>
</div>
</div>
</div>
...
@@ -171,7 +171,7 @@
...
@@ -171,7 +171,7 @@
<div
class=
"alcenter"
>
<div
class=
"alcenter"
>
<div
v-for=
"subItem in outItem.HotelOrderList"
>
<div
v-for=
"subItem in outItem.HotelOrderList"
>
<p
v-for=
"childItem in subItem.OrderDetailsList"
>
<p
v-for=
"childItem in subItem.OrderDetailsList"
>
{{
childItem
.
UnitPrice
*
(
childItem
.
HouseGuestNum
-
childItem
.
HotelDiscount
)
}}
{{
moneyFormat
(
childItem
.
UnitPrice
*
(
childItem
.
HouseGuestNum
-
childItem
.
HotelDiscount
)
)
}}
</p>
</p>
</div>
</div>
</div>
</div>
...
@@ -205,7 +205,7 @@
...
@@ -205,7 +205,7 @@
<tr>
<tr>
<td>
总金额
</td>
<td>
总金额
</td>
<td
colspan=
"12"
>
<td
colspan=
"12"
>
{{
TotalNav
.
reimburseTotalPrice
.
ExpendTotalPrice
}}
{{
moneyFormat
(
TotalNav
.
reimburseTotalPrice
.
ExpendTotalPrice
)
}}
</td>
</td>
</tr>
</tr>
</tbody>
</tbody>
...
@@ -255,14 +255,14 @@
...
@@ -255,14 +255,14 @@
<td>
<td>
<div
v-for=
"subItem in item.DiningSummaryList"
>
<div
v-for=
"subItem in item.DiningSummaryList"
>
<p
v-for=
"childItem in subItem.DiningPriceList"
>
<p
v-for=
"childItem in subItem.DiningPriceList"
>
{{
childItem
.
PeoplePrice
}}
{{
moneyFormat
(
childItem
.
PeoplePrice
)
}}
</p>
</p>
</div>
</div>
</td>
</td>
<td>
<td>
<div
v-for=
"subItem in item.DiningSummaryList"
>
<div
v-for=
"subItem in item.DiningSummaryList"
>
<p
v-for=
"childItem in subItem.DiningPriceList"
>
<p
v-for=
"childItem in subItem.DiningPriceList"
>
{{
(
childItem
.
PeopleNum
-
childItem
.
Discount
)
*
childItem
.
PeoplePrice
}}
{{
moneyFormat
((
childItem
.
PeopleNum
-
childItem
.
Discount
)
*
childItem
.
PeoplePrice
)
}}
</p>
</p>
</div>
</div>
</td>
</td>
...
@@ -285,7 +285,7 @@
...
@@ -285,7 +285,7 @@
<tr>
<tr>
<td>
总金额
</td>
<td>
总金额
</td>
<td
colspan=
"10"
>
<td
colspan=
"10"
>
{{
TotalNav
.
reimburseTotalPrice
.
IncomeTotalPrice
}}
{{
moneyFormat
(
TotalNav
.
reimburseTotalPrice
.
IncomeTotalPrice
)
}}
</td>
</td>
</tr>
</tr>
</tbody>
</tbody>
...
@@ -334,14 +334,14 @@
...
@@ -334,14 +334,14 @@
<td>
<td>
<div
v-for=
"subItem in item.ScenicStatisticsList"
>
<div
v-for=
"subItem in item.ScenicStatisticsList"
>
<p
v-for=
"o in subItem.TicketPriceList"
>
<p
v-for=
"o in subItem.TicketPriceList"
>
{{
o
.
PeoplePrice
}}
{{
moneyFormat
(
o
.
PeoplePrice
)
}}
</p>
</p>
</div>
</div>
</td>
</td>
<td>
<td>
<div
v-for=
"subItem in item.ScenicStatisticsList"
>
<div
v-for=
"subItem in item.ScenicStatisticsList"
>
<p
v-for=
"o in subItem.TicketPriceList"
>
<p
v-for=
"o in subItem.TicketPriceList"
>
{{
(
o
.
UsePeopleNum
-
o
.
Discount
)
*
o
.
PeoplePrice
}}
{{
moneyFormat
((
o
.
UsePeopleNum
-
o
.
Discount
)
*
o
.
PeoplePrice
)
}}
</p>
</p>
</div>
</div>
</td>
</td>
...
@@ -367,20 +367,28 @@
...
@@ -367,20 +367,28 @@
<tr>
<tr>
<td>
总金额
</td>
<td>
总金额
</td>
<td
colspan=
"10"
>
<td
colspan=
"10"
>
{{
TotalNav
.
reimburseTotalPrice
.
OtherTotalPrice
}}
{{
moneyFormat
(
TotalNav
.
reimburseTotalPrice
.
OtherTotalPrice
)
}}
</td>
</td>
</tr>
</tr>
</tbody>
</tbody>
</table>
</table>
<table
class=
"leaderReimbursementTable"
border=
"0"
cellspacing=
"1"
cellpadding=
"0"
>
<table
class=
"leaderReimbursementTable"
border=
"0"
cellspacing=
"1"
cellpadding=
"0"
>
<tr>
<th>
预付合计
</th>
<th>
团号
</th>
<th>
实际领款
</th>
<th>
操作
</th>
</tr>
<tr
v-for=
'(item, index) in nav'
>
<tr
v-for=
'(item, index) in nav'
>
<td
rowspan=
"2"
width=
"180"
v-if=
"index===0"
>
总金额:
{{
TotalNav
.
reimburseTotalPrice
.
PlanPrice
*
0.98
}}
</td>
<td
rowspan=
"2"
width=
"180"
v-if=
"index===0"
>
总金额:
{{
moneyFormat
(
TotalNav
.
reimburseTotalPrice
.
PlanPrice
*
0.98
)
}}
</td>
<td>
{{
item
.
TCNUMS
}}
</td>
<td>
{{
item
.
TCNUMS
}}
</td>
<td>
<td>
<span
v-if=
"item.LeaderGetPrice>0"
>
{{
item
.
LeaderGetPrice
}}
</span>
<span
v-if=
"item.LeaderGetPrice>0"
>
{{
moneyFormat
(
item
.
LeaderGetPrice
)
}}
</span>
<el-input
v-else
class=
"w300"
type=
"number"
v-model=
"LeaderGetPrice"
></el-input>
<el-input
v-else
class=
"w300"
type=
"number"
v-model=
"LeaderGetPrice"
></el-input>
</td>
</td>
<td
width=
"80"
class=
"_zhidan"
@
click=
"goZhiDan(item)"
>
制单
</td>
<td
width=
"80"
class=
"_zhidan"
>
<input
type=
"button"
v-if=
"isUpdate=='true'"
value=
"制单"
class=
"normalBtn"
@
click=
"goZhiDan(item)"
/>
</td>
</tr>
</tr>
</table>
</table>
<!--
<table
class=
"leaderReimbursementTable"
border=
"0"
cellspacing=
"1"
cellpadding=
"0"
>
<!--
<table
class=
"leaderReimbursementTable"
border=
"0"
cellspacing=
"1"
cellpadding=
"0"
>
...
@@ -573,9 +581,9 @@
...
@@ -573,9 +581,9 @@
</tbody>
</tbody>
</table>
-->
</table>
-->
<p
class=
"alcenter"
>
<
!--
<
p
class=
"alcenter"
>
<input
type=
"button"
v-if=
"isUpdate=='true'"
value=
"保存"
class=
"normalBtn"
@
click=
"saveData()"
/>
<input
type=
"button"
v-if=
"isUpdate=='true'"
value=
"保存"
class=
"normalBtn"
@
click=
"saveData()"
/>
</p>
</p>
-->
<div
v-if=
'picIsShow'
class=
"viewBigPicLayer"
>
<div
v-if=
'picIsShow'
class=
"viewBigPicLayer"
>
<i
class=
"el-icon-circle-close-outline clolseViewBigPicLayer"
@
click=
"picIsShow=false,picObj=[]"
></i>
<i
class=
"el-icon-circle-close-outline clolseViewBigPicLayer"
@
click=
"picIsShow=false,picObj=[]"
></i>
<el-carousel
height=
"600px"
:initial-index=
'initialIndex'
:interval=
"5000"
trigger=
"click"
>
<el-carousel
height=
"600px"
:initial-index=
'initialIndex'
:interval=
"5000"
trigger=
"click"
>
...
@@ -720,35 +728,35 @@
...
@@ -720,35 +728,35 @@
obj
.
forEach
(
item
=>
{
obj
.
forEach
(
item
=>
{
totalPrice
+=
Number
(
item
.
CostPrice
)
+
Number
(
item
.
HighSpeedPrice
)
+
Number
(
item
.
StopPrice
)
totalPrice
+=
Number
(
item
.
CostPrice
)
+
Number
(
item
.
HighSpeedPrice
)
+
Number
(
item
.
StopPrice
)
})
})
return
t
otalPrice
return
t
his
.
moneyFormat
(
totalPrice
)
},
},
hotelTotalPrice
(
obj
){
hotelTotalPrice
(
obj
){
let
totalPrice
=
0
let
totalPrice
=
0
obj
.
forEach
(
x
=>
{
obj
.
forEach
(
x
=>
{
totalPrice
+=
x
.
UnitPrice
*
(
x
.
HouseGuestNum
-
x
.
HotelDiscount
)
*
(
1
-
x
.
RebateRatio
/
100
)
totalPrice
+=
x
.
UnitPrice
*
(
x
.
HouseGuestNum
-
x
.
HotelDiscount
)
*
(
1
-
x
.
RebateRatio
/
100
)
})
})
return
t
otalPrice
return
t
his
.
moneyFormat
(
totalPrice
)
},
},
diningTotalPrice
(
obj
){
diningTotalPrice
(
obj
){
let
totalPrice
=
0
let
totalPrice
=
0
obj
.
forEach
(
x
=>
{
obj
.
forEach
(
x
=>
{
totalPrice
+=
x
.
PeoplePrice
*
(
x
.
PeopleNum
-
x
.
Discount
)
*
(
1
-
x
.
DiscountPrice
/
100
)
totalPrice
+=
x
.
PeoplePrice
*
(
x
.
PeopleNum
-
x
.
Discount
)
*
(
1
-
x
.
DiscountPrice
/
100
)
})
})
return
t
otalPrice
return
t
his
.
moneyFormat
(
totalPrice
)
},
},
scenicTotalPrice
(
obj
){
scenicTotalPrice
(
obj
){
let
totalPrice
=
0
let
totalPrice
=
0
obj
.
forEach
(
x
=>
{
obj
.
forEach
(
x
=>
{
totalPrice
+=
x
.
PeoplePrice
*
(
x
.
UsePeopleNum
-
x
.
Discount
)
*
(
1
-
x
.
DiscountPrice
/
100
)
totalPrice
+=
x
.
PeoplePrice
*
(
x
.
UsePeopleNum
-
x
.
Discount
)
*
(
1
-
x
.
DiscountPrice
/
100
)
})
})
return
t
otalPrice
return
t
his
.
moneyFormat
(
totalPrice
)
},
},
otherTotalPrice
(
obj
){
otherTotalPrice
(
obj
){
let
totalPrice
=
0
let
totalPrice
=
0
obj
.
forEach
(
item
=>
{
obj
.
forEach
(
item
=>
{
totalPrice
+=
item
.
TotalNum
*
item
.
UnitPrice
*
(
1
-
item
.
Rebate
/
100
)
totalPrice
+=
item
.
TotalNum
*
item
.
UnitPrice
*
(
1
-
item
.
Rebate
/
100
)
})
})
return
t
otalPrice
return
t
his
.
moneyFormat
(
totalPrice
)
},
},
saveData
()
{
saveData
()
{
this
.
apipost
(
'dmcstatistics_post_SetOtherOrderList'
,
this
.
list
.
OtherOrderReportList
,
res
=>
{
this
.
apipost
(
'dmcstatistics_post_SetOtherOrderList'
,
this
.
list
.
OtherOrderReportList
,
res
=>
{
...
...
src/components/leaderPay2.vue
View file @
01f9825a
...
@@ -138,7 +138,7 @@
...
@@ -138,7 +138,7 @@
<span v-if='index==dataList.BusList.length-1'>送机</span> -->
<span v-if='index==dataList.BusList.length-1'>送机</span> -->
</td>
</td>
<td>
<td>
{{
item.TotalPrice
}} {{item.CurrencyStr}}
{{
moneyFormat(item.TotalPrice)
}} {{item.CurrencyStr}}
</td>
</td>
<td>
<td>
{{item.Remarks}}
{{item.Remarks}}
...
@@ -195,39 +195,39 @@
...
@@ -195,39 +195,39 @@
</tr>
</tr>
<tr
v-show=
"totalList.PlanTotalPrice>0"
>
<tr
v-show=
"totalList.PlanTotalPrice>0"
>
<td>
领取团款
</td>
<td>
领取团款
</td>
<td>
{{
totalList.PlanTotalPrice
}}
</td>
<td>
{{
moneyFormat(totalList.PlanTotalPrice)
}}
</td>
</tr>
</tr>
<tr
v-show=
"totalList.SelfPayingExpendTotalPrice>0"
>
<tr
v-show=
"totalList.SelfPayingExpendTotalPrice>0"
>
<td>
自费支出
</td>
<td>
自费支出
</td>
<td>
{{
totalList.SelfPayingExpendTotalPrice
}}
</td>
<td>
{{
moneyFormat(totalList.SelfPayingExpendTotalPrice)
}}
</td>
</tr>
</tr>
<tr
v-show=
"totalList.SelfPayingIncomeTotalPrice>0"
>
<tr
v-show=
"totalList.SelfPayingIncomeTotalPrice>0"
>
<td>
自费收入
</td>
<td>
自费收入
</td>
<td>
{{
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>
{{
totalList.IncomeTotalPrice
}}
</td>
<td>
{{
moneyFormat(totalList.IncomeTotalPrice)
}}
</td>
</tr>
</tr>
<tr
v-show=
"(totalList.ExpendTotalPrice-totalScenicPrice-totalTrafficPrice-totalDinnerPrice-totalHotelPrice)>0"
>
<tr
v-show=
"(totalList.ExpendTotalPrice-totalScenicPrice-totalTrafficPrice-totalDinnerPrice-totalHotelPrice)>0"
>
<td>
其他费用
</td>
<td>
其他费用
</td>
<td>
{{
totalList.ExpendTotalPrice-totalScenicPrice-totalTrafficPrice-totalDinnerPrice-totalHotelPrice
}}
</td>
<td>
{{
moneyFormat(totalList.ExpendTotalPrice-totalScenicPrice-totalTrafficPrice-totalDinnerPrice-totalHotelPrice)
}}
</td>
</tr>
</tr>
<tr
v-show=
"totalScenicPrice>0"
>
<tr
v-show=
"totalScenicPrice>0"
>
<td>
景点门票
</td>
<td>
景点门票
</td>
<td>
{{
totalScenicPrice
}}
</td>
<td>
{{
moneyFormat(totalScenicPrice)
}}
</td>
</tr>
</tr>
<tr
v-show=
"totalTrafficPrice>0"
>
<tr
v-show=
"totalTrafficPrice>0"
>
<td>
交通
</td>
<td>
交通
</td>
<td>
{{
totalTrafficPrice
}}
</td>
<td>
{{
moneyFormat(totalTrafficPrice)
}}
</td>
</tr>
</tr>
<tr
v-show=
"totalDinnerPrice>0"
>
<tr
v-show=
"totalDinnerPrice>0"
>
<td>
餐饮
</td>
<td>
餐饮
</td>
<td>
{{
totalDinnerPrice
}}
</td>
<td>
{{
moneyFormat(totalDinnerPrice)
}}
</td>
</tr>
</tr>
<tr
v-show=
"totalHotelPrice>0"
>
<tr
v-show=
"totalHotelPrice>0"
>
<td>
酒店
</td>
<td>
酒店
</td>
<td>
{{
totalHotelPrice
}}
</td>
<td>
{{
moneyFormat(totalHotelPrice)
}}
</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"
>
...
@@ -239,11 +239,11 @@
...
@@ -239,11 +239,11 @@
<th>
领队退款
</th>
<th>
领队退款
</th>
</tr>
</tr>
<tr
v-for=
"item in TotalPriceData"
v-if=
"item.PlanPrice > 0 || item.PlanTotalPrice > 0 || item.ExpendTotalPrice > 0"
>
<tr
v-for=
"item in TotalPriceData"
v-if=
"item.PlanPrice > 0 || item.PlanTotalPrice > 0 || item.ExpendTotalPrice > 0"
>
<td>
{{
item.CurrencyStr
}}
</td>
<td>
{{
moneyFormat(item.CurrencyStr)
}}
</td>
<td>
{{
item.PlanPrice
}}
</td>
<td>
{{
moneyFormat(item.PlanPrice)
}}
</td>
<td>
{{
item.PlanTotalPrice
}}
</td>
<td>
{{
moneyFormat(item.PlanTotalPrice)
}}
</td>
<td>
{{
item.ExpendTotalPrice
}}
</td>
<td>
{{
moneyFormat(item.ExpendTotalPrice)
}}
</td>
<td>
{{
item.PlanTotalPrice - item.ExpendTotalPrice
}}
</td>
<td>
{{
moneyFormat(item.PlanTotalPrice - item.ExpendTotalPrice)
}}
</td>
</tr>
</tr>
</table>
</table>
<
template
v-if=
"dataList.LeaderApply && dataList.LeaderApply.Status && dataList.LeaderApply.Status==1"
>
<
template
v-if=
"dataList.LeaderApply && dataList.LeaderApply.Status && dataList.LeaderApply.Status==1"
>
...
...
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