|
|
@ -38,7 +38,7 @@ |
|
|
|
</view> |
|
|
|
<view class="item"> |
|
|
|
<text class="item_title">检验类型 : </text> |
|
|
|
<text class="text_wrap">{{dataContent.inspectType}} </text> |
|
|
|
<text class="text_wrap">{{getInspectType(dataContent.inspectType)}} </text> |
|
|
|
</view> |
|
|
|
<view class="item"> |
|
|
|
<text class="item_title">下一步检验动作 : </text> |
|
|
@ -46,11 +46,11 @@ |
|
|
|
</view> |
|
|
|
<view class="item"> |
|
|
|
<text class="item_title">抽检方式 : </text> |
|
|
|
<text class="text_wrap">{{dataContent.sampleMethod}} </text> |
|
|
|
<text class="text_wrap">{{getSampleMethod(dataContent.sampleMethod)}} </text> |
|
|
|
</view> |
|
|
|
<view class="item"> |
|
|
|
<text class="item_title">计量单位 : </text> |
|
|
|
<text class="text_wrap">{{dataContent.uom}} </text> |
|
|
|
<text class="text_wrap">{{getUnitInfo(dataContent.uom)}} </text> |
|
|
|
</view> |
|
|
|
<view class="item"> |
|
|
|
<text class="item_title">收货数量 : </text> |
|
|
@ -70,6 +70,10 @@ |
|
|
|
|
|
|
|
<script> |
|
|
|
import jobCommonInfo from '@/mycomponents/job/jobCommonInfo.vue' |
|
|
|
import{getInspectType, |
|
|
|
getSampleMethod, |
|
|
|
getUnitInfo |
|
|
|
} from "@/common/directory.js" |
|
|
|
export default { |
|
|
|
components: { |
|
|
|
jobCommonInfo, |
|
|
@ -94,6 +98,17 @@ |
|
|
|
closePopup() { |
|
|
|
this.$refs.popup.close() |
|
|
|
}, |
|
|
|
getInspectType(value){ |
|
|
|
return getInspectType(value); |
|
|
|
}, |
|
|
|
getSampleMethod(value){ |
|
|
|
return getSampleMethod(value); |
|
|
|
}, |
|
|
|
getUnitInfo(value){ |
|
|
|
var info = getUnitInfo(value) |
|
|
|
return info.label; |
|
|
|
}, |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
</script> |
|
|
|