Browse Source

修改标题

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

25
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,7 +126,6 @@
} }
}, },
methods: {
onReachBottom() { onReachBottom() {
console.log('onReachBottom', this.loadingType) console.log('onReachBottom', this.loadingType)
// //
@ -132,9 +134,8 @@
} }
this.getList("more"); this.getList("more");
}, },
refresh() {
this.getList('refresh'); methods: {
},
getList(type) { getList(type) {
let that = this; let that = this;
uni.showLoading({ uni.showLoading({

Loading…
Cancel
Save