فهرست منبع

修复离线Place Order在Payment Info为Credit Card时点击Same As Customer时程序Crash。

Pen Li 9 سال پیش
والد
کامیت
07d805623b

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


+ 3 - 3
RedAnt ERP Mobile/common/Functions/offline/OLDataProvider.m

@@ -5579,7 +5579,7 @@ NSString* gprice = [self get_portfolio_price :appDelegate.contact_id item_id:ite
 //        [container setValue:stateDic forKey:key];
         
     }] mutableCopy];
-    
+    [ret removeObjectForKey:@"result"];
     // failure 可以不用了,一样的
     if (ret.allKeys.count == 0) {
         NSMutableDictionary *stateDic = [NSMutableDictionary dictionaryWithCapacity:2];
@@ -5629,7 +5629,7 @@ NSString* gprice = [self get_portfolio_price :appDelegate.contact_id item_id:ite
         NSString *key = [NSString stringWithFormat:@"val_%ld",(*count)++];
         [container setValue:stateDic forKey:key];
     }] mutableCopy];
-    
+    [ret removeObjectForKey:@"result"];
     [ret setValue:[NSNumber numberWithInt:ret.allKeys.count] forKey:@"count"];
     
     return ret;
@@ -10152,7 +10152,7 @@ NSString* gprice = [self get_portfolio_price :appDelegate.contact_id item_id:ite
         
         
     }] mutableCopy];
-    
+    [ret removeObjectForKey:@"result"];
     // failure 可以不用了,一样的
     if (ret.allKeys.count == 0) {
         NSMutableDictionary *stateDic = [NSMutableDictionary dictionaryWithCapacity:2];