ModelItemCell.h 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. //
  2. // CartItemCell.h
  3. // RedAnt ERP Mobile
  4. //
  5. // Created by Ray on 14-7-9.
  6. // Copyright (c) 2014年 United Software Applications, Inc. All rights reserved.
  7. //
  8. #import <UIKit/UIKit.h>
  9. //#import "TouchLabel.h"
  10. #import "StrikethroughLabel.h"
  11. @class ModelItemCell;
  12. //@protocol ModelItemCellDelegate <NSObject>
  13. //
  14. //-(void) returnQTY:(int)qty ;//indexPath :(NSIndexPath*) indexPath;
  15. //
  16. //@end
  17. @interface ModelItemCell : UITableViewCell
  18. //@property (nonatomic, weak) id<ModelItemCellDelegate> delegate;
  19. @property (strong, nonatomic) IBOutlet UILabel *labelDescription;
  20. //@property (strong, nonatomic) IBOutlet UILabel *labelCurrency;
  21. @property (strong, nonatomic) IBOutlet UILabel *labelPrice;
  22. @property (strong, nonatomic) IBOutlet UITextField *editCount;
  23. @property (strong, nonatomic) IBOutlet UIButton *btnImage;
  24. @property (strong, nonatomic) IBOutlet UILabel *labelUnitPrice;
  25. @property (strong, nonatomic) IBOutlet UILabel *bundleLabel;
  26. @property (strong, nonatomic) NSDictionary* bundle_item;
  27. -(void) set_Count:(int) count;
  28. @property (strong, nonatomic) IBOutlet UIButton *bundleButton;
  29. @property (strong, nonatomic) IBOutlet UIStepper *stepper;
  30. -(void) init_Stepper:(int) step max:(int) max min:(int)min value:(int)value;
  31. @property (strong,nonatomic) NSString* cart_id;
  32. @property int pre_val;
  33. @property double unit_price;
  34. @property double discount;
  35. @property (strong, nonatomic) IBOutlet StrikethroughLabel *labelOldPrice;
  36. @property (strong, nonatomic) IBOutlet UILabel *labelDiscount;
  37. @property (strong, nonatomic) IBOutlet UILabel *labelMasterpack;
  38. //@property (strong,nonatomic) NSIndexPath* from;
  39. @property (strong, nonatomic) IBOutlet UILabel *labelNotes;
  40. @property bool enable_longpress;
  41. @property bool noprice;
  42. @property (strong, nonatomic) IBOutlet UIImageView *img_checkmark;
  43. @property (strong, nonatomic) IBOutlet UILabel *labelNoSuchModel;
  44. @property (nonatomic , copy) void (^onReturnQTY)(int qty , NSDictionary* ext);
  45. @property (strong, nonatomic) IBOutlet UILabel *available_qty_label;
  46. @property (strong, nonatomic) IBOutlet UILabel *available_qty_value_label;
  47. //@property (strong,nonatomic) NSString* last_edit;
  48. //@property int step;
  49. //@property int quantity;
  50. @end