Commit 364faa82 authored by Morson's avatar Morson

fix:配件申请逻辑补充

parent dd7aa3b6
...@@ -105,13 +105,15 @@ export default { ...@@ -105,13 +105,15 @@ export default {
}) })
}, },
loadOrderInfo() { loadOrderInfo() {
this.$u.api.orderDetail({}, this.orderId).then((res) => { if(this.orderId) {
if (res.code == 200) { this.$u.api.orderDetail({}, this.orderId).then((res) => {
this.order = res.data if (res.code == 200) {
} else { this.order = res.data
console.log(res.message, "获取订单详情失败!"); } else {
} console.log(res.message, "获取订单详情失败!");
}); }
});
}
}, },
qnFile(src) { qnFile(src) {
return process.uniEnv.qn_base_url + 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