Przeglądaj źródła

修复save order时release传空.

Pen Li 9 lat temu
rodzic
commit
8723b57002

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


+ 2 - 5
RedAnt ERP Mobile/common/Functions/order/CreateOrderViewController.m

@@ -2341,11 +2341,8 @@
 - (void)releaseOrderAfterSave {
     AppDelegate *appDelegate = (AppDelegate*)[[UIApplication sharedApplication] delegate];
 
-    dispatch_async(dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_DEFAULT, 0), ^{
-        [iSalesNetwork release_Order:appDelegate.order_code];
-    });
-    
-    
+    [iSalesNetwork release_Order:appDelegate.order_code];
+
     [appDelegate closeOrder]; 
     [appDelegate SetSo:nil];
     appDelegate.cart_count=0;