Browse Source

上拉加载更多

lijuncheng0816
wangyufei 4 months ago
parent
commit
be5c719210
  1. 7
      src/pages/inventoryMove/coms/comMoveJob.vue
  2. 4
      src/pages/inventoryMove/job/holdToOkMoveJob.vue
  3. 3
      src/pages/inventoryMove/job/holdToScrapMoveJob.vue
  4. 3
      src/pages/inventoryMove/job/moveJob.vue
  5. 4
      src/pages/inventoryMove/job/nokToHoldMoveJob.vue
  6. 4
      src/pages/inventoryMove/job/okToHoldMoveJob.vue
  7. 3
      src/pages/inventoryMove/job/okToScrapMoveJob.vue
  8. 3
      src/pages/inventoryMove/job/scrapToHoldMoveJob.vue

7
src/pages/inventoryMove/coms/comMoveJob.vue

@ -111,6 +111,13 @@
methods: { methods: {
onReach() {
//
if (this.loadingType == 'loading' || this.loadingType == 'nomore') {
return;
}
this.getList("more");
},
updateTitle() { updateTitle() {
var title = "" var title = ""
var name = this.title var name = this.title

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

@ -16,6 +16,10 @@
title:'' title:''
} }
}, },
onReachBottom() {
this.$refs.comMoveJob.onReach();
},
onLoad(option){ onLoad(option){
this.title = option.title this.title = option.title
}, },

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

@ -16,6 +16,9 @@
title:'' title:''
} }
}, },
onReachBottom() {
this.$refs.comMoveJob.onReach();
},
onLoad(option){ onLoad(option){
this.title = option.title this.title = option.title
}, },

3
src/pages/inventoryMove/job/moveJob.vue

@ -24,6 +24,9 @@
this.title = option.title this.title = option.title
}, },
onReachBottom() {
this.$refs.comMoveJob.onReach();
},
onNavigationBarButtonTap(e) { onNavigationBarButtonTap(e) {
if (e.index === 0) { if (e.index === 0) {
this.$refs.comMoveJob.toHome(); this.$refs.comMoveJob.toHome();

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

@ -21,7 +21,9 @@
onPullDownRefresh() { onPullDownRefresh() {
this.$refs.comMoveJob.refresh(); this.$refs.comMoveJob.refresh();
}, },
onReachBottom() {
this.$refs.comMoveJob.onReach();
},
onNavigationBarButtonTap(e) { onNavigationBarButtonTap(e) {
if (e.index === 0) { if (e.index === 0) {
this.$refs.comMoveJob.toHome(); this.$refs.comMoveJob.toHome();

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

@ -21,7 +21,9 @@
onPullDownRefresh() { onPullDownRefresh() {
this.$refs.comMoveJob.refresh(); this.$refs.comMoveJob.refresh();
}, },
onReachBottom() {
this.$refs.comMoveJob.onReach();
},
onNavigationBarButtonTap(e) { onNavigationBarButtonTap(e) {
if (e.index === 0) { if (e.index === 0) {
this.$refs.comMoveJob.toHome(); this.$refs.comMoveJob.toHome();

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

@ -22,6 +22,9 @@
onPullDownRefresh() { onPullDownRefresh() {
this.$refs.comMoveJob.refresh(); this.$refs.comMoveJob.refresh();
}, },
onReachBottom() {
this.$refs.comMoveJob.onReach();
},
onNavigationBarButtonTap(e) { onNavigationBarButtonTap(e) {
if (e.index === 0) { if (e.index === 0) {
this.$refs.comMoveJob.toHome(); this.$refs.comMoveJob.toHome();

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

@ -19,6 +19,9 @@
onLoad(option){ onLoad(option){
this.title = option.title this.title = option.title
}, },
onReachBottom() {
this.$refs.comMoveJob.onReach();
},
onPullDownRefresh() { onPullDownRefresh() {
this.$refs.comMoveJob.refresh(); this.$refs.comMoveJob.refresh();
}, },

Loading…
Cancel
Save