Commit b11e7d8a authored by liudong1993's avatar liudong1993

1

parent e29604f0
......@@ -35,7 +35,7 @@
label="账期(月内)"
min-width="120" align="center" sortable>
<template slot-scope="scope">
{{scope.row.CurrentMoney}}
<span style="cursor: pointer;" @click="ToDetail(1,1,scope.row.CurrencyId,scope.row.ColorType)">{{scope.row.CurrentMoney}}</span>
</template>
</el-table-column>
<el-table-column
......@@ -43,7 +43,7 @@
label="账期(一个月)"
min-width="120" align="center" sortable>
<template slot-scope="scope">
{{scope.row.AgoOneMoney}}
<span style="cursor: pointer;" @click="ToDetail(1,2,scope.row.CurrencyId,scope.row.ColorType)">{{scope.row.AgoOneMoney}}</span>
</template>
</el-table-column>
<el-table-column
......@@ -51,7 +51,7 @@
label="账期(两个月)"
min-width="120" align="center" sortable>
<template slot-scope="scope">
{{scope.row.AgoTwoMoney}}
<span style="cursor: pointer;" @click="ToDetail(1,3,scope.row.CurrencyId,scope.row.ColorType)">{{scope.row.AgoTwoMoney}}</span>
</template>
</el-table-column>
<el-table-column
......@@ -59,7 +59,7 @@
label="账期(两个月以上)"
min-width="120" align="center" sortable>
<template slot-scope="scope">
{{scope.row.AgoThreeMoney}}
<span style="cursor: pointer;" @click="ToDetail(1,4,scope.row.CurrencyId,scope.row.ColorType)">{{scope.row.AgoThreeMoney}}</span>
</template>
</el-table-column>
</el-table-column>
......@@ -70,7 +70,7 @@
label="账期(月内)"
min-width="120" align="center" sortable>
<template slot-scope="scope">
{{scope.row.NCurrentMoney}}
<span style="cursor: pointer;" @click="ToDetail(2,1,scope.row.CurrencyId,scope.row.ColorType)">{{scope.row.NCurrentMoney}}</span>
</template>
</el-table-column>
<el-table-column
......@@ -78,7 +78,7 @@
label="账期(一个月)"
min-width="120" align="center" sortable>
<template slot-scope="scope">
{{scope.row.NAgoOneMoney}}
<span style="cursor: pointer;" @click="ToDetail(2,2,scope.row.CurrencyId,scope.row.ColorType)">{{scope.row.NAgoOneMoney}}</span>
</template>
</el-table-column>
<el-table-column
......@@ -86,7 +86,7 @@
label="账期(两个月)"
min-width="120" align="center" sortable>
<template slot-scope="scope">
{{scope.row.NAgoTwoMoney}}
<span style="cursor: pointer;" @click="ToDetail(2,3,scope.row.CurrencyId,scope.row.ColorType)">{{scope.row.NAgoTwoMoney}}</span>
</template>
</el-table-column>
<el-table-column
......@@ -94,7 +94,7 @@
label="账期(两个月以上)"
min-width="120" align="center" sortable>
<template slot-scope="scope">
{{scope.row.NAgoThreeMoney}}
<span style="cursor: pointer;" @click="ToDetail(2,4,scope.row.CurrencyId,scope.row.ColorType)">{{scope.row.NAgoThreeMoney}}</span>
</template>
</el-table-column>
</el-table-column>
......@@ -115,7 +115,19 @@ export default {
},
methods: {
ToDetail(LossType,KJCostTypeId,CurrencyId,ColorType){
this.$router.push({
path: 'RecPayQueryKM',
query: {
ImportType: 99,
LossType,
KJCostTypeId,
CurrencyId,
ColorType,
blank: 'y'
}
});
}
},
watch: {
StatisticalData:{
......
......@@ -174,7 +174,7 @@
<button v-if="activeName==7" class="normalBtn" @click="exportExcel4">
{{$t('visa.v_daochu')}}
</button>
<button v-if="activeName==8" class="normalBtn" @click="exportExcel4">
<button v-if="activeName==8" class="normalBtn" @click="exportExcel5">
{{$t('visa.v_daochu')}}
</button>
</li>
......@@ -473,6 +473,13 @@ export default {
}
this.GetLocalFile("financestatistics_post_GetPlatformIncomeAnalysisStatToExcel", msg, '平台收入占比'+ this.$commonUtils.getCurrentDate() + ".xls");
},
exportExcel5(){//导出报表
let msg = {
EmployeeId: this.getLocalStorage().EmployeeId,
...this.msg
}
this.GetLocalFile("financestatistics_post_GetWiatPayAnalysisStatToExcel", msg, '待付款情况'+ this.$commonUtils.getCurrentDate() + ".xls");
},
getQueryData() {
//获取公司列表
this.apipost(
......
......@@ -753,6 +753,14 @@
this.transactionDate[0] = this.$route.query.StartDate;
this.transactionDate[1] = this.$route.query.StartDate;
}
if(this.$route.query.ImportType && this.$route.query.ImportType==99){
this.msg.ImportType=this.$route.query.ImportType;
this.msg.CurrencyId=this.$route.query.CurrencyId;
this.msg.ColorType=this.$route.query.ColorType;
this.msg.LossType=this.$route.query.LossType;
this.msg.KJCostTypeId=this.$route.query.KJCostTypeId;
this.msg.CostTypeIDList =[];
}
},
components: {
"my-Bill": myBill,
......@@ -1144,7 +1152,7 @@
},
method5(type) {
let url = 'Financial_post_GetCostTypeAllListToExcel'
if((!this.msg.sTradeDate|| !this.msg.eTradeDate)&&(!this.msg.sDate|| !this.msg.eDate)){
if((!this.msg.sTradeDate|| !this.msg.eTradeDate)&&(!this.msg.sDate|| !this.msg.eDate)&&!(this.msg.ImportType&&this.msg.ImportType==99)){
this.Error(this.$t('objFill.v101.FinancialModule.qingxzzdrqjyrq')) ; return;
}
if (!this.msg.ClientID) this.msg.ClientID = 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