Commit 195538fe authored by liudong1993's avatar liudong1993

1

parent 23c7d625
......@@ -86,7 +86,7 @@
</el-select>
</el-form-item>
</el-col>
<el-col :span="4" v-if="activeName==4">
<el-col :span="4" v-if="activeName==4 && msg.StandardCurrencyId ==1">
<el-form-item label="汇率">
<el-input v-model="shopMsg.MaoLiRate" type="number" @change="getChange"></el-input>
</el-form-item>
......@@ -157,9 +157,12 @@
<button class="hollowFixedBtn" @click="getStatement">
{{ $t("pub.searchBtn") }}
</button>
<!-- <button class="normalBtn" @click="exportExcel">
<button v-if="activeName!=4" class="normalBtn" @click="exportExcel">
导出
</button> -->
</button>
<button v-if="activeName==4" class="normalBtn" @click="exportExcel2">
导出
</button>
</li>
</ul>
</div>
......@@ -353,6 +356,20 @@ export default {
}
this.GetLocalFile("financestatistics_post_GetDataAnalysisStatToExcel", msg, '数据统计'+ this.$commonUtils.getCurrentDate() + ".xls");
},
exportExcel2(){//导出报表
if(this.activeName=='4') {
this.shopMsg.startDate = this.msg.startDate
this.shopMsg.endDate = this.msg.endDate
this.shopMsg.LossType = this.msg.LossType
this.shopMsg.StandardCurrencyId = this.msg.StandardCurrencyId
}
let msg = {
EmployeeId: this.getLocalStorage().EmployeeId,
...this.shopMsg
}
this.GetLocalFile("financestatistics_post_GetCommissionAnalysisStatToExcel", msg, '佣金统计'+ this.$commonUtils.getCurrentDate() + ".xls");
},
getQueryData() {
//获取公司列表
this.apipost(
......
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