|
|
@@ -26,7 +26,7 @@
|
|
|
<!-- 编码列 -->
|
|
|
|
|
|
<template v-slot:name="{ row }">
|
|
|
- {{ row.qualityStandard.name }}
|
|
|
+ {{ row.qualityStandard && row.qualityStandard.name }}
|
|
|
</template>
|
|
|
|
|
|
<template v-slot:code="{ row }">
|
|
|
@@ -35,20 +35,20 @@
|
|
|
:underline="false"
|
|
|
@click="openDetail(row.qualityStandard)"
|
|
|
>
|
|
|
- {{ row.qualityStandard.code }}
|
|
|
+ {{row.qualityStandard && row.qualityStandard.code }}
|
|
|
</el-link>
|
|
|
</template>
|
|
|
|
|
|
<template v-slot:type="{ row }">
|
|
|
- {{ getDictValue('质检标准类型', row.qualityStandard.type) }}
|
|
|
+ {{ getDictValue('质检标准类型', row.qualityStandard && row.qualityStandard.type) }}
|
|
|
</template>
|
|
|
|
|
|
<template v-slot:standardCode="{ row }">
|
|
|
- {{ row.qualityStandard.standardCode }}
|
|
|
+ {{row.qualityStandard && row.qualityStandard.standardCode }}
|
|
|
</template>
|
|
|
|
|
|
<template v-slot:status="{ row }">
|
|
|
- {{ row.qualityStandard.status == 1 ? '启用' : '停用' }}
|
|
|
+ {{ row.qualityStandard && row.qualityStandard.status == 1 ? '启用' : '停用' }}
|
|
|
</template>
|
|
|
|
|
|
<template v-slot:mode="{ row }">
|
|
|
@@ -56,7 +56,7 @@
|
|
|
</template>
|
|
|
|
|
|
<template v-slot:version="{ row }">
|
|
|
- {{ row.qualityStandard.version }}
|
|
|
+ {{ row.qualityStandard && row.qualityStandard.version }}
|
|
|
</template>
|
|
|
|
|
|
<template v-slot:action="{ row }">
|