Commit ceb26bd8 authored by youjie's avatar youjie

no message

parent a793fcb3
...@@ -1000,7 +1000,6 @@ export default { ...@@ -1000,7 +1000,6 @@ export default {
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=="上半年报"){
// console.log(rowData.Year,month,'==========')
let QStartDate let QStartDate
let QEndDate let QEndDate
let month2 let month2
...@@ -1016,7 +1015,7 @@ export default { ...@@ -1016,7 +1015,7 @@ export default {
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}` 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}`
......
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