Commit 209688ad authored by liudong1993's avatar liudong1993

1

parent c2f01655
...@@ -114,9 +114,11 @@ ...@@ -114,9 +114,11 @@
<div> <div>
<ul style="margin:10px 0;text-align:right"> <ul style="margin:10px 0;text-align:right">
<li> <li>
<button class="hollowFixedBtn" @click="outerVisible=true">导入预估数据</button> <el-button class="hollowFixedBtn" @click="outerVisible=true">导入预估数据</el-button>
<button class="hollowFixedBtn" @click="outerVisible2=true">导入账单数据</button> <el-button class="hollowFixedBtn" @click="outerVisible2=true">导入账单数据</el-button>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<button class="hollowFixedBtn" @click="SureUpdate" v-loading="UpdateLoad">执行更新</button> <el-button class="hollowFixedBtn" @click="downloadExcel()" :loading="loadingDC">导出Excel</el-button>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<el-button class="hollowFixedBtn" @click="SureUpdate()" :loading="UpdateLoad">执行更新</el-button>
</li> </li>
</ul> </ul>
<div>差额合计:{{TotalMoney}}</div> <div>差额合计:{{TotalMoney}}</div>
...@@ -202,6 +204,7 @@ ...@@ -202,6 +204,7 @@
return { return {
outerVisible:false, outerVisible:false,
outerVisible2:false, outerVisible2:false,
loadingDC:false,
DataList:[], DataList:[],
loading:false, loading:false,
importFileUrl2: "", importFileUrl2: "",
...@@ -312,7 +315,13 @@ ...@@ -312,7 +315,13 @@
this.$message.error('绑定失败,请联系管理员'); this.$message.error('绑定失败,请联系管理员');
} }
},err=>{}) },err=>{})
} },
downloadExcel() {
this.loadingDC=true;
this.GetLocalFile("Financial_post_GetNewCarETCPPDataListToExcel", {}, `ETC差额.xls`,x=>{
this.loadingDC = false;
});
},
}, },
} }
......
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