确认订单页面,商品列表清空处理
This commit is contained in:
parent
1dd800b854
commit
5fb9871900
|
|
@ -250,9 +250,13 @@
|
||||||
break;
|
break;
|
||||||
case 'addCart':
|
case 'addCart':
|
||||||
console.log("商品列表===",msg)
|
console.log("商品列表===",msg)
|
||||||
this.listinfo.details = msg.data;
|
|
||||||
this.listinfo.payAmount = msg.amount;
|
|
||||||
|
|
||||||
|
if (this.listinfoid) {
|
||||||
|
this.orderorderInfo()
|
||||||
|
} else {
|
||||||
|
this.listinfo.details = msg.data;
|
||||||
|
this.listinfo.payAmount = msg.amount;
|
||||||
|
}
|
||||||
break;
|
break;
|
||||||
case 'order':
|
case 'order':
|
||||||
uni.navigateBack()
|
uni.navigateBack()
|
||||||
|
|
@ -339,7 +343,7 @@
|
||||||
})
|
})
|
||||||
if (res.code == 0) {
|
if (res.code == 0) {
|
||||||
console.log(res)
|
console.log(res)
|
||||||
// this.listinfo = res.data
|
this.listinfo = res.data
|
||||||
if (i == 1) { //请求完了详情在去调支付
|
if (i == 1) { //请求完了详情在去调支付
|
||||||
this.showpopupclickdd()
|
this.showpopupclickdd()
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue