This commit is contained in:
parent
6119af35df
commit
2ae9c80165
@ -203,8 +203,8 @@
|
|||||||
};
|
};
|
||||||
},
|
},
|
||||||
onLoad (option) {
|
onLoad (option) {
|
||||||
this.order_id = option.order_id;;
|
this.order_id = option.id;;
|
||||||
this.orderInfo.order_id = option.order_id;
|
this.orderInfo.order_id = option.id;
|
||||||
this.getOrderDetail()
|
this.getOrderDetail()
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
@ -245,6 +245,7 @@
|
|||||||
} else {
|
} else {
|
||||||
uni.$u.toast(res.msg);
|
uni.$u.toast(res.msg);
|
||||||
}
|
}
|
||||||
|
this.goBack ()
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@ -282,7 +283,18 @@
|
|||||||
url: `/pages/banquet/cook/detail?id=${id}`
|
url: `/pages/banquet/cook/detail?id=${id}`
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
goBackHome () {
|
||||||
|
uni.switchTab({
|
||||||
|
// url: '/pages/index/index'
|
||||||
|
url: '/pages/tab/user/index'
|
||||||
|
});
|
||||||
|
},
|
||||||
|
// 返回上一级
|
||||||
|
goBack () {
|
||||||
|
uni.navigateBack({
|
||||||
|
delta: 1 // delta 表示返回的页面数,1 表示返回上一级
|
||||||
|
});
|
||||||
|
},
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
|
@ -17,7 +17,7 @@
|
|||||||
<wd-card >
|
<wd-card >
|
||||||
<template #title>
|
<template #title>
|
||||||
<view class="title">
|
<view class="title">
|
||||||
<view> 创建时间:{{ item.create_time }} </view>
|
<view class="font-size-28">创建时间:{{ item.create_time }} </view>
|
||||||
<text v-if="item.paid === 0">
|
<text v-if="item.paid === 0">
|
||||||
<wd-tag custom-class="space" mark>未付款</wd-tag>
|
<wd-tag custom-class="space" mark>未付款</wd-tag>
|
||||||
</text>
|
</text>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user