Commit 58e7f843 authored by youjie's avatar youjie

no message

parent 0ed01f21
......@@ -89,7 +89,9 @@
<em @click.stop="heightQueryBox=!heightQueryBox">高级查询 <i class="iconfont icon-gengduo" style="font-size: 12px;"></i></em>
</span>
<button class="hollowFixedBtn" @click="resetPageIndex()">{{$t('pub.searchBtn')}}</button>
<button class="normalBtn" @click="method5()">导出</button>
<el-button
:loading="loadingDC"
class="normalBtn" @click="method5()">导出</el-button>
<!-- <button class="normalBtn" @click="GenerateDocuments()">生成财务单据</button> -->
</li>
</ul>
......@@ -260,9 +262,6 @@
show-overflow-tooltip width="150">
<template slot-scope="scope">
{{scope.row.Money}}
<!-- <p style="line-height:20px" v-if="scope.row.Money>0">{{scope.row.Type==1?'应收':'应付'}}<span>{{scope.row.Money}}</span></p>
<p style="line-height:20px" v-if="scope.row.PayMoney>0">{{scope.row.Type==1?'实收':'实付'}}<span>{{scope.row.PayMoney}}</span></p>
<p v-if="scope.row.IsAdvanceFinance==1&&scope.row.MatchMoney>0" style="line-height:20px">冲抵:<span>{{scope.row.MatchMoney}}</span></p> -->
</template>
</el-table-column>
<el-table-column
......@@ -427,6 +426,7 @@
ChineseStr:'',
DepartIDs:'',
heightQueryBox:false,
loadingDC: false,
}
},
created(){
......@@ -537,6 +537,9 @@
},err=>{})
},
getPageList(){ // 获取列表数据
if(this.msg.TCNUM==''&&this.msg.RemitterName==''){
return this.$message.error("请输入团队号或领队/导游名称,再进行查询")
}
if(this.msg.RB_Branch_Id === '')this.msg.RB_Branch_Id=-1;
if(!this.msg.TCID)this.msg.TCID=0;
if(!this.msg.Status)this.msg.Status=0;
......@@ -577,26 +580,19 @@
},err=>{})
},
method5: function() {
if(!this.msg.ClientID)this.msg.ClientID="";
if(!this.msg.ClientType)this.msg.ClientType=0;
if(!this.msg.CurrencyId)this.msg.CurrencyId=0;
if(!this.msg.CostTypeID)this.msg.CostTypeID=0;
if(this.msg.TemplateIds=='0')this.msg.TemplateIds='';
if(this.msg.RB_Branch_Id === '')this.msg.RB_Branch_Id=-1;
if(!this.msg.RB_Depart_Id)this.msg.RB_Depart_Id=0;
if(!this.msg.UpdateBy)this.msg.UpdateBy=0;
if(!this.msg.TCID)this.msg.TCID=0;
if(!this.msg.OrderID)this.msg.OrderID=0;
if(!this.msg.Status)this.msg.Status=0;
if(!this.msg.FrID)this.msg.FrID=0;
if(!this.msg.Conditon)this.msg.Conditon=1;
if(!this.msg.TradeWay)this.msg.TradeWay=0;
if(!this.msg.AccountType)this.msg.AccountType=0;
if(!this.msg.KJCostTypeId)this.msg.KJCostTypeId=0;
if(!this.msg.IsSelectKJSetCostType)this.msg.IsSelectKJSetCostType=0;
let time = this.getBeforeDate(0,new Date().Format("yyyy-MM-dd"))
var fileName = `成本月结表${time}.xls`;
this.GetLocalFile("Financial_get_GetCostMonthALLExport", this.msg,fileName);
if(this.msg.TCNUM==''&&this.msg.RemitterName==''){
return this.$message.error("请输入团队号或领队/导游名称,再进行导出")
}
if(this.msg.RB_Branch_Id === '')this.msg.RB_Branch_Id=-1;
if(!this.msg.TCID)this.msg.TCID=0;
if(!this.msg.Status)this.msg.Status=0;
if(!this.msg.FrID)this.msg.FrID=0;
let time = this.getBeforeDate(0,new Date().Format("yyyy-MM-dd"))
var fileName = `报账合并结算表${time}.xls`;
this.loadingDC = true
this.GetLocalFile("Financial_post_DownloadReimbursement", this.msg,fileName,x=>{
this.loadingDC = false
});
} ,
financeRemove(id){//作废
this.$confirm('是否对申请单进行作废操作?作废后不可恢复!', '提示', {
......
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