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
1.0 KiB

<!--包装组件-->
<template>
<view class="">
<view class="uni-flex space-between padding_10" style="background-color: #fff;" >
<view>
<view class="font_xl text_black text_bold">
{{ itemDetail.number }}
</view>
<view class="">
总容量 : {{ itemDetail.capacity }}
</view>
</view>
<view class="">
<containerStatus :status="itemDetail.status"></containerStatus>
</view>
</view>
<itemInfoPopup ref="showHint" :dataContent="itemDetail" :type="'partCode'"></itemInfoPopup>
</view>
</template>
<script>
import containerStatus from '@/mycomponents/container/containerStatus.vue';
import itemInfoPopup from '@/mycomponents/item/itemInfoPopup.vue';
export default {
name: "comItem",
components: {
itemInfoPopup,
containerStatus
},
data() {
return {
};
},
// 此处定义传入的数据
props: {
itemDetail: {
type: Object,
value: null
}
},
methods: {
showHint() {
this.$refs.showHint.openScanPopup()
}
}
}
</script>
<style>
</style>