|
@@ -17,6 +17,7 @@
|
|
|
#import "DefaultAppearance.h"
|
|
#import "DefaultAppearance.h"
|
|
|
#import "DefaultTableHeaderView.h"
|
|
#import "DefaultTableHeaderView.h"
|
|
|
#import "SelectUploadOrderViewController.h"
|
|
#import "SelectUploadOrderViewController.h"
|
|
|
|
|
+#import "NotificationNameCenter.h"
|
|
|
|
|
|
|
|
@interface OrderListViewController ()
|
|
@interface OrderListViewController ()
|
|
|
|
|
|
|
@@ -29,6 +30,10 @@
|
|
|
|
|
|
|
|
@implementation OrderListViewController
|
|
@implementation OrderListViewController
|
|
|
|
|
|
|
|
|
|
+- (void)dealloc {
|
|
|
|
|
+ [[NSNotificationCenter defaultCenter] removeObserver:self];
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
- (NSMutableArray *)mergeList {
|
|
- (NSMutableArray *)mergeList {
|
|
|
if (!_mergeList) {
|
|
if (!_mergeList) {
|
|
|
_mergeList = [NSMutableArray array];
|
|
_mergeList = [NSMutableArray array];
|
|
@@ -91,7 +96,7 @@
|
|
|
self.label_net_err.layer.cornerRadius=15;
|
|
self.label_net_err.layer.cornerRadius=15;
|
|
|
self.label_net_err.layer.masksToBounds=true;
|
|
self.label_net_err.layer.masksToBounds=true;
|
|
|
|
|
|
|
|
-
|
|
|
|
|
|
|
+ [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(changePriceType:) name:Change_Price_Type_Notification object:nil];
|
|
|
|
|
|
|
|
|
|
|
|
|
UITapGestureRecognizer *tap = [[UITapGestureRecognizer alloc] initWithTarget:self action:@selector(refresh_btn_click:)];
|
|
UITapGestureRecognizer *tap = [[UITapGestureRecognizer alloc] initWithTarget:self action:@selector(refresh_btn_click:)];
|
|
@@ -1507,5 +1512,11 @@ commitEditingStyle:(UITableViewCellEditingStyle)editingStyle forRowAtIndexPath:
|
|
|
|
|
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
+#pragma mark - notification action
|
|
|
|
|
+
|
|
|
|
|
+- (void)changePriceType:(id)notification {
|
|
|
|
|
+ [self ReloadData];
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
|
|
|
@end
|
|
@end
|