Commit b41a0992 authored by lujunye's avatar lujunye

build 2.3

parent 81fde00f
...@@ -3987,7 +3987,7 @@ ...@@ -3987,7 +3987,7 @@
CLANG_ENABLE_MODULES = YES; CLANG_ENABLE_MODULES = YES;
CODE_SIGN_ENTITLEMENTS = GeliBusinessPlatform/GeliBusinessPlatform.entitlements; CODE_SIGN_ENTITLEMENTS = GeliBusinessPlatform/GeliBusinessPlatform.entitlements;
CODE_SIGN_STYLE = Automatic; CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 2.2; CURRENT_PROJECT_VERSION = 2.3;
DEFINES_MODULE = NO; DEFINES_MODULE = NO;
DEVELOPMENT_ASSET_PATHS = "\"GeliBusinessPlatform/Preview Content\""; DEVELOPMENT_ASSET_PATHS = "\"GeliBusinessPlatform/Preview Content\"";
DEVELOPMENT_TEAM = K48346UACH; DEVELOPMENT_TEAM = K48346UACH;
...@@ -4116,7 +4116,7 @@ ...@@ -4116,7 +4116,7 @@
CLANG_ENABLE_MODULES = YES; CLANG_ENABLE_MODULES = YES;
CODE_SIGN_ENTITLEMENTS = GeliBusinessPlatform/GeliBusinessPlatform.entitlements; CODE_SIGN_ENTITLEMENTS = GeliBusinessPlatform/GeliBusinessPlatform.entitlements;
CODE_SIGN_STYLE = Automatic; CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 2.2; CURRENT_PROJECT_VERSION = 2.3;
DEFINES_MODULE = NO; DEFINES_MODULE = NO;
DEVELOPMENT_ASSET_PATHS = "\"GeliBusinessPlatform/Preview Content\""; DEVELOPMENT_ASSET_PATHS = "\"GeliBusinessPlatform/Preview Content\"";
DEVELOPMENT_TEAM = K48346UACH; DEVELOPMENT_TEAM = K48346UACH;
......
...@@ -1764,6 +1764,14 @@ class EPViewController: BaseViewController,UITableViewDelegate,UITableViewDataSo ...@@ -1764,6 +1764,14 @@ class EPViewController: BaseViewController,UITableViewDelegate,UITableViewDataSo
pct = item.DJBiLi pct = item.DJBiLi
} }
var pData = ""
if item.price.contains(","){
let arr = item.price.components(separatedBy: ",")
pData = arr.joined(separator: "")
}else{
pData = item.price
}
var sku = ["sku_sn":"", var sku = ["sku_sn":"",
"sku_id":item.sku_id, "sku_id":item.sku_id,
"goods_id":goods_id, "goods_id":goods_id,
...@@ -1773,7 +1781,7 @@ class EPViewController: BaseViewController,UITableViewDelegate,UITableViewDataSo ...@@ -1773,7 +1781,7 @@ class EPViewController: BaseViewController,UITableViewDelegate,UITableViewDataSo
"pack_attr":packAttrStr, "pack_attr":packAttrStr,
"refrigerate":item.wenDu, "refrigerate":item.wenDu,
"unit":item.danWei, "unit":item.danWei,
"price":item.price, "price":pData,
"is_tiered":is_tiered, "is_tiered":is_tiered,
"is_open_adsale":is_open_adsale, "is_open_adsale":is_open_adsale,
"adsale_pri":adsale_pri, "adsale_pri":adsale_pri,
......
...@@ -1321,13 +1321,21 @@ class ProductDetailViewController: BaseViewController,UITableViewDelegate,UITabl ...@@ -1321,13 +1321,21 @@ class ProductDetailViewController: BaseViewController,UITableViewDelegate,UITabl
} }
let packAttrStr = dictChangeString(sender: pack_attr) let packAttrStr = dictChangeString(sender: pack_attr)
var pData = ""
if md.price.contains(","){
let arr = md.price.components(separatedBy: ",")
pData = arr.joined(separator: "")
}else{
pData = md.price
}
var sku = ["sku_sn":"", var sku = ["sku_sn":"",
"spec_id":"1", "spec_id":"1",
"attr":md.guiGe, "attr":md.guiGe,
"pack_attr":packAttrStr, "pack_attr":packAttrStr,
"refrigerate":md.wenDu, "refrigerate":md.wenDu,
"unit":md.danWei, "unit":md.danWei,
"price":md.price, "price":pData,
"is_tiered":is_tiered, "is_tiered":is_tiered,
"is_open_adsale":is_open_adsale, "is_open_adsale":is_open_adsale,
"adsale_pri":adsale_pri, "adsale_pri":adsale_pri,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment