| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465 |
- //
- // 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 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 (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) NSString* last_edit;
- //@property int step;
- //@property int quantity;
- @end
|