<template>
	<view class="uni-row uni-flex center" style="font-size: 30rpx;">
		<!-- 	<view :class="statusStyle(fromInventoryStatus)">
			•
			{{statusDesc(fromInventoryStatus)}}
		</view> -->
		<status :status='fromInventoryStatus'></status>
		<text style="color:#909399 ; ">
			—>
		</text>
		<status :status='toInventoryStatus'></status>
		<!-- 	<view :class="statusStyle(toInventoryStatus)">
			•
			{{statusDesc(toInventoryStatus)}}
		</view> -->
	</view>

</template>

<script>
	import {
		getInventoryStatusStyle,
		getInventoryStatusName
	} from '@/common/directory.js';
	import status from '@/mycomponents/status/status.vue'
	export default {
		components: {
			status
		},

		data() {
			return {

			}
		},

		props: {
			fromInventoryStatus: {
				type: String,
				default: ''
			},
			toInventoryStatus: {
				type: String,
				default: ''
			},
		},
		watch: {

		},
		methods: {
			statusStyle(value) {
				return getInventoryStatusStyle(value);
			},
			statusDesc(value) {
				return getInventoryStatusName(value)
			}

		}
	}
</script>

<style>
</style>
