<template>
	<div>
		<el-input style="width: 100%;" :readonly="true" :value="value"></el-input>
	</div>
</template>
<script lang="ts">
	import { Component, Prop, Vue, Watch, Mixins } from "vue-property-decorator";
	@Component
	export default class Financial extends Vue {
		@Prop()
		propValue : any
		value : any = ''
		@Watch('propValue')
		propValueChange(v : any) {
			v === 0 ? this.value = '未出库' : v === 1 ? this.value = '已出库' : this.value = '已终止'
		};
		created() {

		}
	}
</script>

<style>
</style>