Răsfoiți Sursa

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

Ray Zhang 7 ani în urmă
părinte
comite
3d2b50c0b6

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

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