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.
76 lines
1.5 KiB
76 lines
1.5 KiB
<!-- 收货任务详情 -->
|
|
<template>
|
|
<view class="device-detail" style="padding-bottom: 0 !important;">
|
|
<com-job-top-info :jobContent="jobContent"></com-job-top-info>
|
|
<!-- <view class="ljh_box nopad">
|
|
<text class="state-style fl margin_xs_top" :class="jobContent.jobStatus | statusStyle">
|
|
{{ jobContent.jobStatus | statusColor }}
|
|
</text>
|
|
<text class="tit_ljh">{{ jobContent.number }}</text>
|
|
</view> -->
|
|
<view class="cell_box uni-flex uni-row margin_top">
|
|
<view class="cell_info">
|
|
<view class="text_lightblue">总数量</view>
|
|
<view class="text_black text_bold">{{ allCount}}</view>
|
|
</view>
|
|
<view class="cell_info">
|
|
<view class="text_lightblue">{{scanHint}}</view>
|
|
<view class="text_black text_bold">{{ scanCount}}</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</template>
|
|
|
|
<script>
|
|
import {
|
|
getJobStatuStyle,
|
|
getJobStatuDesc,
|
|
} from '@/common/basic.js';
|
|
import comJobTopInfo from '@/mycomponents/comjob/comJobTopInfo.vue'
|
|
|
|
export default {
|
|
name: 'comJobScanDetail',
|
|
components: {
|
|
comJobTopInfo
|
|
},
|
|
props: {
|
|
jobContent: {
|
|
type: Object,
|
|
default: {}
|
|
},
|
|
allCount: {
|
|
type: Number,
|
|
default: 0
|
|
},
|
|
scanCount: {
|
|
type: Number,
|
|
default: 0
|
|
},
|
|
scanHint: {
|
|
type: String,
|
|
default: "已扫描"
|
|
},
|
|
},
|
|
data() {
|
|
return {
|
|
|
|
};
|
|
},
|
|
|
|
filters: {
|
|
statusStyle: function(val) {
|
|
return getJobStatuStyle(val);
|
|
},
|
|
statusColor: function(val) {
|
|
return getJobStatuDesc(val);
|
|
},
|
|
},
|
|
mounted() {
|
|
|
|
},
|
|
methods: {}
|
|
}
|
|
</script>
|
|
|
|
<style scoped lang="scss">
|
|
</style>
|
|
|