This commit is contained in:
aihe 2024-06-14 16:50:18 +08:00
parent 6550115bfe
commit 1bd6ca373f
2 changed files with 6 additions and 3 deletions

View File

@ -34,7 +34,7 @@
<view class="dt-block">
<view class="mb-20">
<buns-locus-pos :billCode="searchParam.billCode"></buns-locus-pos>
<buns-locus-pos :billCode="searchParam.billCode" ref="lcusRef"></buns-locus-pos>
</view>
</view>
</div>
@ -134,6 +134,9 @@
let res = await apiService.getOrderDetail({...this.searchParam, _loading: true})
// 通过对象合并才能修改父级 数据
Object.assign(this.modelInfo, res.data || {})
setTimeout(()=> {
this.$refs.lcusRef.initData()
}, 300)
},
handleSubmitDanCheck() {
this.danCheckModal.show = false

View File

@ -34,14 +34,14 @@
</view>
</template>
<template v-slot:footer>
<!-- <template v-slot:footer>
<view class="pos-rlt blcok-white" style="border-radius: 0;margin-top: 0;">
<u-row>
<u-button size="large" shape="circle"
custom-style="width: 500rpx;height:80rpx;font-size: 30rpx;" type="primary">打印合包条码</u-button>
</u-row>
</view>
</template>
</template> -->
</tpx-layout>
</tpx-page>
</template>