Browse Source

修改标题

hella_online_20240829
lijuncheng 4 months ago
parent
commit
887cff4304
  1. 41
      src/pages/productReceipt/job/ccProductReceiptJob.vue

41
src/pages/productReceipt/job/ccProductReceiptJob.vue

@ -80,25 +80,28 @@
detailOptions: [], detailOptions: [],
detailGiveupOptions: [], detailGiveupOptions: [],
type: 'assemble', type: 'assemble',
title:""
}; };
}, },
// type = 'assemble' // type = 'assemble'
// type = 'predict' // type = 'predict'
props: { // props: {
title: { // title: {
type: String, // type: String,
default: '' // default: ''
}, // },
// },
onLoad(option){
this.title = option.title
}, },
mounted() { onShow(){
this.detailOptions = getDetailOption(); this.detailOptions = getDetailOption();
this.detailGiveupOptions = getDetailGiveupOption(); this.detailGiveupOptions = getDetailGiveupOption();
this.getList('refresh'); this.getList('refresh');
}, },
onPullDownRefresh() { onPullDownRefresh() {
this.getList('refresh'); this.getList('refresh');
}, },
@ -122,19 +125,17 @@
this.$refs.filter.openFilter(); this.$refs.filter.openFilter();
} }
}, },
onReachBottom() {
console.log('onReachBottom', this.loadingType)
//
if (this.loadingType == 'loading' || this.loadingType == 'noMore') {
return;
}
this.getList("more");
},
methods: { methods: {
onReachBottom() {
console.log('onReachBottom', this.loadingType)
//
if (this.loadingType == 'loading' || this.loadingType == 'noMore') {
return;
}
this.getList("more");
},
refresh() {
this.getList('refresh');
},
getList(type) { getList(type) {
let that = this; let that = this;
uni.showLoading({ uni.showLoading({

Loading…
Cancel
Save