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

总提成下载

parent f680cd87
...@@ -4,15 +4,29 @@ ...@@ -4,15 +4,29 @@
position: relative; position: relative;
top: 1px; top: 1px;
} }
.opUl li {
display: inline-block;
margin: 10px 15px 10px 0;
}
</style> </style>
<template> <template>
<div class="flexOne"> <div class="flexOne domesticCommission">
<div class="query-box"> <div >
<ul> <ul class="opUl">
<li> <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" /> <input v-if="IsAuth==1" type="button" class="normalBtn" @click="CreateAirticketCommission()" value="生成提成报表" :disabled="isDisable" />
</li> </li>
<li >
<el-button size="mini" type="danger" style="border-radius:14px"
@click="exportExcel">导出员工总提成</el-button>
</li>
</ul> </ul>
</div> </div>
<table class="singeRowTable" border="0" cellspacing="0" cellpadding="0" v-loading="loading"> <table class="singeRowTable" border="0" cellspacing="0" cellpadding="0" v-loading="loading">
...@@ -61,7 +75,7 @@ ...@@ -61,7 +75,7 @@
currentPage: 1, currentPage: 1,
isDisable:false, isDisable:false,
IsAuth:0,//生成票务提成权限 IsAuth:0,//生成票务提成权限
Periods:'',
} }
}, },
mounted() { mounted() {
...@@ -70,6 +84,22 @@ ...@@ -70,6 +84,22 @@
this.getList(); this.getList();
}, },
methods: { 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(){ goUrlZD(){
let orderObj = { let orderObj = {
OrderID: 0, 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