<template>
	<view class="">
		<productPutawayJob ref="productPutawayJob" type='predict'></productPutawayJob>
	</view>
</template>

<script>
	import productPutawayJob from '@/pages/productPutaway/job/productPutawayJob.vue'

	export default {
		components: {
			productPutawayJob
		},
		data() {
			return {

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

		onPullDownRefresh() {
			this.$refs.productPutawayJob.refresh();
		},
		onNavigationBarButtonTap(e) {
			if (e.index === 0) {
				this.$refs.productPutawayJob.toHome();
			} else if (e.index == 1) {
				this.$refs.productPutawayJob.openFilter();
			}
		},

		methods: {

		}
	}
</script>

<style scoped lang="scss">

</style>