<template>
	<view class="">
		<product-receipt-job 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 {

			};
		},
		onShow() {
			if(this.$refs.productreceiptjob!=undefined){
				this.$refs.productreceiptjob.refresh();
			}
			
		},

		onPullDownRefresh() {
			this.$refs.productreceiptjob.refresh();
		},
		
		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>