Browse Source

修改任务列表下拉不刷新和返回列表不刷新

lijuncheng0816
lijuncheng 3 months ago
parent
commit
fa4db3face
  1. 18
      src/pages/inventoryMove/job/holdToOkMoveJob.vue
  2. 17
      src/pages/inventoryMove/job/holdToScrapMoveJob.vue
  3. 11
      src/pages/inventoryMove/job/nokToHoldMoveJob.vue
  4. 11
      src/pages/inventoryMove/job/okToHoldMoveJob.vue
  5. 11
      src/pages/inventoryMove/job/okToScrapMoveJob.vue
  6. 15
      src/pages/inventoryMove/job/scrapToHoldMoveJob.vue

18
src/pages/inventoryMove/job/holdToOkMoveJob.vue

@ -16,15 +16,27 @@
title:'' title:''
} }
}, },
onReachBottom() {
this.$refs.comMoveJob.onReach();
},
onLoad(option){ onLoad(option){
this.title = option.title this.title = option.title
}, },
onShow() {
if(this.$refs.comMoveJob){
this.$refs.comMoveJob.refresh();
}
},
onPullDownRefresh() { onPullDownRefresh() {
if(this.$refs.comMoveJob){
this.$refs.comMoveJob.refresh(); this.$refs.comMoveJob.refresh();
}
},
onReachBottom() {
if(this.$refs.comMoveJob){
this.$refs.comMoveJob.onReach();
}
}, },
onNavigationBarButtonTap(e) { onNavigationBarButtonTap(e) {
if (e.index === 0) { if (e.index === 0) {

17
src/pages/inventoryMove/job/holdToScrapMoveJob.vue

@ -16,14 +16,25 @@
title:'' title:''
} }
}, },
onReachBottom() {
this.$refs.comMoveJob.onReach();
},
onLoad(option){ onLoad(option){
this.title = option.title this.title = option.title
}, },
onShow() {
if(this.$refs.comMoveJob){
this.$refs.comMoveJob.refresh();
}
},
onPullDownRefresh() { onPullDownRefresh() {
if(this.$refs.comMoveJob){
this.$refs.comMoveJob.refresh(); this.$refs.comMoveJob.refresh();
}
},
onReachBottom() {
if(this.$refs.comMoveJob){
this.$refs.comMoveJob.onReach();
}
}, },
onNavigationBarButtonTap(e) { onNavigationBarButtonTap(e) {
if (e.index === 0) { if (e.index === 0) {

11
src/pages/inventoryMove/job/nokToHoldMoveJob.vue

@ -18,11 +18,22 @@
onLoad(option){ onLoad(option){
this.title = option.title this.title = option.title
}, },
onShow() {
if(this.$refs.comMoveJob){
this.$refs.comMoveJob.refresh();
}
},
onPullDownRefresh() { onPullDownRefresh() {
if(this.$refs.comMoveJob){
this.$refs.comMoveJob.refresh(); this.$refs.comMoveJob.refresh();
}
}, },
onReachBottom() { onReachBottom() {
if(this.$refs.comMoveJob){
this.$refs.comMoveJob.onReach(); this.$refs.comMoveJob.onReach();
}
}, },
onNavigationBarButtonTap(e) { onNavigationBarButtonTap(e) {
if (e.index === 0) { if (e.index === 0) {

11
src/pages/inventoryMove/job/okToHoldMoveJob.vue

@ -18,11 +18,22 @@
onLoad(option){ onLoad(option){
this.title = option.title this.title = option.title
}, },
onShow() {
if(this.$refs.comMoveJob){
this.$refs.comMoveJob.refresh();
}
},
onPullDownRefresh() { onPullDownRefresh() {
if(this.$refs.comMoveJob){
this.$refs.comMoveJob.refresh(); this.$refs.comMoveJob.refresh();
}
}, },
onReachBottom() { onReachBottom() {
if(this.$refs.comMoveJob){
this.$refs.comMoveJob.onReach(); this.$refs.comMoveJob.onReach();
}
}, },
onNavigationBarButtonTap(e) { onNavigationBarButtonTap(e) {
if (e.index === 0) { if (e.index === 0) {

11
src/pages/inventoryMove/job/okToScrapMoveJob.vue

@ -19,11 +19,22 @@
onLoad(option){ onLoad(option){
this.title = option.title this.title = option.title
}, },
onShow() {
if(this.$refs.comMoveJob){
this.$refs.comMoveJob.refresh();
}
},
onPullDownRefresh() { onPullDownRefresh() {
if(this.$refs.comMoveJob){
this.$refs.comMoveJob.refresh(); this.$refs.comMoveJob.refresh();
}
}, },
onReachBottom() { onReachBottom() {
if(this.$refs.comMoveJob){
this.$refs.comMoveJob.onReach(); this.$refs.comMoveJob.onReach();
}
}, },
onNavigationBarButtonTap(e) { onNavigationBarButtonTap(e) {
if (e.index === 0) { if (e.index === 0) {

15
src/pages/inventoryMove/job/scrapToHoldMoveJob.vue

@ -19,11 +19,22 @@
onLoad(option){ onLoad(option){
this.title = option.title this.title = option.title
}, },
onReachBottom() { onShow() {
this.$refs.comMoveJob.onReach(); if(this.$refs.comMoveJob){
this.$refs.comMoveJob.refresh();
}
}, },
onPullDownRefresh() { onPullDownRefresh() {
if(this.$refs.comMoveJob){
this.$refs.comMoveJob.refresh(); this.$refs.comMoveJob.refresh();
}
},
onReachBottom() {
if(this.$refs.comMoveJob){
this.$refs.comMoveJob.onReach();
}
}, },
onNavigationBarButtonTap(e) { onNavigationBarButtonTap(e) {
if (e.index === 0) { if (e.index === 0) {

Loading…
Cancel
Save