//
//  ChooseParentViewController.h
//  XFFruit
//
//  Created by 陈俊俊 on 15/9/2.
//  Copyright (c) 2015年 Xummer. All rights reserved.
//

#import "ICRBaseViewController.h"
#import "MaskCell.h"
#import "MJRefresh.h"

typedef void(^ChoseBaseInfo)(NSArray *baseInfos);


@interface ChooseParentViewController : ICRBaseViewController

@property (nonatomic,assign) BOOL isMoreChose;//是否是多选
@property (nonatomic,strong)NSMutableArray *dataArr;
@property (nonatomic,strong)NSMutableArray *indexArr;
@property (nonatomic,strong)NSMutableArray *selectArr;//别的页面传过来
@property (nonatomic,strong)UITableView *tableView;
@property (nonatomic,strong)UITextField *selectTextFiled;
@property (nonatomic,strong)NSIndexPath *currentIndexPath;
@property (nonatomic,strong)NSString *tableStr;
@property (nonatomic,assign) BOOL isRefresh;
@property (nonatomic,copy)ChoseBaseInfo choseBaseInfo;
@property (nonatomic,assign)BOOL isFirst;
@property (nonatomic,strong)NSString *selectStr;
@property (nonatomic,assign)NSInteger currentPage;
@property (nonatomic,strong)NSString *startDate;

- (void)endRefreshing;
- (void)getBaseDataFromServer;
- (BOOL)isHaveIndexPath:(NSIndexPath *)indexPath;
- (void)deleteTextFieldStr;
- (void)fetchDataList:(NSString *)titleStr tableStr:(NSString *)tableStr;
- (void)tableViewRefresh:(NSString *)titltstr;
@end
