Commit 69a2fb01 authored by liudong1993's avatar liudong1993

1

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