CartTableViewCell.h 1.4 KB

12345678910111213141516171819202122232425262728293031323334
  1. //
  2. // CartCellTableViewCell.h
  3. // IBOSSmini
  4. //
  5. // Created by guan hong hou on 2017/5/18.
  6. // Copyright © 2017年 elongtian. All rights reserved.
  7. //
  8. #import <UIKit/UIKit.h>
  9. #import "ShopCartItemModel.h"
  10. #import "CartFrame.h"
  11. #import "ShopCartViewController.h"
  12. #import "ShopCartCellDelegate.h"
  13. @interface CartTableViewCell : UITableViewCell<UITextFieldDelegate>
  14. @property(strong) UILabel * lblInventoryID;//库存单号ID
  15. @property(strong) UILabel * lblCartID;//购物车ID
  16. @property(strong) UITextField * txtSalesQuantity;//销售数量
  17. @property(strong) UILabel * lblSpecification;//规格
  18. @property(strong) UILabel * lblCode;//产品编码
  19. @property(strong) UILabel * lblOnlyCode;//唯一编码
  20. @property(strong) UILabel * lblColorNumber;//色号
  21. @property(strong) UILabel * lblWarehouseName;//库区
  22. @property(strong) UILabel * lblBrandName;//品牌
  23. @property(strong) UILabel * lblGradeName;//等级
  24. @property(strong) UIButton *btnDelete;//删除
  25. @property(strong) UIButton *btnCheck;//checkbox按钮
  26. @property(strong) ShopCartItemModel *cartItemModel;//购物车类
  27. - (void) setCheckBackground: (BOOL) checked;//购物车checkbox切换函数
  28. -(void)parseCartInfo:(CartFrame *)cartFrame;//初始化购物车cell
  29. @property(nonatomic) BOOL isSelect;//购物车选中标识
  30. @property(nonatomic) int cellIndex;//购物车索引位置
  31. @property(weak) id<ShopCartCellDelegate> delegate;//购物车委托
  32. @property(nonatomic,strong) NSString *cartId;//购物车ID
  33. @end