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: {
onReach() {
//
if (this.loadingType == 'loading' || this.loadingType == 'nomore') {
return;
}
this.getList("more");
},
updateTitle() {
var title = ""
var name = this.title

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Loading…
Cancel
Save