Commit 8b0f1f9a authored by liudong1993's avatar liudong1993

1

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