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.
|
|
|
<template>
|
|
|
|
|
|
|
|
<view class="">
|
|
|
|
<comListItem :dataList="dataList"></comListItem>
|
|
|
|
</view>
|
|
|
|
|
|
|
|
</template>
|
|
|
|
|
|
|
|
<script>
|
|
|
|
import comListItem from '@/mycomponents/common/comListItem.vue';
|
|
|
|
export default {
|
|
|
|
components: {
|
|
|
|
comListItem
|
|
|
|
},
|
|
|
|
data() {
|
|
|
|
return {
|
|
|
|
dataList: []
|
|
|
|
}
|
|
|
|
},
|
|
|
|
watch: {
|
|
|
|
dataContent: {
|
|
|
|
handler(newName, oldName) {
|
|
|
|
this.dataList = [ {
|
|
|
|
title: '物品描述1',
|
|
|
|
content: this.dataContent.itemDesc1,
|
|
|
|
}, {
|
|
|
|
title: '物品描述2',
|
|
|
|
content: this.dataContent.itemDesc2,
|
|
|
|
}, {
|
|
|
|
title: '数量',
|
|
|
|
content: this.dataContent.qty,
|
|
|
|
}, {
|
|
|
|
title: '计量单位',
|
|
|
|
content: this.dataContent.uom,
|
|
|
|
type:"uom"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
title: '项目代码',
|
|
|
|
content: this.dataContent.projectCode,
|
|
|
|
},{
|
|
|
|
title: '最后更新时间',
|
|
|
|
content: this.dataContent.updateTime,
|
|
|
|
type:"dateTime"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
title: '最后更新者Id',
|
|
|
|
content: this.dataContent.lastModifierId,
|
|
|
|
},
|
|
|
|
{
|
|
|
|
title: '最后更新者用户名',
|
|
|
|
content: this.dataContent.lastModiferName,
|
|
|
|
},
|
|
|
|
{
|
|
|
|
title: '并发乐观锁',
|
|
|
|
content: this.dataContent.concurrencyStamp,
|
|
|
|
}];
|
|
|
|
},
|
|
|
|
immediate: true,
|
|
|
|
deep: true
|
|
|
|
}
|
|
|
|
},
|
|
|
|
|
|
|
|
mounted() {},
|
|
|
|
props: {
|
|
|
|
dataContent: {
|
|
|
|
type: Object,
|
|
|
|
default: {}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
|
|
|
|
methods: {}
|
|
|
|
}
|
|
|
|
</script>
|
|
|
|
|
|
|
|
<style>
|
|
|
|
|
|
|
|
</style>
|