//
//  HistoryTopView.m
//  vanke
//
//  Created by Z on 16/4/18.
//  Copyright © 2016年 gomore. All rights reserved.
//

#import "HistoryTopView.h"

@interface HistoryTopView ()

@end

@implementation HistoryTopView


-(void)awakeFromNib {
    self.buttonQuery.layer.cornerRadius = 5;
    NSDateFormatter *f = [[NSDateFormatter alloc] init];
    [f setDateFormat:@"yyyy-MM-dd"];
    
    self.startDate.text = [f stringFromDate:[NSDate date]];
    self.endDate.text = [f stringFromDate:[NSDate date]];
    
}

- (void)startDateBecomeFistRespond {
    [self.startDate becomeFirstResponder];
}

- (void)endDateBecomeFistRespond {
    [self.endDate becomeFirstResponder];
}
- (IBAction)queryAction:(id)sender {
    NSLog(@"查询");
}


/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect {
    // Drawing code
}
*/

@end
