Commit 69a2fb01 authored by liudong1993's avatar liudong1993

1

parent 2fc9a08d
......@@ -38,7 +38,7 @@
<ul class="clearfix">
<li class="hight_query">
<button class="hollowFixedBtn" @click="resetPageIndex()">{{$t('pub.searchBtn')}}</button>
<!-- <button class="normalBtn" @click="method5()">导出</button> -->
<button class="normalBtn" @click="method5()">导出</button>
</li>
</ul>
</div>
......@@ -88,6 +88,11 @@
</template>
</template>
</el-table-column>
<el-table-column label="操作">
<template slot-scope="scope">
<span style="cursor: pointer;color: #00C6FF;" @click="downloadDetail(scope.row)">下载明细</span>
</template>
</el-table-column>
</el-table>
<div style="padding-bottom:15px">
<el-pagination background @current-change="handleCurrentChange"
......@@ -117,7 +122,8 @@ export default {
ClientIdStr:'',
QStartDate:'',
QEndDate:'',
RB_Branch_Id:-1
RB_Branch_Id:-1,
EmployeeId:'',
},
loading: false,
total: 0,
......@@ -129,6 +135,8 @@ export default {
},
mounted(){
let userInfo=this.getLocalStorage();
this.msg.EmployeeId= userInfo.EmployeeId;
this.getPageList();
this.getBranchList();
this.msg.ClientIdStr = this.$route.query.ClientIdStr?this.$route.query.ClientIdStr:""
......@@ -171,10 +179,15 @@ export default {
this.msg.QStartDate = this.productionDate[0];
this.msg.QEndDate = this.productionDate[1];
},
method5: function() {
method5() {
let time = this.getBeforeDate(0,new Date().Format("yyyy-MM-dd"))
var fileName = `客户预存余额${time}.xls`;
this.GetLocalFile("Financial_post_DownLoadFinanceDeposit", this.msg,fileName);
},
downloadDetail(item) {
let time = this.getBeforeDate(0,new Date().Format("yyyy-MM-dd"))
var fileName = `成本月结表${time}.xls`;
this.GetLocalFile("Financial_get_GetCostMonthALLExport", this.msg,fileName);
var fileName = `客户预存明细${time}.xls`;
this.GetLocalFile("Financial_post_DownLoadFinanceDepositLog", {DepositCustomerId:item.CustomerId,EmployeeId:this.msg.EmployeeId},fileName);
} ,
handleCurrentChange(val) { //翻页
this.msg.pageIndex = val;
......
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