<template>
	<view class="uni-inline-item" style="font-size: 30rpx;">
		<view :class="statusStyle(fromInventoryStatus)">
			•
			{{statusDesc(fromInventoryStatus)}}
		</view>
		—>
		<view :class="statusStyle(toInventoryStatus)">
			•
			{{statusDesc(toInventoryStatus)}}
		</view>
	</view>

</template>

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

		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>
