Commit 8b0f1f9a authored by liudong1993's avatar liudong1993

1

parent 69a2fb01
...@@ -999,32 +999,32 @@ export default { ...@@ -999,32 +999,32 @@ export default {
}); });
} }
}else if(rowData.ZhaiYao=="预收款(团费)"||rowData.ZhaiYao=="预收款(抵用)"){ }else if(rowData.ZhaiYao=="预收款(团费)"||rowData.ZhaiYao=="预收款(抵用)"){
if(column.title=="一月" || column.title=="二月" || column.title=="三月"|| // if(column.title=="一月" || column.title=="二月" || column.title=="三月"||
column.title=="四月" || column.title=="五月" || column.title=="六月" || // column.title=="四月" || column.title=="五月" || column.title=="六月" ||
column.title=="第一季度" || column.title=="第二季度" || column.title=="上半年报"){ // column.title=="第一季度" || column.title=="第二季度" || column.title=="上半年报"){
let QStartDate // let QStartDate
let QEndDate // let QEndDate
let month2 // let month2
var MonthDayNum // var MonthDayNum
if(column.title=="第一季度"){ // if(column.title=="第一季度"){
QStartDate = `${rowData.Year}-01-01` // QStartDate = `${rowData.Year}-01-01`
month2 = `03` // month2 = `03`
} else if(column.title=="第二季度"){ // } else if(column.title=="第二季度"){
QStartDate = `${rowData.Year}-04-01` // QStartDate = `${rowData.Year}-04-01`
month2 = `06` // month2 = `06`
} else if(column.title=="上半年报"){ // } else if(column.title=="上半年报"){
QStartDate = `${rowData.Year}-01-01` // QStartDate = `${rowData.Year}-01-01`
month2 = `06` // month2 = `06`
}else{ // }else{
QStartDate = `${rowData.Year}-${month>10?month:'0'+month}-01` // QStartDate = `${rowData.Year}-${month>10?month:'0'+month}-01`
month2 = `${month>10?month:'0'+month}` // month2 = `${month>10?month:'0'+month}`
} // }
MonthDayNum = new Date(rowData.Year, month2, 0).getDate(); //计算当月的天数 // MonthDayNum = new Date(rowData.Year, month2, 0).getDate(); //计算当月的天数
QEndDate = `${rowData.Year}-${month2}-${MonthDayNum}` // QEndDate = `${rowData.Year}-${month2}-${MonthDayNum}`
that.goUrl("prestoreList",QStartDate,QEndDate,"客户预存查询") // that.goUrl("prestoreList",QStartDate,QEndDate,"客户预存查询")
}else{ // }else{
that.GoUrlFan('JumpReport',month,rowData.Year,rowData.BranchId,rowData.CostIds,StandardCurrencyId) that.GoUrlFan('JumpReport',month,rowData.Year,rowData.BranchId,rowData.CostIds,StandardCurrencyId)
} //}
} }
else{ else{
that.GoUrlFan('JumpReport',month,rowData.Year,rowData.BranchId,rowData.CostIds,StandardCurrencyId) that.GoUrlFan('JumpReport',month,rowData.Year,rowData.BranchId,rowData.CostIds,StandardCurrencyId)
......
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