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