You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
64 lines
1.1 KiB
64 lines
1.1 KiB
<template>
|
|
<view class="">
|
|
<product-receipt-job :title="title" ref="productreceiptjob" type='assemble'></product-receipt-job>
|
|
</view>
|
|
</template>
|
|
|
|
<script>
|
|
import productReceiptJob from '@/pages/productReceipt/job/productReceiptJob.vue'
|
|
|
|
export default {
|
|
name: 'fgProductReceiptJob',
|
|
components: {
|
|
productReceiptJob
|
|
},
|
|
data() {
|
|
return {
|
|
title:''
|
|
};
|
|
},
|
|
onLoad(option){
|
|
this.title = option.title
|
|
},
|
|
|
|
onShow() {
|
|
if(this.$refs.productreceiptjob){
|
|
this.$refs.productreceiptjob.timerRefresh();
|
|
}
|
|
},
|
|
|
|
onHide() {
|
|
if(this.$refs.productreceiptjob){
|
|
this.$refs.productreceiptjob.stopRefresh();
|
|
}
|
|
},
|
|
|
|
onUnload(){
|
|
if(this.$refs.productreceiptjob){
|
|
this.$refs.productreceiptjob.stopRefresh();
|
|
}
|
|
},
|
|
|
|
onPullDownRefresh() {
|
|
this.$refs.productreceiptjob.timerRefresh();
|
|
},
|
|
|
|
onReachBottom() {
|
|
this.$refs.productreceiptjob.onReach();
|
|
},
|
|
onNavigationBarButtonTap(e) {
|
|
if (e.index === 0) {
|
|
this.$refs.productreceiptjob.toHome();
|
|
} else if (e.index == 1) {
|
|
this.$refs.productreceiptjob.openFilter();
|
|
}
|
|
},
|
|
methods: {
|
|
|
|
}
|
|
}
|
|
</script>
|
|
|
|
<style scoped lang="scss">
|
|
|
|
</style>
|