Explorar el Código

1.修改NPD Contact刷新参数没有关键字,以及登出时清除数据。

Pen Li hace 8 años
padre
commit
9fc73dfa80

+ 1 - 1
RedAnt ERP Mobile/common/Functions/contact/ContactListViewController.h

@@ -14,7 +14,7 @@
 
 @interface ContactListViewController :  ActiveViewController<UITableViewDataSource,UITableViewDelegate,UISearchBarDelegate>
 @property (strong, nonatomic) IBOutlet UITableView *table;
-@property (strong, nonatomic) UISearchBar *searchBar;
+@property (strong, nonatomic) IBOutlet UISearchBar *searchBar;
 @property (strong, nonatomic) IBOutlet UIActivityIndicatorView *mum;
 @property (strong,nonatomic) NSMutableArray * content_data;
 @property int offset;

+ 2 - 0
RedAnt ERP Mobile/common/Functions/contact/ContactListViewController.m

@@ -44,6 +44,8 @@
 -(void) logout
 {
     self.offset = 0;
+    self.keywords = nil;
+    self.searchBar.text = nil;
     [self.content_data removeAllObjects];
 }
 - (void)viewDidLoad {

+ 6 - 0
RedAnt ERP Mobile/iSales-GATIT/AppDelegate.m

@@ -1192,6 +1192,12 @@ void UncaughtExceptionHandler(NSException *exception) {
 {
     MainViewController * main_vc= (MainViewController*)self.main_vc;
     [main_vc logoutOrder];
+    [main_vc logoutCart];
+    [main_vc logoutWish];
+    [main_vc logoutContact];
+    [main_vc logoutCategory];
+    [main_vc logoutDocuments];
+    [main_vc logoutPortfolio];
     
     
     [main_vc hideMenu];

+ 6 - 1
RedAnt ERP Mobile/iSales-HOMER/AppDelegate.m

@@ -1198,7 +1198,12 @@ void UncaughtExceptionHandler(NSException *exception) {
 {
     MainViewController * main_vc= (MainViewController*)self.main_vc;
     [main_vc logoutOrder];
-    
+    [main_vc logoutCart];
+    [main_vc logoutWish];
+    [main_vc logoutContact];
+    [main_vc logoutCategory];
+    [main_vc logoutDocuments];
+    [main_vc logoutPortfolio];
     
     [main_vc hideMenu];
     [main_vc switchToHome];

+ 6 - 1
RedAnt ERP Mobile/iSales-NPD/AppDelegate.m

@@ -1187,7 +1187,12 @@ void UncaughtExceptionHandler(NSException *exception) {
 {
     MainViewController * main_vc= (MainViewController*)self.main_vc;
     [main_vc logoutOrder];
-    
+    [main_vc logoutCart];
+    [main_vc logoutWish];
+    [main_vc logoutContact];
+    [main_vc logoutCategory];
+    [main_vc logoutDocuments];
+    [main_vc logoutPortfolio];
     
     [main_vc hideMenu];
     [main_vc switchToHome];

La diferencia del archivo ha sido suprimido porque es demasiado grande
+ 130 - 130
RedAnt ERP Mobile/iSales-NPD/Base.lproj/Main.storyboard


Algunos archivos no se mostraron porque demasiados archivos cambiaron en este cambio