Commit f65bbef6 authored by 吴春's avatar 吴春

提交在途金额统计-总的金额以及导出

parent 1e992b48
...@@ -11,9 +11,6 @@ ...@@ -11,9 +11,6 @@
<div class="query-box" style="margin-bottom: 0px;"> <div class="query-box" style="margin-bottom: 0px;">
<el-form class="_info_box clearfix" label-width="110px"> <el-form class="_info_box clearfix" label-width="110px">
<el-row style="padding:15px 20px 0 0;"> <el-row style="padding:15px 20px 0 0;">
<el-col :span="4"> <el-col :span="4">
<el-form-item label="所属公司:"> <el-form-item label="所属公司:">
<el-select filterable v-model='msg.RB_Branch_Id' @change="getDepartmentMsg.RB_Branch_Id=msg.RB_Branch_Id,msg.RB_Depart_Id='',msg.UpdateBy='',getDepartment()" class=""> <el-select filterable v-model='msg.RB_Branch_Id' @change="getDepartmentMsg.RB_Branch_Id=msg.RB_Branch_Id,msg.RB_Depart_Id='',msg.UpdateBy='',getDepartment()" class="">
...@@ -53,6 +50,7 @@ ...@@ -53,6 +50,7 @@
<li class="hight_query"> <li class="hight_query">
<button class="hollowFixedBtn" @click="resetPageIndex()">{{$t('pub.searchBtn')}}</button> <button class="hollowFixedBtn" @click="resetPageIndex()">{{$t('pub.searchBtn')}}</button>
<button class="normalBtn" @click="method5()">导出</button>
</li> </li>
</ul> </ul>
</div> </div>
...@@ -65,9 +63,8 @@ ...@@ -65,9 +63,8 @@
<template v-if="multipleSelection.length>0"> <template v-if="multipleSelection.length>0">
<el-tag size="small" <el-tag size="small"
style="margin-right: 5px;margin-bottom: 5px;" style="margin-right: 5px;margin-bottom: 5px;"
v-for="(x,index) in multipleSelection" :key="x.FrID" > v-for="(x,index) in multipleSelection" :key="x.FrID" :type="x.Type==0?'danger':''">
{{x.Alias}}{{x.TotalMoney}} {{x.Alias}}{{x.TotalMoney}}
</el-tag> </el-tag>
</template> </template>
</div> </div>
...@@ -517,7 +514,30 @@ export default { ...@@ -517,7 +514,30 @@ export default {
this.msg.pageIndex = val; this.msg.pageIndex = val;
this.getPageList(); this.getPageList();
}, },
method5: function() {
if(!this.msg.ClientID)this.msg.ClientID="";
if(!this.msg.ClientType)this.msg.ClientType=0;
if(!this.msg.CurrencyId)this.msg.CurrencyId=0;
if(!this.msg.CostTypeID)this.msg.CostTypeID=0;
if(this.msg.TemplateIds=='0')this.msg.TemplateIds='';
if(this.msg.RB_Branch_Id === '')this.msg.RB_Branch_Id=-1;
if(this.msg.HelpBranchId === '')this.msg.HelpBranchId=-1;
if(!this.msg.RB_Depart_Id)this.msg.RB_Depart_Id=0;
if(!this.msg.UpdateBy)this.msg.UpdateBy=0;
if(!this.msg.TCID)this.msg.TCID=0;
if(!this.msg.OrderID)this.msg.OrderID=0;
if(!this.msg.Status)this.msg.Status=0;
if(!this.msg.FrID)this.msg.FrID=0;
if(!this.msg.NewFinanceId)this.msg.NewFinanceId=0;
if(!this.msg.Conditon)this.msg.Conditon=1;
if(!this.msg.TradeWay)this.msg.TradeWay=0;
if(!this.msg.AccountType)this.msg.AccountType=0;
if(!this.msg.KJCostTypeId)this.msg.KJCostTypeId=0;
if(!this.msg.IsSelectKJSetCostType)this.msg.IsSelectKJSetCostType=0;
let time = this.getBeforeDate(0,new Date().Format("yyyy-MM-dd"))
var fileName = `平台在途金额统计${time}.xls`;
this.GetLocalFile("Financial_post_GetPlatformStatisticsExport", this.msg,fileName);
} ,
getPageList(){ // 获取列表数据 getPageList(){ // 获取列表数据
if(!this.msg.ClientID)this.msg.ClientID=""; if(!this.msg.ClientID)this.msg.ClientID="";
if(!this.msg.ClientType)this.msg.ClientType=0; if(!this.msg.ClientType)this.msg.ClientType=0;
......
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