Browse Source

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

lijuncheng0816
lijuncheng 1 month 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:''
}
},
onReachBottom() {
this.$refs.comMoveJob.onReach();
},
onLoad(option){
this.title = option.title
},
onShow() {
if(this.$refs.comMoveJob){
this.$refs.comMoveJob.refresh();
}
},
onPullDownRefresh() {
if(this.$refs.comMoveJob){
this.$refs.comMoveJob.refresh();
}
},
onReachBottom() {
if(this.$refs.comMoveJob){
this.$refs.comMoveJob.onReach();
}
},
onNavigationBarButtonTap(e) {
if (e.index === 0) {

17
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() {
if(this.$refs.comMoveJob){
this.$refs.comMoveJob.refresh();
}
},
onReachBottom() {
if(this.$refs.comMoveJob){
this.$refs.comMoveJob.onReach();
}
},
onNavigationBarButtonTap(e) {
if (e.index === 0) {

11
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() {
if(this.$refs.comMoveJob){
this.$refs.comMoveJob.refresh();
}
},
onReachBottom() {
if(this.$refs.comMoveJob){
this.$refs.comMoveJob.onReach();
}
},
onNavigationBarButtonTap(e) {
if (e.index === 0) {

11
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() {
if(this.$refs.comMoveJob){
this.$refs.comMoveJob.refresh();
}
},
onReachBottom() {
if(this.$refs.comMoveJob){
this.$refs.comMoveJob.onReach();
}
},
onNavigationBarButtonTap(e) {
if (e.index === 0) {

11
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() {
if(this.$refs.comMoveJob){
this.$refs.comMoveJob.refresh();
}
},
onReachBottom() {
if(this.$refs.comMoveJob){
this.$refs.comMoveJob.onReach();
}
},
onNavigationBarButtonTap(e) {
if (e.index === 0) {

15
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() {
if(this.$refs.comMoveJob){
this.$refs.comMoveJob.refresh();
}
},
onReachBottom() {
if(this.$refs.comMoveJob){
this.$refs.comMoveJob.onReach();
}
},
onNavigationBarButtonTap(e) {
if (e.index === 0) {

Loading…
Cancel
Save