+`1
parent
656a3ac3fc
commit
e7755657fd
|
|
@ -330,7 +330,14 @@ export default {
|
|||
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