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.
 
 
 
 

50 lines
886 B

<template>
<job-com-main-card :dataContent="dataContent">
<view class="task_item">
<view class="task_text">
<view class="">
物料号 : {{dataContent.itemCode}}
</view>
<view class="">
批次 : {{dataContent.batch}}
</view>
<view class="">
检验类型 : {{getInspectType(dataContent.inspectType)}}
</view>
</view>
</view>
</job-com-main-card>
</template>
<script>
import jobComMainCard from '@/mycomponents/job/jobComMainCard.vue'
import {getInspectType} from '@/common/directory.js'
export default {
components: {
jobComMainCard,
},
data() {
return {};
},
props: {
dataContent: {
type: Object,
default: {}
},
},
methods: {
getInspectType(value){
console.log("返回1",getInspectType(value))
return getInspectType(value)
}
}
}
</script>
<style lang="scss">
</style>