|
@@ -35,7 +35,7 @@ export default class IconList extends Component{
|
|
|
let itemDay=new Date(item.time).toDateString()
|
|
let itemDay=new Date(item.time).toDateString()
|
|
|
if(itemDay===day){
|
|
if(itemDay===day){
|
|
|
|
|
|
|
|
- console.log('todayBill',[item])
|
|
|
|
|
|
|
+ //console.log('todayBill',[item])
|
|
|
//setSessionStorage('todayBill',[item])
|
|
//setSessionStorage('todayBill',[item])
|
|
|
|
|
|
|
|
if(item.class==='pay'){
|
|
if(item.class==='pay'){
|
|
@@ -75,7 +75,7 @@ export default class IconList extends Component{
|
|
|
let bottom=new Date(year+'/'+month+'/1').getTime(),
|
|
let bottom=new Date(year+'/'+month+'/1').getTime(),
|
|
|
top=new Date(year+'/'+month+'/31').getTime();
|
|
top=new Date(year+'/'+month+'/31').getTime();
|
|
|
let months=collectByDate(bills,bottom,top)
|
|
let months=collectByDate(bills,bottom,top)
|
|
|
- console.log('monthBill',months.arr)
|
|
|
|
|
|
|
+ //console.log('monthBill',months.arr)
|
|
|
//setSessionStorage('monthBill',months.arr)
|
|
//setSessionStorage('monthBill',months.arr)
|
|
|
this.setState({monthPay:months.Pay,monthIncome:months.Income})
|
|
this.setState({monthPay:months.Pay,monthIncome:months.Income})
|
|
|
}
|
|
}
|