Jelajahi Sumber

1.修改NPD Cart提交订单后清除Cart Count Mark。

Pen Li 8 tahun lalu
induk
melakukan
d3ea947619

+ 4 - 0
RedAnt ERP Mobile/common/Functions/cart/CartViewController.m

@@ -646,6 +646,10 @@
         [self checkProductAvailable:self.content_arr];
         [self checkProductAvailable:self.content_arr];
         [self refresh_total];
         [self refresh_total];
         [self.itemListTable reloadData];
         [self.itemListTable reloadData];
+        
+        AppDelegate *appDelegate = (AppDelegate*)[[UIApplication sharedApplication] delegate];
+        appDelegate.cart_count = 0;
+        [appDelegate update_count_mark];
     });
     });
 }
 }