<!-- 收货任务详情 -->
<template>
	<view class="task_num">
		<view class="ljh_box nopad">
			<view class="tit_ljh">
				<text class="state-style" :class="jobStatusStyle(jobContent.jobStatus)">
					{{ jobStatusColor(jobContent.jobStatus)}}
				</text>
				<text class="text_bold" style="padding:4rpx 2rpx;">{{jobContent.number}}</text>
			</view>
		</view>
	</view>
</template>

<script>
	import {
		getJobStatuStyle,
		getJobStatuDesc,
	} from '@/common/basic.js';

	export default {
		name: 'comJobScanDetail',
		components: {

		},
		props: {
			jobContent: {
				type: Object,
				default: {}
			}
		},
		data() {
			return {

			};
		},

		mounted() {

		},
		methods: {
			jobStatusStyle: function(val) {
				return getJobStatuStyle(val);
			},
			jobStatusColor: function(val) {
				return getJobStatuDesc(val);
			},
		}
	}
</script>

<style scoped lang="scss">
</style>
