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.

41 lines
981 B

1 year ago
<template>
11 months ago
<view class="page-wraper">
<comMoveJob :title="title" ref="receiptjob" businessTypeCode="HoldToOk"> </comMoveJob>
11 months ago
</view>
1 year ago
</template>
11 months ago
<script setup lang="ts">
import { ref, getCurrentInstance, nextTick } from 'vue'
import { onShow, onNavigationBarButtonTap, onReady, onReachBottom, onPullDownRefresh ,onLoad} from '@dcloudio/uni-app'
11 months ago
import comMoveJob from '@/pages/inventoryMove/coms/comMoveJob.vue'
1 year ago
11 months ago
const receiptjob = ref()
const title = ref('')
11 months ago
onShow(() => {
nextTick(() => {
if (receiptjob.value != undefined) {
receiptjob.value.refresh()
}
})
})
onLoad((option) => {
title.value = option.title
})
11 months ago
onPullDownRefresh(() => {
receiptjob.value.refresh()
})
onReachBottom(() => {
receiptjob.value.onReach()
})
onNavigationBarButtonTap((e) => {
if (e.index === 0) {
receiptjob.value.goHome1()
// this.$refs.receiptjob.refresh();
} else if (e.index == 1) {
receiptjob.value.openFilter()
}
})
1 year ago
</script>
11 months ago
<style></style>