Commit 195538fe authored by liudong1993's avatar liudong1993

1

parent 23c7d625
...@@ -86,7 +86,7 @@ ...@@ -86,7 +86,7 @@
</el-select> </el-select>
</el-form-item> </el-form-item>
</el-col> </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-form-item label="汇率">
<el-input v-model="shopMsg.MaoLiRate" type="number" @change="getChange"></el-input> <el-input v-model="shopMsg.MaoLiRate" type="number" @change="getChange"></el-input>
</el-form-item> </el-form-item>
...@@ -157,9 +157,12 @@ ...@@ -157,9 +157,12 @@
<button class="hollowFixedBtn" @click="getStatement"> <button class="hollowFixedBtn" @click="getStatement">
{{ $t("pub.searchBtn") }} {{ $t("pub.searchBtn") }}
</button> </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> </li>
</ul> </ul>
</div> </div>
...@@ -353,6 +356,20 @@ export default { ...@@ -353,6 +356,20 @@ export default {
} }
this.GetLocalFile("financestatistics_post_GetDataAnalysisStatToExcel", msg, '数据统计'+ this.$commonUtils.getCurrentDate() + ".xls"); 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() { getQueryData() {
//获取公司列表 //获取公司列表
this.apipost( 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