<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 OrderStatus extends Vue {
		@Prop()
		propValue : any
		value : any = ''
		@Watch('propValue')
		propValueChange(v : any) {
			v=== 0 ? this.value = '未接单' : this.value = '已接单';
		};
		created() {
			
		}
	}
</script>

<style>
</style>