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