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