完善订单管理,新增物流查询,删除,取消,支付等

This commit is contained in:
唐明明
2022-01-13 15:00:02 +08:00
parent 1968ae15bb
commit f4229dbe22
11 changed files with 340 additions and 6 deletions

38
pages/order/logistics.vue Normal file
View File

@@ -0,0 +1,38 @@
<template>
<view>
<oct-logistics
:info="info"
:logs="logs"
/>
</view>
</template>
<script>
import { logistic } from '@/apis/interfaces/order'
export default {
data() {
return {
info: {},
logs: []
};
},
mounted() {
logistic(this.$Route.query.orderNo).then(res =>{
console.log(res)
this.info = {
logo : res.orderExpress.logistic_cover,
no : res.orderExpress.express_no,
company : res.orderExpress.logistic_name
}
this.logs = res.logistics
}).catch(err =>{
uni.showToast({
title: err.message,
icon : 'none'
})
})
}
};
</script>
<style></style>