BUG 27890

This commit is contained in:
aixianling
2022-03-02 09:01:28 +08:00
parent 252ead5945
commit a0f8e79c85

View File

@@ -7,7 +7,8 @@
</template>
</ai-title>
<template #content>
<el-form size="small" label-width="120px">
<el-alert show-icon v-if="!detail.id" type="error" title="该产品已下架" center/>
<el-form v-else size="small" label-width="120px">
<ai-card title="基本信息">
<template #content>
<el-row type="flex" class="flexWrap">
@@ -112,6 +113,8 @@ export default {
this.detail = res.data
this.detail.guaranteeModeLabel = res.data.guaranteeMode?.split(",").map(g => this.dict.getLabel("productGuaranteeMode", g))?.toString()
this.detail.faceUserLabel = res.data.faceUser?.split(",").map(g => this.dict.getLabel("productFaceUser", g))?.toString()
} else {
this.$message.error("该产品已下架!")
}
})
},