Browse Source

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

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

20
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) {

19
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) {

15
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) {

15
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) {

15
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) {

17
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) {

Loading…
Cancel
Save