<template>
	<view class="zd_container">
		<nav-bar title="废包材位异常出库"></nav-bar>
		<view class="zd-row submit-bar_new">
			<button class="zd-col-22 submit-button_new" :disabled="disabled" @tap="_ycck">确认</button>
		</view>
	</view>
</template>

<script>
	import NavBar from '@/components/NavBar.vue'
	import {ycck} from '@/utils/getData1.js'
	export default {
		components: {
			NavBar
		},
		data() {
			return {
				disabled: false
			};
		},
		created () {
		},
		methods: {
			async _ycck () {
				this.disabled = true
				try {
					let res = await ycck()
					this.disabled = false
					uni.showToast({
						title: res.message,
						icon: 'none'
					})
				} catch (e) {
					this.disabled = false
				}
			}
		}
	}
</script>

<style lang="stylus">
</style>
