Commit c5090cec authored by 吴春's avatar 吴春

订单新增导出功能

parent 09bfd1c0
......@@ -7,13 +7,13 @@
</style>
<template>
<div class="flexOne">
<!-- <div class="query-box">
<div class="query-box">
<ul>
<li>
<input type="button" class="normalBtn" @click="generateTable" value="生成提成报表"/>
<input type="button" class="normalBtn" value="订单信息下载" @click="exportExcel()">
</li>
</ul>
</div> -->
</div>
<table v-loading="loading" class="singeRowTable" border="0" cellspacing="0" cellpadding="0">
<tr>
<th>订单号</th>
......@@ -78,6 +78,14 @@
}
});
},
exportExcel() {
//导出报表
let msgexport = {
StartDate:this.$route.query.StartDate
};
var fileName = "【" + this.$route.query.StartDate + "订单信息.xls";
this.GetLocalFile("OPCommission_GetCommissionOrderExport", msgexport, fileName);
},
//获取数据
getList() {
this.loading = true;
......
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