|
|
@ -6,7 +6,7 @@ |
|
|
|
|
|
|
|
<script setup lang="ts"> |
|
|
|
import { ref } from 'vue' |
|
|
|
import {onLoad, onPullDownRefresh, onNavigationBarButtonTap,onReachBottom} from '@dcloudio/uni-app' |
|
|
|
import {onLoad, onPullDownRefresh, onNavigationBarButtonTap, onReachBottom, onShow} from '@dcloudio/uni-app' |
|
|
|
import comMoveJob from '@/pages/inventoryMove/coms/comMoveJob.vue' |
|
|
|
|
|
|
|
const title = ref('') |
|
|
@ -14,13 +14,21 @@ const comMoveJobRef = ref() |
|
|
|
onLoad((option) => { |
|
|
|
title.value = option.title |
|
|
|
}) |
|
|
|
|
|
|
|
onShow(()=>{ |
|
|
|
if(comMoveJobRef.value){ |
|
|
|
comMoveJobRef.value.refresh() |
|
|
|
} |
|
|
|
}) |
|
|
|
onReachBottom (()=>{ |
|
|
|
comMoveJobRef.value.onReach(); |
|
|
|
if(comMoveJobRef.value){ |
|
|
|
comMoveJobRef.value.onReach(); |
|
|
|
} |
|
|
|
}) |
|
|
|
|
|
|
|
onPullDownRefresh(() => { |
|
|
|
comMoveJobRef.value.refresh() |
|
|
|
if(comMoveJobRef.value){ |
|
|
|
comMoveJobRef.value.refresh() |
|
|
|
} |
|
|
|
}) |
|
|
|
|
|
|
|
onNavigationBarButtonTap((e) => { |
|
|
|