| 12345678910111213141516171819202122232425262728293031323334 |
- //
- // CartCellTableViewCell.h
- // IBOSSmini
- //
- // Created by guan hong hou on 2017/5/18.
- // Copyright © 2017年 elongtian. All rights reserved.
- //
- #import <UIKit/UIKit.h>
- #import "ShopCartItemModel.h"
- #import "CartFrame.h"
- #import "ShopCartViewController.h"
- #import "ShopCartCellDelegate.h"
- @interface CartTableViewCell : UITableViewCell<UITextFieldDelegate>
- @property(strong) UILabel * lblInventoryID;//库存单号ID
- @property(strong) UILabel * lblCartID;//购物车ID
- @property(strong) UITextField * txtSalesQuantity;//销售数量
- @property(strong) UILabel * lblSpecification;//规格
- @property(strong) UILabel * lblCode;//产品编码
- @property(strong) UILabel * lblOnlyCode;//唯一编码
- @property(strong) UILabel * lblColorNumber;//色号
- @property(strong) UILabel * lblWarehouseName;//库区
- @property(strong) UILabel * lblBrandName;//品牌
- @property(strong) UILabel * lblGradeName;//等级
- @property(strong) UIButton *btnDelete;//删除
- @property(strong) UIButton *btnCheck;//checkbox按钮
- @property(strong) ShopCartItemModel *cartItemModel;//购物车类
- - (void) setCheckBackground: (BOOL) checked;//购物车checkbox切换函数
- -(void)parseCartInfo:(CartFrame *)cartFrame;//初始化购物车cell
- @property(nonatomic) BOOL isSelect;//购物车选中标识
- @property(nonatomic) int cellIndex;//购物车索引位置
- @property(weak) id<ShopCartCellDelegate> delegate;//购物车委托
- @property(nonatomic,strong) NSString *cartId;//购物车ID
- @end
|