CartViewController.h 2.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. //
  2. // CartViewController.h
  3. // RedAnt ERP Mobile
  4. //
  5. // Created by Ray on 14-6-6.
  6. // Copyright (c) 2014年 United Software Applications, Inc. All rights reserved.
  7. //
  8. #import <UIKit/UIKit.h>
  9. //#import "CommonGridViewController.h"
  10. #import "CommonEditorViewController.h"
  11. #import "ActiveViewController.h"
  12. @class ModelItemCell;
  13. @interface CartViewController : ActiveViewController <UITableViewDataSource,UITableViewDelegate,CommonEditorViewControllerDelegate/*,CommonGridViewControllerDelegate,ModelItemCellDelegate*/,UIAlertViewDelegate>
  14. @property (strong, nonatomic) IBOutlet UITableView *itemListTable;
  15. @property (strong, nonatomic) IBOutlet UIView *cartItemView;
  16. //@property (strong, nonatomic) IBOutlet UIView *orderCreateView;
  17. //@property (strong,nonatomic) NSMutableDictionary* content_data;
  18. @property (strong,nonatomic) NSMutableArray* content_arr;
  19. @property (strong,nonatomic) NSDictionary* freejson;
  20. @property (weak, nonatomic) IBOutlet UIButton *btnPrice;
  21. @property (strong,nonatomic) NSString* orderid;
  22. @property (strong, nonatomic) IBOutlet UIButton *btnselect;
  23. @property (strong, nonatomic) IBOutlet UIButton *btndelete;
  24. @property (strong, nonatomic) NSIndexPath *indexPath;
  25. @property double total;
  26. @property double total_cuft;
  27. @property double total_weight;
  28. @property int total_carton;
  29. @property int total_item;
  30. @property int total_QTY;
  31. @property (strong,nonatomic) NSString* notes;
  32. @property (strong, nonatomic) IBOutlet UILabel *labelTotal;
  33. @property (strong, nonatomic) IBOutlet UIActivityIndicatorView *mum;
  34. -(void)placeOrder;
  35. @property (nonatomic , copy) void (^onFinishLoad)(void);
  36. //@property (strong, nonatomic) IBOutlet UITableView *orderInfoTableView;
  37. //@property (strong, nonatomic) IBOutlet UITextField *editCount;
  38. //@property (strong, nonatomic) IBOutlet UITextField *editOrderID;
  39. //@property (strong, nonatomic) IBOutlet UIButton *btnAddToOrder;
  40. @property (strong, nonatomic) IBOutlet UIView *toolpanel;
  41. @property (strong, nonatomic) IBOutlet UIToolbar *toolbar;
  42. @property (strong, nonatomic) IBOutlet UIBarButtonItem *btn_addwish;
  43. @property (strong, nonatomic) IBOutlet UIBarButtonItem *btn_delete;
  44. @property (strong, nonatomic) IBOutlet UIBarButtonItem *btn_edit_select;
  45. @property (strong, nonatomic) IBOutlet UILabel *label_net_err;
  46. @property (strong, nonatomic) NSMutableArray *edit_select_arr;
  47. @property (strong, nonatomic) NSString *scanner_code;
  48. @property (strong, nonatomic) IBOutlet UILabel *label_cuft;
  49. @property (strong, nonatomic) IBOutlet UILabel *label_weight;
  50. @property (strong, nonatomic) IBOutlet UILabel *label_carton;
  51. @property (strong, nonatomic) IBOutlet UILabel *label_qty;
  52. @property (strong, nonatomic) IBOutlet UILabel *label_items;
  53. @property (strong, nonatomic) IBOutlet UILabel *label_notes;
  54. @end