uu
This commit is contained in:
parent
cad783f9a7
commit
a5d7623a4a
@ -7,7 +7,7 @@
|
||||
<u-row justify="between">
|
||||
<view style="width: 130rpx;">运单号</view>
|
||||
<view style="flex:1;">
|
||||
<tpx-scan-input v-model:value="orderNo" @scanChange="handleScanValChange"></tpx-scan-input>
|
||||
<tpx-scan-input v-model:value="billCode" @scanChange="handleScanValChange"></tpx-scan-input>
|
||||
</view>
|
||||
<view class="pl-10">
|
||||
<u-button @click="handleScanValChange" custom-style="height: 74rpx;">确定</u-button>
|
||||
@ -92,7 +92,6 @@
|
||||
orderDetailModal: {
|
||||
show: false
|
||||
},
|
||||
orderNo: '',
|
||||
submitParam: {
|
||||
|
||||
}
|
||||
@ -117,8 +116,8 @@
|
||||
this.billCode && (this.queryOrderDetail(this.queryOption))
|
||||
},
|
||||
async queryOrderDetail(params = {}) {
|
||||
let orderNo = this.orderNo
|
||||
let res = await apiService.getOrderDetail({ billCode: orderNo, orderSn: orderNo, ...params, _loading: true})
|
||||
let billCode = this.billCode
|
||||
let res = await apiService.getOrderDetail({ billCode, orderSn: billCode, ...params, _loading: true})
|
||||
this.submitParam = res.data
|
||||
this.pageLoading = false
|
||||
},
|
||||
|
||||
Loading…
Reference in New Issue
Block a user