You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

54 lines
884 B

2 years ago
<!-- 收货任务详情 -->
<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>