| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475 |
- //
- // CartItemCell.h
- // RedAnt ERP Mobile
- //
- // Created by Ray on 14-7-9.
- // Copyright (c) 2014年 United Software Applications, Inc. All rights reserved.
- //
- #import <UIKit/UIKit.h>
- //#import "TouchLabel.h"
- #import "StrikethroughLabel.h"
- @class ModelItemCell;
- //@protocol ModelItemCellDelegate <NSObject>
- //
- //-(void) returnQTY:(int)qty ;//indexPath :(NSIndexPath*) indexPath;
- //
- //@end
- @interface ModelItemCell : UITableViewCell
- //@property (nonatomic, weak) id<ModelItemCellDelegate> delegate;
- @property (strong, nonatomic) IBOutlet UIButton *masterBtn;
- @property (nonatomic,strong) NSDictionary *master_items;
- @property (strong, nonatomic) IBOutlet UILabel *labelDescription;
- //@property (strong, nonatomic) IBOutlet UILabel *labelCurrency;
- @property (strong, nonatomic) IBOutlet UILabel *labelPrice;
- @property (strong, nonatomic) IBOutlet UITextField *editCount;
- @property (strong, nonatomic) IBOutlet UIButton *btnImage;
- @property (strong, nonatomic) IBOutlet UILabel *labelUnitPrice;
- @property (strong, nonatomic) IBOutlet UILabel *bundleLabel;
- @property (strong, nonatomic) NSDictionary* bundle_item;
- -(void) set_Count:(int) count;
- @property (strong, nonatomic) IBOutlet UIButton *bundleButton;
- @property (strong, nonatomic) IBOutlet UIStepper *stepper;
- -(void) init_Stepper:(int) step max:(int) max min:(int)min value:(int)value;
- @property (strong,nonatomic) NSString* cart_id;
- @property int pre_val;
- @property double unit_price;
- @property double discount;
- @property (strong, nonatomic) IBOutlet StrikethroughLabel *labelOldPrice;
- @property (strong, nonatomic) IBOutlet UILabel *labelDiscount;
- @property (strong, nonatomic) IBOutlet UILabel *labelMasterpack;
- //@property (strong,nonatomic) NSIndexPath* from;
- @property (strong, nonatomic) IBOutlet UILabel *labelNotes;
- @property bool enable_longpress;
- @property bool noprice;
- @property (strong, nonatomic) IBOutlet UIImageView *img_checkmark;
- @property (strong, nonatomic) IBOutlet UILabel *labelNoSuchModel;
- @property (strong, nonatomic) IBOutlet UILabel *labelOutOfStock;
- @property (nonatomic , copy) void (^onReturnQTY)(int qty , NSDictionary* ext);
- @property (strong, nonatomic) IBOutlet UILabel *available_qty_label;
- @property (strong, nonatomic) IBOutlet UILabel *available_qty_value_label;
- @property (strong, nonatomic) IBOutlet UILabel *qty_Label; // wish list qty
- @property int totalchange;
- @property (nonatomic,copy) NSString *imageName;///<图片标识,若图片更改则标识更改,那么就重新加载图片
- -(void) cancel_setQTY;
- //@property (strong,nonatomic) NSString* last_edit;
- //@property int step;
- //@property int quantity;
- @end
|