Commit 9b5e9143 authored by liudong1993's avatar liudong1993

1 月结调整

parent d3c1ca1e
......@@ -241,6 +241,7 @@
</span>
<button class="hollowFixedBtn" @click="resetPageIndex()">{{$t('pub.searchBtn')}}</button>
<button class="normalBtn" @click="method5()">{{$t('visa.v_daochu')}}</button>
<button class="normalBtn" @click="method6()">已选中导出</button>
<button v-if="FinanceCreate" class="normalBtn" @click="GenerateDocuments()">{{$t('objFill.generatedocuments')}}</button>
</li>
</ul>
......@@ -855,6 +856,15 @@
var fileName = `${this.$t('objFill.monthlystatementofcosts')}${time}.xls`;
this.GetLocalFile("Financial_get_GetCostMonthALLExport", this.msg, fileName);
},
method6: function () {
if(this.multipleSelection.length<=0){this.$message.error('请选中数据');return;}
let ids = this.multipleSelection.map(x=>{ return x.FrID })
let frIds = ids.join(',');
let time = this.getBeforeDate(0, new Date().Format("yyyy-MM-dd"))
var fileName = `${this.$t('objFill.monthlystatementofcosts')}${time}.xls`;
this.GetLocalFile("Financial_get_GetCostMonthALLExport", {EmployeeId:this.msg.EmployeeId,ImportType:2,FrIDs:frIds}, fileName);
},
financeRemove(id) { //作废
this.$confirm(this.$t('tips.zuofeicaiwudan'), this.$t('tips.tips'), {
confirmButtonText: this.$t('pub.sureBtn'),
......
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