Browse Source

修改标题

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

39
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');
}, },
@ -123,18 +126,16 @@
} }
}, },
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