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.
39 lines
692 B
39 lines
692 B
2 years ago
|
<template>
|
||
|
<view class="uni-flex" @click="openDetailInfo()">
|
||
|
<view class="uni-flex uni-column">
|
||
|
<text>{{dataContent.itemCode}}</text>
|
||
|
<text>{{dataContent.itemName}}</text>
|
||
|
</view>
|
||
|
<text >查看详情</text>
|
||
|
<win-item-detail-info ref="itemDetailInfo"></win-item-detail-info>
|
||
|
</view>
|
||
|
</template>
|
||
|
|
||
|
<script>
|
||
|
import winItemDetailInfo from '@/mycomponents/wincom/unitCom/winItemDetailInfo.vue'
|
||
|
export default {
|
||
|
components: {
|
||
|
winItemDetailInfo
|
||
|
},
|
||
|
data() {
|
||
|
return {
|
||
|
|
||
|
}
|
||
|
},
|
||
|
props: {
|
||
|
dataContent: {
|
||
|
type: Object,
|
||
|
default: {}
|
||
|
},
|
||
|
},
|
||
|
methods: {
|
||
|
openDetailInfo() {
|
||
|
this.$refs.itemDetailInfo.openDetail();
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
</script>
|
||
|
|
||
|
<style>
|
||
|
</style>
|