+`1
parent
656a3ac3fc
commit
e7755657fd
|
|
@ -330,6 +330,13 @@ export default {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
//
|
//
|
||||||
|
// 把选中的数据拼接成这样的数据 couponId:num;couponId:num 例如 2324:1;2325:2
|
||||||
|
const couponStr = selectedItems
|
||||||
|
.map((item) => `${item.couponId}:${item.quantity}`)
|
||||||
|
.join(";");
|
||||||
|
|
||||||
|
// this.totalAmount 是元, 要转换成分
|
||||||
|
const trxamt = (this.totalAmount * 100).toFixed(0);
|
||||||
|
|
||||||
|
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue