Commit f1689064 authored by zhengke's avatar zhengke

修改

parent 7591e087
...@@ -131,7 +131,7 @@ ...@@ -131,7 +131,7 @@
<div class="page-body"> <div class="page-body">
<ul class="_nav clearfix" v-if="showTab==0"> <ul class="_nav clearfix" v-if="showTab==0">
<template v-if="isFrom==1"> <template v-if="isFrom==1">
<li :class="active==2?'_active':''" @click="active=2,tabData(2)">{{$t('fnc.fukuandan')}}</li> <li :class="active==2?'_active':''" ref="fukuandan" @click="active=2,tabData(2)">{{$t('fnc.fukuandan')}}</li>
</template> </template>
<template v-else> <template v-else>
<li :class="active==1?'_active':''" @click="active=1,tabData(1)">{{$t('fnc.shoukuandan')}}</li> <li :class="active==1?'_active':''" @click="active=1,tabData(1)">{{$t('fnc.shoukuandan')}}</li>
...@@ -222,6 +222,7 @@ ...@@ -222,6 +222,7 @@
NewItems() { NewItems() {
var _this = this; var _this = this;
var NewItems = []; var NewItems = [];
console.log(this.GetList,'firstttt');
this.GetList.map(function (item) { this.GetList.map(function (item) {
if (item.Name.search(_this.searchVal) != -1) { if (item.Name.search(_this.searchVal) != -1) {
NewItems.push(item); NewItems.push(item);
...@@ -499,7 +500,11 @@ ...@@ -499,7 +500,11 @@
}); });
} }
if(this.isFrom==0){
this.GetList = this.collectList; this.GetList = this.collectList;
}else{
this.GetList = this.payList;
}
if (this.GetList.length < 1) { if (this.GetList.length < 1) {
this.noData = true; this.noData = true;
} }
...@@ -545,11 +550,11 @@ ...@@ -545,11 +550,11 @@
this.Handmsg = this.$route.query.Handmsg ? this.$route.query.Handmsg : this.Handmsg; this.Handmsg = this.$route.query.Handmsg ? this.$route.query.Handmsg : this.Handmsg;
this.czmsg = this.$route.query.czmsg ? this.$route.query.czmsg : this.czmsg; this.czmsg = this.$route.query.czmsg ? this.$route.query.czmsg : this.czmsg;
this.isFrom = this.$route.query.isFrom ? this.$route.query.isFrom : 0; this.isFrom = this.$route.query.isFrom ? this.$route.query.isFrom : 0;
this.Financial_post_GetList();
if(this.isFrom==1){ if(this.isFrom==1){
this.active=2; this.active=2;
this.tabData(2); this.tabData(2);
} }
this.Financial_post_GetList();
}, },
components: { components: {
"my-FlowChartModule": myFlowChartModule "my-FlowChartModule": myFlowChartModule
......
...@@ -899,7 +899,7 @@ ...@@ -899,7 +899,7 @@
allPrice: 0, allPrice: 0,
allPriceTo: '', allPriceTo: '',
allPriceTocalc: '', allPriceTocalc: '',
chinaAllPrice: this.$commonUtils.changeMoneyToChinese(this.allPrice), chinaAllPrice: this.$commonUtils.changeMoneyToChinese(this.TopMoney),
DepartIDs: '0', DepartIDs: '0',
GetDetail: {}, GetDetail: {},
loading: false, loading: false,
...@@ -1435,7 +1435,10 @@ ...@@ -1435,7 +1435,10 @@
} }
} }
this.commonDetailList = this.detailList; this.commonDetailList = this.detailList;
this.TopMoney = this.detailList.yTotalPriceTo; this.TopMoney = Math.round(this.detailList.yTotalPrice * 100) / 100
this.chinaAllPrice = this.$commonUtils.changeMoneyToChinese(this.TopMoney)
this.allPriceTo = this.TopMoney
}, },
getCostTypeName(i, t) { // 根据支出费用类型获取费用类型名称 列表展示用 getCostTypeName(i, t) { // 根据支出费用类型获取费用类型名称 列表展示用
this.GetCostTypeList.forEach(x => { this.GetCostTypeList.forEach(x => {
...@@ -1697,7 +1700,7 @@ ...@@ -1697,7 +1700,7 @@
this.allPriceTo = this.$commonUtils.addCommas(Math.round(this.allPrice * 100) / 100) this.allPriceTo = this.$commonUtils.addCommas(Math.round(this.allPrice * 100) / 100)
this.allPriceTocalc = Math.round(this.allPrice * 100) / 100 this.allPriceTocalc = Math.round(this.allPrice * 100) / 100
this.chinaAllPrice = this.$commonUtils.changeMoneyToChinese(this.allPrice) // this.chinaAllPrice = this.$commonUtils.changeMoneyToChinese(this.allPrice)
this.BillName = data.CompanyName; this.BillName = data.CompanyName;
this.BillSonName = data.FinanceName; this.BillSonName = data.FinanceName;
this.IsUploadPic = data.IsUploadPic; this.IsUploadPic = data.IsUploadPic;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment