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
956 B

<template>
<view class="">
<view class="item">
<text class="item_title">物品描述1 : </text>
<text class="text_wrap">{{dataContent.itemDesc1}} </text>
</view>
<view class="item">
<text class="item_title">物品描述2 : </text>
<text class="text_wrap">{{dataContent.itemDesc2}} </text>
</view>
<view class="item">
<text class="item_title">数量 : </text>
<text class="text_wrap">{{dataContent.qty}} </text>
</view>
<view class="item">
<text class="item_title">计量单位 : </text>
<text class="text_wrap">{{getUnitInfo(dataContent.uom)}} </text>
</view>
</view>
</template>
<script>
import{getUnitInfo} from "@/common/directory.js"
export default {
components: {},
data() {
return {
}
},
mounted() {},
props: {
dataContent: {
type: Object,
default: {}
}
},
methods: {
getUnitInfo(value){
return getUnitInfo(value).label
}
}
}
</script>
<style>
</style>