Commit 1e53f7d5 authored by liudong1993's avatar liudong1993

1

parent a86ffd15
......@@ -318,7 +318,7 @@
resetPageIndex();
"
/>
<button class="normalBtn" @click="method5()">导出</button>
</li>
</ul>
</div>
......@@ -550,6 +550,11 @@
this.msg.pageIndex = 1;
this.currentPage = 1;
},
method5() {
let time = this.getBeforeDate(0,new Date().Format("yyyy-MM-dd"))
var fileName = `机损核实${time}.xls`;
this.GetLocalFile("Financial_post_GetTravelTicketLossToExcel", this.msg,fileName);
} ,
},
mounted() {
if(this.$route.path === '/productOrderList') {
......@@ -561,6 +566,7 @@
this.userInfo = this.getLocalStorage();
this.CurrentUserInfo = this.userInfo ;
this.userId = this.userInfo.EmployeeId;
this.msg.EmployeeId= this.userInfo.EmployeeId;
this.msg.BranchId = '-1'//this.userInfo.RB_Branch_id.toString();
if (this.$route.query.id) {
this.msg.BranchId = "-1";
......
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