Commit 364faa82 authored by Morson's avatar Morson

fix:配件申请逻辑补充

parent dd7aa3b6
......@@ -105,13 +105,15 @@ export default {
})
},
loadOrderInfo() {
this.$u.api.orderDetail({}, this.orderId).then((res) => {
if (res.code == 200) {
this.order = res.data
} else {
console.log(res.message, "获取订单详情失败!");
}
});
if(this.orderId) {
this.$u.api.orderDetail({}, this.orderId).then((res) => {
if (res.code == 200) {
this.order = res.data
} else {
console.log(res.message, "获取订单详情失败!");
}
});
}
},
qnFile(src) {
return process.uniEnv.qn_base_url + src
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment