Commit 0d97a0ef authored by 吴春's avatar 吴春

总提成下载

parent f680cd87
......@@ -4,15 +4,29 @@
position: relative;
top: 1px;
}
.opUl li {
display: inline-block;
margin: 10px 15px 10px 0;
}
</style>
<template>
<div class="flexOne">
<div class="query-box">
<ul>
<div class="flexOne domesticCommission">
<div >
<ul class="opUl">
<li>
<em>选择期数</em>
<el-date-picker
v-model="Periods"
type="month"
value-format="yyyy-MM"
placeholder="选择期数">
</el-date-picker>
<input v-if="IsAuth==1" type="button" class="normalBtn" @click="CreateAirticketCommission()" value="生成提成报表" :disabled="isDisable" />
</li>
<li >
<el-button size="mini" type="danger" style="border-radius:14px"
@click="exportExcel">导出员工总提成</el-button>
</li>
</ul>
</div>
<table class="singeRowTable" border="0" cellspacing="0" cellpadding="0" v-loading="loading">
......@@ -61,7 +75,7 @@
currentPage: 1,
isDisable:false,
IsAuth:0,//生成票务提成权限
Periods:'',
}
},
mounted() {
......@@ -70,6 +84,22 @@
this.getList();
},
methods: {
exportExcel: function () {
if(this.Periods&&this.Periods!=''&&this.Periods!=null&&this.Periods!=undefined){
let msg = {
RB_Group_Id: this.getLocalStorage().RB_Group_id,
Periods: this.Periods,
}
this.GetLocalFile(
"Commission_get_GetPeriodsIdAllUser",
msg,
"第"+this.Periods+"员工总提成.xls"
);
}else{
this.Error("请选择期数");
}
},
goUrlZD(){
let orderObj = {
OrderID: 0,
......
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