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

修改Cart使之在Customer登陆时也能修改价格。
修改提货价名称,从登陆信息获取。

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

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


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

@@ -1846,7 +1846,7 @@
             
             if ([Singleton sharedInstance].npd_shop_price_type == 0) {
                 
-                UIAlertController *alert = [UIAlertController alertControllerWithTitle:@"Warning" message:@"Current Price Type is Delivery Price,You Can't Change it" preferredStyle:UIAlertControllerStyleAlert];
+                UIAlertController *alert = [UIAlertController alertControllerWithTitle:@"Warning" message:[NSString stringWithFormat:@"Current Price Type is %@,You Can't Change it",[Singleton sharedInstance].deliveryString] preferredStyle:UIAlertControllerStyleAlert];
                 
                 UIAlertAction *action = [UIAlertAction actionWithTitle:@"OK" style:UIAlertActionStyleCancel handler:^(UIAlertAction * _Nonnull action) {
                     [alert dismissViewControllerAnimated:YES completion:nil];