Răsfoiți Sursa

修复恢复编辑时Customer Info出错。

Pen Li 9 ani în urmă
părinte
comite
ac590e8cac

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


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

@@ -9378,9 +9378,11 @@
 
 +(NSData*) offline_saveorder :(NSMutableDictionary *) param
 {
-//  "logistic_note" = "PERSONAL PICK UP";
-    // logist_note_text
-    // "logistic_note" = "USE MY CARRIER";
+
+//    id foo = nil;
+//    NSMutableArray *a = @[].mutableCopy;
+//    [a addObject:foo];
+    
     return [self saveorder:param submit:NO];
 }
 

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

@@ -627,7 +627,7 @@ void UncaughtExceptionHandler(NSException *exception) {
                             [self SetSo:order_code];
                             
                             
-                            self.customerInfo = [iSalesNetwork request_CustomerInfo:order_customer_id].mutableCopy;
+                            self.customerInfo = [[[iSalesNetwork request_CustomerInfo:order_customer_id] objectForKey:@"customerInfo"] mutableCopy];
                             
                             self.contact_id=[self.customerInfo valueForKey:@"customer_cid"];