BUG 27890
This commit is contained in:
@@ -7,7 +7,8 @@
|
|||||||
</template>
|
</template>
|
||||||
</ai-title>
|
</ai-title>
|
||||||
<template #content>
|
<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="基本信息">
|
<ai-card title="基本信息">
|
||||||
<template #content>
|
<template #content>
|
||||||
<el-row type="flex" class="flexWrap">
|
<el-row type="flex" class="flexWrap">
|
||||||
@@ -112,6 +113,8 @@ export default {
|
|||||||
this.detail = res.data
|
this.detail = res.data
|
||||||
this.detail.guaranteeModeLabel = res.data.guaranteeMode?.split(",").map(g => this.dict.getLabel("productGuaranteeMode", g))?.toString()
|
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()
|
this.detail.faceUserLabel = res.data.faceUser?.split(",").map(g => this.dict.getLabel("productFaceUser", g))?.toString()
|
||||||
|
} else {
|
||||||
|
this.$message.error("该产品已下架!")
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user