<template>
	<view >
		<text :class="statusStyle(receiveStatus)">
			{{ receiveStatusInfo.label}}
		</text>
	</view>
</template>

<script>
	import {
		getReceiveStateInfo,
		getJobStateInfo
	} from '@/common/directory.js';

	export default {
		components: {

		},
		data() {
			return {
				receiveStatusInfo: {}
			};
		},
		watch: {},

		props: {
			receiveStatus: {
				type: String,
				default: ""
			}
		},

		mounted() {},

		methods: {
			statusStyle(value) {
				this.receiveStatusInfo = getReceiveStateInfo(value);
				return getReceiveStateInfo(value).remark
			}
		}
	}
</script>


<style>
</style>
