解决商品信息展示的bug
This commit is contained in:
@@ -469,18 +469,20 @@
|
|||||||
res = value;
|
res = value;
|
||||||
} else {
|
} else {
|
||||||
var ps = rec.pricestrategy;
|
var ps = rec.pricestrategy;
|
||||||
var arr = JSON.parse(ps);
|
if(ps) {
|
||||||
var basic = "";
|
var arr = JSON.parse(ps);
|
||||||
if(type == "lowprice") {
|
var basic = "";
|
||||||
basic = arr[0].basic.LowPrice;
|
if(type == "lowprice") {
|
||||||
} else if(type == "presetpriceone") {
|
basic = arr[0].basic.LowPrice;
|
||||||
basic = arr[0].basic.PresetPriceOne;
|
} else if(type == "presetpriceone") {
|
||||||
} else if(type == "presetpricetwo") {
|
basic = arr[0].basic.PresetPriceOne;
|
||||||
basic = arr[0].basic.PresetPriceTwo;
|
} else if(type == "presetpricetwo") {
|
||||||
} else if(type == "retailprice") {
|
basic = arr[0].basic.PresetPriceTwo;
|
||||||
basic = arr[0].basic.RetailPrice;
|
} else if(type == "retailprice") {
|
||||||
|
basic = arr[0].basic.RetailPrice;
|
||||||
|
}
|
||||||
|
res = basic;
|
||||||
}
|
}
|
||||||
res = basic;
|
|
||||||
}
|
}
|
||||||
return res;
|
return res;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user