uu
This commit is contained in:
parent
87eeb99a25
commit
6829645900
@ -83,7 +83,7 @@
|
|||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
orderNo: '',
|
billCode: '',
|
||||||
pageLoading: true,
|
pageLoading: true,
|
||||||
queryOption: {
|
queryOption: {
|
||||||
billCode: '', // 运单id
|
billCode: '', // 运单id
|
||||||
@ -112,8 +112,8 @@
|
|||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
initData() {
|
initData() {
|
||||||
this.orderNo = this.queryOption.billCode || this.queryOption.orderSn
|
this.billCode = this.queryOption.billCode || this.queryOption.orderSn
|
||||||
this.orderNo && (this.queryOrderDetail(this.queryOption))
|
this.billCode && (this.queryOrderDetail(this.queryOption))
|
||||||
},
|
},
|
||||||
async queryOrderDetail(params) {
|
async queryOrderDetail(params) {
|
||||||
let res = await apiService.getOrderDetail({...params, _loading: true})
|
let res = await apiService.getOrderDetail({...params, _loading: true})
|
||||||
@ -140,7 +140,7 @@
|
|||||||
},
|
},
|
||||||
resetForm() {
|
resetForm() {
|
||||||
this.submitParam = {}
|
this.submitParam = {}
|
||||||
this.orderNo = ''
|
this.billCode = ''
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user