<template>
	<view class="page-wraper">
		<comMoveJob :title="title" ref="comMoveJob" businessTypeCode='OkToHold' > </comMoveJob>
	</view>
</template>

<script>
	import comMoveJob from '@/pages/inventoryMove/coms/comMoveJob.vue'
	export default {
		components: {
			comMoveJob
		},
		data() {
			return {
				title:''
			}
		},
		onLoad(option){
			this.title = option.title
		},
		onPullDownRefresh() {
			this.$refs.comMoveJob.refresh();
		},
		onReachBottom() {
			this.$refs.comMoveJob.onReach();
		},
		onNavigationBarButtonTap(e) {
			if (e.index === 0) {
				this.$refs.comMoveJob.toHome();
			} else if (e.index == 1) {
				this.$refs.comMoveJob.openFilter();
			}
		},

		methods: {

		}
	}
</script>

