|
@@ -35,7 +35,7 @@ function calculateGoodsPrice(r){
|
|
|
var brand = r.goodsDetails.brand;
|
|
|
console.log(rMap);
|
|
|
|
|
|
- if(rMap.yhq){
|
|
|
+ /*if(rMap.yhq){
|
|
|
for(var i in rMap.yhq){
|
|
|
vm.coupons.set(i,rMap.yhq[i]);
|
|
|
}
|
|
@@ -81,7 +81,7 @@ function calculateGoodsPrice(r){
|
|
|
vm.halfPrice.set(rMap.drjbj.barcode,1);
|
|
|
}
|
|
|
|
|
|
- }
|
|
|
+ }*/
|
|
|
|
|
|
|
|
|
// if(rMap.zhjsp){
|
|
@@ -1911,7 +1911,7 @@ function handle(goodsDetails,operatorType){
|
|
|
vm.goodsList.push(data);
|
|
|
vm.index = vm.index + 1;
|
|
|
}
|
|
|
- vm.totalPrice = (vm.totalPrice + data.retailPrice);
|
|
|
+ vm.totalPrice = new BigNumber(vm.totalPrice).add(new BigNumber(data.retailPrice));
|
|
|
|
|
|
if("minus" == operatorType){
|
|
|
vm.totalCount = vm.totalCount - 1;
|