feat:assetTable添加sn列

style:修改卡片样式
This commit is contained in:
zhangyu
2020-09-14 14:23:54 +08:00
parent 4ac7b24300
commit cf0cf49e10
4 changed files with 62 additions and 8 deletions

View File

@@ -66,6 +66,7 @@
<div v-if="item.prop=='assetType'">
<span>{{scope.row.model.type.value}}</span>
</div>
<template v-if="item.prop=='SN'">{{scope.row.sn}}</template>
<div v-if="item.prop=='state'">
<span>{{scope.row.state==1 ? $t('asset.inStock') : $t('asset.notInStock')}}</span>
</div>
@@ -165,6 +166,12 @@
show: true,
width: 130,
fixed:'left'
},
{
label: this.$t("asset.tableTitle.device"),
prop: 'SN',
show: true,
width: 130
},
{
label: this.$t("asset.tableTitle.assetType"),