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

修复Customer登陆在Sales Order中退出重新登录后Order List不正确。

Pen Li 9 лет назад
Родитель
Сommit
e1b69eb957

BIN
RedAnt ERP Mobile/RedAnt ERP Mobile.xcworkspace/xcuserdata/macmini1.xcuserdatad/UserInterfaceState.xcuserstate


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

@@ -1841,6 +1841,7 @@ commitEditingStyle:(UITableViewCellEditingStyle)editingStyle  forRowAtIndexPath:
 
 - (void)handleUserLogin:(NSNotification *)notification {
     AppDelegate *appDelegate = (AppDelegate*)[[UIApplication sharedApplication] delegate];
+    self.orderType = 0;
     if (appDelegate.user_type == USER_ROLE_CUSTOMER) {
         self.orderTypeSegmentControl.selectedSegmentIndex = 0;