<template>
	<view class="">
		<receipt-job ref="receiptjob" operation='reject'></receipt-job>
	</view>
</template>

<script>
	import receiptJob from '@/pages/purchaseReceipt/job/receiptJob.vue'

	export default {
		name: 'purchaseReject',
		components: {
			receiptJob
		},
		data() {
			return {

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

		onPullDownRefresh() {
			this.$refs.receiptjob.refresh();
		},
		
		onReachBottom() {
			this.$refs.receiptjob.onReach();
		},
		onNavigationBarButtonTap(e) {
			if (e.index === 0) {
				this.$refs.receiptjob.goHome();
			} else if (e.index == 1) {
				this.$refs.receiptjob.openFilter();
			}
		},
		methods: {

		}
	}
</script>

<style scoped lang="scss">

</style>