Просмотр исходного кода

ERP MOBILE
关闭scanner 调试开关
cart 价格刷新通知和新方式统一
去掉部分cart 冗余逻辑

Ray Zhang 7 лет назад
Родитель
Сommit
bea1f7a9af

+ 2 - 1
RedAnt ERP Mobile/common/Functions/order/OrderListViewController.m

@@ -115,8 +115,9 @@
     self.label_net_err.layer.borderWidth = 2.0;
     self.label_net_err.layer.cornerRadius=15;
     self.label_net_err.layer.masksToBounds=true;
-    
+        #ifndef RA_NOTIFICATION
     [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(changePriceType:) name:Change_Price_Type_Notification object:nil];
+#endif
     [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(lockOrderListNotification:) name:Lock_Permission_Notification object:nil];
     [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(lockOrderListNotification:) name:unLock_Permission_Notification object:nil];