| 12345678910111213141516171819202122232425262728293031323334353637383940414243 |
- //
- // ProductSearchViewController.h
- // IBOSSmini
- //
- // Created by guan hong hou on 2017/5/16.
- // Copyright © 2017年 elongtian. All rights reserved.
- //
- #import "BaseViewController.h"
- #import "GoodsSearchModel.h"
- #import "GoodsSearchItemModel.h"
- #import "DKScanDelegate.h"
- #import "OrderHomeViewController.h"
- #define IsiPhoneX ([UIScreen instancesRespondToSelector:@selector(currentMode)] ? CGSizeEqualToSize(CGSizeMake(1125, 2436), [[UIScreen mainScreen] currentMode].size) : NO)
- @class GoodsSearchCell;
- @protocol GoodsSearchVCCellDelegate <NSObject>
- @optional
- -(void)showGoodsDetail:(int)index;
- -(void)textValueChange:(GoodsSearchCell*)cell txtField:(UITextField*)txtfield ;
- -(void)beginEdit:(GoodsSearchCell *)cell;
- -(void)alertMessage:(NSString*)message;
- -(void)joinCart:(GoodsSearchItemModel*)searchItem;
- @end
- @interface ProductSearchViewController : BaseViewController<UITextFieldDelegate,UITableViewDataSource,UITableViewDelegate, GoodsSearchVCCellDelegate,DKScanDelegate>
- @property(nonatomic,strong)UITextField *onlyCodeTxt;//唯一编码
- @property (strong, nonatomic) UINavigationController *cNav;//父类导航控制器
- @property (nonatomic,strong) UIButton *scanBtn;//扫描按钮
- @property(nonatomic,strong) ASIDownManager *mDownManager;
- @property(nonatomic,strong) NSMutableArray *orderArr;//订单数组
- @property(strong) GoodsSearchModel *goodsModel;//产品搜索类
- @property(nonatomic,strong) UITableView *tbView;//产品搜索
- @property(nonatomic,strong) UIView *separatorView;
- @property(nonatomic,strong) UIView *middleSeparatorView;
- @property(nonatomic,strong) UIView *vFilterZeroCanSalesQuantity;
- @property(nonatomic,strong) UIButton *btnFilterZeroCanSalesQuantity;
- @property(nonatomic,strong) UILabel *lblFilterZeroCanSalesQuantity;
- @property(nonatomic,strong) NSMutableArray *orderFilterArry;//订单数组
- @property(nonatomic,strong) NSMutableArray *orderTempFilterArry;//订单数组
- @property(nonatomic,assign)Boolean isFilterCanSalesQuantity;
- @property(nonatomic,assign)CGFloat filterHeight;
- -(void)reloadDataWithOnlyCode:(NSString *)code;//加载数据方法
- @end
|