This commit is contained in:
aihe 2024-06-21 13:12:04 +08:00
parent 87eeb99a25
commit 6829645900

View File

@ -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 = ''
}
}
}