You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

37 lines
955 B

<template>
11 months ago
<view class="">
<receipt-job scanTitle="箱标签/ASN单号" :isShowAsn="false" :isShowJob="false" ref="receiptjob" operation="receipt"></receipt-job>
</view>
</template>
11 months ago
<script setup lang="ts">
import { ref, getCurrentInstance, nextTick } from 'vue'
import { onShow, onNavigationBarButtonTap, onReady, onReachBottom, onPullDownRefresh } from '@dcloudio/uni-app'
import receiptJob from '@/pages/purchaseReceipt/job/receiptJob.vue'
11 months ago
const receiptjob = ref()
onShow(() => {
nextTick(() => {
if (receiptjob.value != undefined) {
receiptjob.value.refresh()
}
})
})
onPullDownRefresh(() => {
receiptjob.value.refresh()
})
onReachBottom(() => {
receiptjob.value.onReach()
})
onNavigationBarButtonTap((e) => {
if (e.index === 0) {
receiptjob.value.goHome()
// this.$refs.receiptjob.refresh();
} else if (e.index == 1) {
receiptjob.value.openFilter()
}
})
</script>
11 months ago
<style scoped lang="scss"></style>