diff --git a/src/pages/inventoryMove/job/holdToOkMoveJob.vue b/src/pages/inventoryMove/job/holdToOkMoveJob.vue index 80bf9d71..22350718 100644 --- a/src/pages/inventoryMove/job/holdToOkMoveJob.vue +++ b/src/pages/inventoryMove/job/holdToOkMoveJob.vue @@ -12,20 +12,22 @@ import comMoveJob from '@/pages/inventoryMove/coms/comMoveJob.vue' const receiptjob = ref() const title = ref('') onShow(() => { - nextTick(() => { - if (receiptjob.value != undefined) { - receiptjob.value.refresh() - } - }) + if(receiptjob.value){ + receiptjob.value.refresh() + } }) onLoad((option) => { title.value = option.title }) onPullDownRefresh(() => { - receiptjob.value.refresh() + if(receiptjob.value){ + receiptjob.value.refresh() + } }) onReachBottom(() => { - receiptjob.value.onReach() + if(receiptjob.value){ + receiptjob.value.onReach() + } }) onNavigationBarButtonTap((e) => { if (e.index === 0) { diff --git a/src/pages/inventoryMove/job/holdToScrapMoveJob.vue b/src/pages/inventoryMove/job/holdToScrapMoveJob.vue index f48cfc79..6cc47db0 100644 --- a/src/pages/inventoryMove/job/holdToScrapMoveJob.vue +++ b/src/pages/inventoryMove/job/holdToScrapMoveJob.vue @@ -12,20 +12,22 @@ import comMoveJob from '@/pages/inventoryMove/coms/comMoveJob.vue' const receiptjob = ref() const title = ref('') onShow(() => { - nextTick(() => { - if (receiptjob.value != undefined) { - receiptjob.value.refresh() - } - }) + if(receiptjob.value){ + receiptjob.value.refresh() + } }) onLoad((option) => { title.value = option.title }) onPullDownRefresh(() => { - receiptjob.value.refresh() + if(receiptjob.value){ + receiptjob.value.refresh() + } }) onReachBottom(() => { - receiptjob.value.onReach() + if(receiptjob.value){ + receiptjob.value.onReach() + } }) onNavigationBarButtonTap((e) => { if (e.index === 0) { diff --git a/src/pages/inventoryMove/job/nokToHoldMoveJob.vue b/src/pages/inventoryMove/job/nokToHoldMoveJob.vue index fe5205dc..df98075e 100644 --- a/src/pages/inventoryMove/job/nokToHoldMoveJob.vue +++ b/src/pages/inventoryMove/job/nokToHoldMoveJob.vue @@ -6,7 +6,7 @@