<!-- 收货任务详情 -->
<template>
	<view class="task_num">
		<view class="ljh_box nopad">
			<view class="tit_ljh">
				<text class="state-style" :class="requestContent.requestStatus | requestStatusStyle">
					{{requestContent.requestStatus | requestStatusColor}}
				</text>
				<text class="text_bold" style="padding:4rpx 2rpx;">{{requestContent.number}}</text>
			</view>
		</view>
	</view>
</template>

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

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

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

			};
		},

		filters: {
			requestStatusStyle: function(val) {
				return getRequestStatusStyle(val);
			},
			requestStatusColor: function(val) {
				return getRequestStatusDesc(val);
			},
		},
		mounted() {

		},
		methods: {}
	}
</script>

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