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.
38 lines
983 B
38 lines
983 B
<template>
|
|
<view class="page-wraper" style="min-height: 101vh">
|
|
<comMoveJob :title="title" ref="receiptjob" businessTypeCode="OkToHold"> </comMoveJob>
|
|
</view>
|
|
</template>
|
|
|
|
<script setup lang="ts">
|
|
import { ref, getCurrentInstance, nextTick } from 'vue'
|
|
import { onShow, onNavigationBarButtonTap, onReady, onReachBottom, onPullDownRefresh } from '@dcloudio/uni-app'
|
|
import comMoveJob from '@/pages/inventoryMove/coms/comMoveJob.vue'
|
|
|
|
const receiptjob = ref()
|
|
const title = ref('')
|
|
onShow(() => {
|
|
nextTick(() => {
|
|
if (receiptjob.value != undefined) {
|
|
receiptjob.value.refresh()
|
|
}
|
|
})
|
|
})
|
|
onLoad((option) => {
|
|
title.value = option.title
|
|
})
|
|
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()
|
|
}
|
|
})
|
|
</script>
|
|
|