<template>
	<view>
		<win-label :dataContent="label"></win-label>
		<view class="uni-flex uni-row">
			<win-inventory-status :status="dataContent.status"></win-inventory-status>|
			<win-location-code :dataContent="dataContent.location"></win-location-code>
		</view>
	</view>
</template>

<script>
	import winLabel from '@/mycomponents/wincom/basicCom/winLabel.vue'
	import winLocationCode from '@/mycomponents/wincom/unitCom/winLocationCode.vue'
	import winInventoryStatus from '@/mycomponents/wincom/unitCom/winInventoryStatus.vue'
	export default {
		components: {
			winLabel,
			winLocationCode,
			winInventoryStatus
		},
		data() {
			return {

			}
		},
		props: {
			dataContent: {
				type: Object,
				default: {}
			},
			label: {
				type: Object,
				default: {}
			}
		},

		methods: {
			openJobDetail() {
				uni.showToast({
					title: '打开任务详情页'
				})
				this.$emit("openJobDetail");
			},
			// jobStatusStyle: function(val) {
			// 	return getJobStatuStyle(val);
			// },
			// jobStatusColor: function(val) {
			// 	return getJobStatuDesc(val);
			// }
		}
	}
</script>

<style>
</style>
