商品券处理
This commit is contained in:
@@ -105,9 +105,10 @@
|
||||
if (options.payAmount) { this.payAmount = options.payAmount }
|
||||
if (options.shoppingCart) { this.shoppingCart = JSON.parse(decodeURIComponent(options.shoppingCart)) }
|
||||
if (options.productList) { this.productList = JSON.parse(decodeURIComponent(options.productList)) }
|
||||
},
|
||||
onShow() {
|
||||
this.getCouponList()
|
||||
},
|
||||
|
||||
methods: {
|
||||
|
||||
/**
|
||||
@@ -133,6 +134,7 @@
|
||||
if ( this.type == 'confirm_order_coupon' || this.type == 'confirm_order_product' ) {
|
||||
params.orderId = -1;
|
||||
}
|
||||
console.log("params",params)
|
||||
let res = await this.api.conponList(params)
|
||||
if (res.code == 0) {
|
||||
console.log(res)
|
||||
|
||||
Reference in New Issue
Block a user