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.
76 lines
1.3 KiB
76 lines
1.3 KiB
1 year ago
|
<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,
|
||
|
},
|
||
|
{
|
||
|
title: '项目代码',
|
||
|
content: this.dataContent.projectCode,
|
||
|
},{
|
||
|
title: '最后更新时间',
|
||
|
content: this.dataContent.lastModificationTime,
|
||
|
},
|
||
|
{
|
||
|
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>
|