特惠调整

This commit is contained in:
faiz 2024-11-19 11:31:18 +08:00
parent 07c1bf7411
commit 3608823914
3 changed files with 27 additions and 3 deletions

View File

@ -421,7 +421,9 @@
</el-table-column> </el-table-column>
<el-table-column label="特惠专区产品" min-width="100"> <el-table-column label="特惠专区产品" min-width="100">
<template slot-scope="scope"> <template slot-scope="scope">
<span>{{ scope.row.is_benefit ? "是" : "否" }}</span> <span style="color: red">{{
scope.row.is_benefit ? "是" : "否"
}}</span>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column prop="is_audited" label="待审核类型" min-width="90"> <el-table-column prop="is_audited" label="待审核类型" min-width="90">

View File

@ -630,8 +630,13 @@
> >
</el-radio-group> </el-radio-group>
</el-form-item> </el-form-item>
<el-form-item label="特惠专区产品" prop="is_benefit" label-width="90px"> <el-form-item
<el-radio-group v-model="projectData.is_benefit"> class="is_benefit"
label="特惠专区产品"
prop="is_benefit"
label-width="90px"
>
<el-radio-group text-color="#ff0000" v-model="projectData.is_benefit">
<el-radio :disabled="projectData.is_benefit == 1" :label="0" <el-radio :disabled="projectData.is_benefit == 1" :label="0"
></el-radio ></el-radio
> >
@ -884,6 +889,9 @@ export default {
dialogVisible: false, dialogVisible: false,
activeNames: "first", activeNames: "first",
projectData: { projectData: {
is_huimei: 0,
is_benefit: 0,
is_customize: 0,
merchant: { merchant: {
ext: { ext: {
com: {}, com: {},
@ -1121,6 +1129,14 @@ export default {
.projectInfo ::v-deep .el-dialog__body { .projectInfo ::v-deep .el-dialog__body {
padding-top: 0 !important; padding-top: 0 !important;
} }
.is_benefit {
::v-deep .el-form-item__label {
color: red;
}
::v-deep .el-radio__input.is-checked + .el-radio__label {
color: red;
}
}
.pictrue { .pictrue {
width: 60px; width: 60px;
height: 60px; height: 60px;

View File

@ -215,6 +215,12 @@
{{ productData.is_huimei ? "是" : "否" }} {{ productData.is_huimei ? "是" : "否" }}
</div> </div>
</li> </li>
<li class="item">
<div class="item-title">特惠专区产品</div>
<div class="value">
{{ productData.is_benefit ? "是" : "否" }}
</div>
</li>
</ul> </ul>
<ul v-if="productData.video_link" class="list"> <ul v-if="productData.video_link" class="list">
<li class="item item100"> <li class="item item100">