...
|
...
|
@@ -32,7 +32,7 @@ Component({ |
|
|
let itemCode = item && item.coupon_code || '';
|
|
|
let itemAmount = item && item.coupon_value_str || '';
|
|
|
itemCode && code.push(itemCode);
|
|
|
amount = itemAmount && parseFloat(itemAmount) + amount;
|
|
|
amount = (itemAmount ? parseFloat(itemAmount) : 0) + amount;
|
|
|
})
|
|
|
code = code.join(',');
|
|
|
this.triggerEvent('confirmselect', { code, amount})
|
...
|
...
|
|