task#6524 有订单才访问
This commit is contained in:
@ -263,11 +263,16 @@
|
|||||||
this.scrollToBottom();
|
this.scrollToBottom();
|
||||||
},
|
},
|
||||||
async getDetail(){ // 订单详情
|
async getDetail(){ // 订单详情
|
||||||
let result = await getOrderInfo({
|
if(this.userOrderId) {
|
||||||
userOrderId: this.userOrderId,
|
let result = await getOrderInfo({
|
||||||
userOrderCode: this.userOrderCode
|
userOrderId: this.userOrderId,
|
||||||
})
|
userOrderCode: this.userOrderCode
|
||||||
this.orderInfo = result.data
|
})
|
||||||
|
this.orderInfo = result.data
|
||||||
|
} else {
|
||||||
|
this.orderInfo = {}
|
||||||
|
}
|
||||||
|
|
||||||
},
|
},
|
||||||
async getReportList() { // 报备大类
|
async getReportList() { // 报备大类
|
||||||
let res = await getReportListByOrder({
|
let res = await getReportListByOrder({
|
||||||
|
Reference in New Issue
Block a user