优化下单后退显示
parent
4d033e59f1
commit
68e25cb0b3
|
@ -510,6 +510,11 @@ export default {
|
||||||
this.notSupportFreight = []
|
this.notSupportFreight = []
|
||||||
// 获取结算参数
|
// 获取结算参数
|
||||||
API_Trade.getCheckoutParams(this.routerVal.way).then((res) => {
|
API_Trade.getCheckoutParams(this.routerVal.way).then((res) => {
|
||||||
|
if (res.data.result.skuList.length <= 0) {
|
||||||
|
uni.redirectTo({
|
||||||
|
url: "/pages/order/myOrder?status=0",
|
||||||
|
});
|
||||||
|
}
|
||||||
res.data.result.cartList.forEach((item, index) => {
|
res.data.result.cartList.forEach((item, index) => {
|
||||||
this.remarkVal[index] = {
|
this.remarkVal[index] = {
|
||||||
remark: item.remark,
|
remark: item.remark,
|
||||||
|
|
Loading…
Reference in New Issue