ChooseParentViewController.h 1.57 KB
Newer Older
陈俊俊's avatar
陈俊俊 committed
1 2 3 4 5 6 7 8 9 10 11 12
//
//  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"

陈俊俊's avatar
陈俊俊 committed
13
typedef void(^ChoseBaseInfo)(NSArray *baseInfos);
Sandy's avatar
Sandy committed
14 15 16 17 18
typedef NS_ENUM(NSInteger, WareHouseType) {
    WareHouseTypeALl = 0,
    WareHouseTypeCenter,
    WareHouseTypeNotCenter,
};
陈俊俊's avatar
陈俊俊 committed
19 20 21 22 23 24

@interface ChooseParentViewController : ICRBaseViewController

@property (nonatomic,assign) BOOL isMoreChose;//是否是多选
@property (nonatomic,strong)NSMutableArray *dataArr;
@property (nonatomic,strong)NSMutableArray *indexArr;
陈俊俊's avatar
陈俊俊 committed
25
@property (nonatomic,strong)NSMutableArray *selectArr;//别的页面传过来
陈俊俊's avatar
陈俊俊 committed
26 27
@property (nonatomic,strong)UITableView *tableView;
@property (nonatomic,strong)UITextField *selectTextFiled;
陈俊俊's avatar
陈俊俊 committed
28 29
@property (nonatomic,strong)NSIndexPath *currentIndexPath;
@property (nonatomic,strong)NSString *tableStr;
陈俊俊's avatar
陈俊俊 committed
30
@property (nonatomic,assign) BOOL isRefresh;
陈俊俊's avatar
陈俊俊 committed
31
@property (nonatomic,copy)ChoseBaseInfo choseBaseInfo;
陈俊俊's avatar
陈俊俊 committed
32
@property (nonatomic,assign)BOOL isFirst;
陈俊俊's avatar
陈俊俊 committed
33
@property (nonatomic,strong)NSString *selectStr;
陈俊俊's avatar
陈俊俊 committed
34
@property (nonatomic,assign)NSInteger currentPage;
陈俊俊's avatar
陈俊俊 committed
35
@property (nonatomic,strong)NSString *startDate;
陈俊俊's avatar
陈俊俊 committed
36

Sandy's avatar
Sandy committed
37 38 39 40 41 42 43 44
//选择仓库定制参数

/**
 *  是否产品中心仓
 */
@property (nonatomic, assign) WareHouseType warehouseType;


陈俊俊's avatar
陈俊俊 committed
45
- (void)endRefreshing;
陈俊俊's avatar
陈俊俊 committed
46
- (void)getBaseDataFromServer;
陈俊俊's avatar
陈俊俊 committed
47
- (BOOL)isHaveIndexPath:(NSIndexPath *)indexPath;
陈俊俊's avatar
陈俊俊 committed
48
- (void)deleteTextFieldStr;
陈俊俊's avatar
陈俊俊 committed
49
- (void)fetchDataList:(NSString *)titleStr tableStr:(NSString *)tableStr;
陈俊俊's avatar
陈俊俊 committed
50
- (void)tableViewRefresh:(NSString *)titltstr;
陈俊俊's avatar
陈俊俊 committed
51
@end