Explorar el Código

1.修复NPD离线Portfolio生成。

Pen Li hace 9 años
padre
commit
a805e6a061

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


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

@@ -129,7 +129,7 @@
 {
     
     
-    NSMutableDictionary* values=params[@"replaceValue"];
+    NSMutableDictionary* values=params[@"replaceValue"]; // 离线下发的参数
     //生成portfolio pdf需要的数据
     NSMutableDictionary* data = [[NSMutableDictionary alloc]init];
     data[@"npd_url"]=@"www.newpacificdirect.com";
@@ -263,7 +263,8 @@ NSString* gprice = [self get_portfolio_price :appDelegate.contact_id item_id:ite
                  s_price=valueitem[@"special_price"];
                  price=[valueitem[@"special_price"] floatValue];
                  discount=0;
-                 
+                 // v1.90
+                 more_color_int = [[valueitem objectForKey:@"more_color"] integerValue];
              }
          }