This commit is contained in:
parent
7d0dcd0f5c
commit
fdcced641b
|
@ -368,7 +368,7 @@ export default {
|
||||||
// this.detailForm.userName = value.shopInfo.userName;
|
// this.detailForm.userName = value.shopInfo.userName;
|
||||||
// this.detailForm.wpPath = value.panUrl;
|
// this.detailForm.wpPath = value.panUrl;
|
||||||
// this.detailForm.code = value.panCode;
|
// this.detailForm.code = value.panCode;
|
||||||
this.detailForm.name = value.goodsName;
|
this.detailForm.goodsName = value.goodsName;
|
||||||
this.detailForm.wpPath = value.domainInfo.wpPath;
|
this.detailForm.wpPath = value.domainInfo.wpPath;
|
||||||
this.detailForm.code = value.domainInfo.code;
|
this.detailForm.code = value.domainInfo.code;
|
||||||
this.detailForm.userName = value.shopInfo.userName;
|
this.detailForm.userName = value.shopInfo.userName;
|
||||||
|
|
|
@ -57,28 +57,33 @@
|
||||||
<el-table-column prop="pointPrice" label="积分价格"> </el-table-column>
|
<el-table-column prop="pointPrice" label="积分价格"> </el-table-column>
|
||||||
<el-table-column prop="moneyPrice" label="金钱价格"> </el-table-column>
|
<el-table-column prop="moneyPrice" label="金钱价格"> </el-table-column>
|
||||||
<el-table-column prop="authorName" label="发布人"> </el-table-column>
|
<el-table-column prop="authorName" label="发布人"> </el-table-column>
|
||||||
<el-table-column prop="state" label="状态"> </el-table-column>
|
<el-table-column prop="state" label="状态">
|
||||||
|
<template #default="scope">
|
||||||
|
<span v-if="scope.row.state == '1'">上架</span>
|
||||||
|
<span v-else-if="scope.row.state == '2'">下架</span>
|
||||||
|
</template>
|
||||||
|
</el-table-column>
|
||||||
<!-- <el-table-column prop="typeName" label="类型">
|
<!-- <el-table-column prop="typeName" label="类型">
|
||||||
<template #default="scope">
|
<template #default="scope">
|
||||||
<span>{{ scope.row.typeName }} - {{ scope.row.typesName }}</span>
|
<span>{{ scope.row.typeName }} - {{ scope.row.typesName }}</span>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column> -->
|
</el-table-column> -->
|
||||||
<el-table-column prop="examineState" label="审核状态">
|
<el-table-column prop="examineState" label="审核状态">
|
||||||
<!-- <template #default="scope">
|
<template #default="scope">
|
||||||
<span v-if="scope.row.examineState == '0'" style="color: #409eff"
|
<span v-if="scope.row.examineState == '0'"
|
||||||
>未审核</span
|
>待审核</span
|
||||||
>
|
>
|
||||||
<span
|
<span
|
||||||
v-else-if="scope.row.examineState == '1'"
|
v-else-if="scope.row.examineState == '1'"
|
||||||
style="color: #67c23a"
|
|
||||||
>通过</span
|
>通过</span
|
||||||
>
|
>
|
||||||
<span
|
<span
|
||||||
v-else-if="scope.row.examineState == '2'"
|
v-else-if="scope.row.examineState == '2'"
|
||||||
style="color: #f56c6c"
|
|
||||||
>拒绝</span
|
>驳回</span
|
||||||
>
|
>
|
||||||
</template> -->
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column label="操作" width="150">
|
<el-table-column label="操作" width="150">
|
||||||
<template #default="scope">
|
<template #default="scope">
|
||||||
|
@ -195,7 +200,7 @@
|
||||||
<template #footer>
|
<template #footer>
|
||||||
<span class="dialog-footer">
|
<span class="dialog-footer">
|
||||||
<el-button @click="handleCloses">取消</el-button>
|
<el-button @click="handleCloses">取消</el-button>
|
||||||
<el-button type="primary" @click="fix()" v-show="title == '编辑'">
|
<el-button type="primary" @click="fix()" v-show="title == '修改商品'">
|
||||||
确定
|
确定
|
||||||
</el-button>
|
</el-button>
|
||||||
</span>
|
</span>
|
||||||
|
@ -338,12 +343,12 @@ export default {
|
||||||
getdetails(title, value) {
|
getdetails(title, value) {
|
||||||
this.title = title;
|
this.title = title;
|
||||||
this.opens = true;
|
this.opens = true;
|
||||||
this.detailForm = value;
|
this.detailForm = Object.assign({}, value);
|
||||||
if (value.state == "上架") {
|
// if (value.state == "上架") {
|
||||||
this.detailForm.state = "1";
|
// this.detailForm.state = "1";
|
||||||
} else {
|
// } else {
|
||||||
this.detailForm.state = "0";
|
// this.detailForm.state = "0";
|
||||||
}
|
// }
|
||||||
},
|
},
|
||||||
fix() {
|
fix() {
|
||||||
let goods = this.detailForm;
|
let goods = this.detailForm;
|
||||||
|
|
Loading…
Reference in New Issue