diff --git a/src/pages/inventoryMove/job/holdToOkMoveJob.vue b/src/pages/inventoryMove/job/holdToOkMoveJob.vue index 03b6c82d..1393b3ea 100644 --- a/src/pages/inventoryMove/job/holdToOkMoveJob.vue +++ b/src/pages/inventoryMove/job/holdToOkMoveJob.vue @@ -16,15 +16,27 @@ title:'' } }, - onReachBottom() { - this.$refs.comMoveJob.onReach(); - }, + onLoad(option){ this.title = option.title }, + onShow() { + if(this.$refs.comMoveJob){ + this.$refs.comMoveJob.refresh(); + } + }, + onPullDownRefresh() { - this.$refs.comMoveJob.refresh(); + if(this.$refs.comMoveJob){ + this.$refs.comMoveJob.refresh(); + } + }, + + onReachBottom() { + if(this.$refs.comMoveJob){ + this.$refs.comMoveJob.onReach(); + } }, onNavigationBarButtonTap(e) { if (e.index === 0) { diff --git a/src/pages/inventoryMove/job/holdToScrapMoveJob.vue b/src/pages/inventoryMove/job/holdToScrapMoveJob.vue index 3955adef..47037a99 100644 --- a/src/pages/inventoryMove/job/holdToScrapMoveJob.vue +++ b/src/pages/inventoryMove/job/holdToScrapMoveJob.vue @@ -16,14 +16,25 @@ title:'' } }, - onReachBottom() { - this.$refs.comMoveJob.onReach(); - }, onLoad(option){ this.title = option.title }, + onShow() { + if(this.$refs.comMoveJob){ + this.$refs.comMoveJob.refresh(); + } + }, + onPullDownRefresh() { - this.$refs.comMoveJob.refresh(); + if(this.$refs.comMoveJob){ + this.$refs.comMoveJob.refresh(); + } + }, + + onReachBottom() { + if(this.$refs.comMoveJob){ + this.$refs.comMoveJob.onReach(); + } }, onNavigationBarButtonTap(e) { if (e.index === 0) { diff --git a/src/pages/inventoryMove/job/nokToHoldMoveJob.vue b/src/pages/inventoryMove/job/nokToHoldMoveJob.vue index 9c653725..2a9876c3 100644 --- a/src/pages/inventoryMove/job/nokToHoldMoveJob.vue +++ b/src/pages/inventoryMove/job/nokToHoldMoveJob.vue @@ -18,11 +18,22 @@ onLoad(option){ this.title = option.title }, + onShow() { + if(this.$refs.comMoveJob){ + this.$refs.comMoveJob.refresh(); + } + }, + onPullDownRefresh() { - this.$refs.comMoveJob.refresh(); + if(this.$refs.comMoveJob){ + this.$refs.comMoveJob.refresh(); + } }, + onReachBottom() { - this.$refs.comMoveJob.onReach(); + if(this.$refs.comMoveJob){ + this.$refs.comMoveJob.onReach(); + } }, onNavigationBarButtonTap(e) { if (e.index === 0) { diff --git a/src/pages/inventoryMove/job/okToHoldMoveJob.vue b/src/pages/inventoryMove/job/okToHoldMoveJob.vue index 5b330d85..bded74f7 100644 --- a/src/pages/inventoryMove/job/okToHoldMoveJob.vue +++ b/src/pages/inventoryMove/job/okToHoldMoveJob.vue @@ -18,11 +18,22 @@ onLoad(option){ this.title = option.title }, + onShow() { + if(this.$refs.comMoveJob){ + this.$refs.comMoveJob.refresh(); + } + }, + onPullDownRefresh() { - this.$refs.comMoveJob.refresh(); + if(this.$refs.comMoveJob){ + this.$refs.comMoveJob.refresh(); + } }, + onReachBottom() { - this.$refs.comMoveJob.onReach(); + if(this.$refs.comMoveJob){ + this.$refs.comMoveJob.onReach(); + } }, onNavigationBarButtonTap(e) { if (e.index === 0) { diff --git a/src/pages/inventoryMove/job/okToScrapMoveJob.vue b/src/pages/inventoryMove/job/okToScrapMoveJob.vue index f413c740..aea20f26 100644 --- a/src/pages/inventoryMove/job/okToScrapMoveJob.vue +++ b/src/pages/inventoryMove/job/okToScrapMoveJob.vue @@ -19,11 +19,22 @@ onLoad(option){ this.title = option.title }, + onShow() { + if(this.$refs.comMoveJob){ + this.$refs.comMoveJob.refresh(); + } + }, + onPullDownRefresh() { - this.$refs.comMoveJob.refresh(); + if(this.$refs.comMoveJob){ + this.$refs.comMoveJob.refresh(); + } }, + onReachBottom() { - this.$refs.comMoveJob.onReach(); + if(this.$refs.comMoveJob){ + this.$refs.comMoveJob.onReach(); + } }, onNavigationBarButtonTap(e) { if (e.index === 0) { diff --git a/src/pages/inventoryMove/job/scrapToHoldMoveJob.vue b/src/pages/inventoryMove/job/scrapToHoldMoveJob.vue index 987af962..65fbfd97 100644 --- a/src/pages/inventoryMove/job/scrapToHoldMoveJob.vue +++ b/src/pages/inventoryMove/job/scrapToHoldMoveJob.vue @@ -19,11 +19,22 @@ onLoad(option){ this.title = option.title }, - onReachBottom() { - this.$refs.comMoveJob.onReach(); + onShow() { + if(this.$refs.comMoveJob){ + this.$refs.comMoveJob.refresh(); + } }, + onPullDownRefresh() { - this.$refs.comMoveJob.refresh(); + if(this.$refs.comMoveJob){ + this.$refs.comMoveJob.refresh(); + } + }, + + onReachBottom() { + if(this.$refs.comMoveJob){ + this.$refs.comMoveJob.onReach(); + } }, onNavigationBarButtonTap(e) { if (e.index === 0) {