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

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

Ray Zhang 7 лет назад
Родитель
Сommit
3d2b50c0b6
1 измененных файлов с 6 добавлено и 0 удалено
  1. 6 0
      RedAnt ERP Mobile/common/Price Setting/PriceSettingViewController.m

+ 6 - 0
RedAnt ERP Mobile/common/Price Setting/PriceSettingViewController.m

@@ -219,8 +219,14 @@
         
         
         [Singleton sharedInstance].npd_shop_price_type = self.priceType;
         [Singleton sharedInstance].npd_shop_price_type = self.priceType;
     
     
+
+        
+#ifdef RA_NOTIFICATION
+        [ActiveViewController Notify:@"CartViewController,OrderListViewController" Message:RA_NOTIFICATION_RELOAD_DATA];
+#else
         // 刷新 Cart、Order List
         // 刷新 Cart、Order List
         [[NSNotificationCenter defaultCenter] postNotificationName:Change_Price_Type_Notification object:nil];
         [[NSNotificationCenter defaultCenter] postNotificationName:Change_Price_Type_Notification object:nil];
+#endif
         
         
     } else { // 失败
     } else { // 失败