|
|
@ -116,34 +116,34 @@ |
|
|
|
</el-table-column> |
|
|
|
<el-table-column prop="createTime" label="创建时间" width="180" /> |
|
|
|
<el-table-column |
|
|
|
prop="shelveState" |
|
|
|
prop="platShelveState" |
|
|
|
label="上架状态" |
|
|
|
show-overflow-tooltip |
|
|
|
> |
|
|
|
<template slot-scope="scope"> |
|
|
|
<span v-if="scope.row.shelveState == 0">已下架</span> |
|
|
|
<span v-if="scope.row.shelveState == 1">已上架</span> |
|
|
|
<span v-if="scope.row.shelveState == 2">待审核</span> |
|
|
|
<span v-if="scope.row.shelveState == 3">审核失败</span> |
|
|
|
<span v-if="scope.row.platShelveState == 0">已下架</span> |
|
|
|
<span v-if="scope.row.platShelveState == 1">已上架</span> |
|
|
|
<span v-if="scope.row.platShelveState == 2">待审核</span> |
|
|
|
<span v-if="scope.row.platShelveState == 3">审核失败</span> |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column label="操作" width="200"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
<div class="btnList"> |
|
|
|
<el-button |
|
|
|
v-if="scope.row.shelveState == 1" |
|
|
|
v-if="scope.row.platShelveState == 1" |
|
|
|
slot="reference" |
|
|
|
style="margin-right: 10px" |
|
|
|
type="text" |
|
|
|
@click="OutForced(scope.row)" |
|
|
|
>强制下架</el-button> |
|
|
|
<el-button |
|
|
|
v-if="scope.row.shelveState == 1" |
|
|
|
v-if="scope.row.platShelveState == 1" |
|
|
|
type="text" |
|
|
|
@click="setFictitious(scope.row)" |
|
|
|
>虚拟销量</el-button> |
|
|
|
<el-button |
|
|
|
v-if="scope.row.shelveState == 2" |
|
|
|
v-if="scope.row.platShelveState == 2" |
|
|
|
type="text" |
|
|
|
@click="examineShow(scope.row)" |
|
|
|
>审核</el-button> |
|
|
@ -176,13 +176,13 @@ |
|
|
|
<el-dialog title="上架审核" :visible.sync="examineVisible" width="30%" style="margin-top:10%"> |
|
|
|
<el-form :model="ForcedForm"> |
|
|
|
<el-form-item label="审核状态" label-width="120px"> |
|
|
|
<el-radio-group v-model="ForcedForm.shelveState"> |
|
|
|
<el-radio-group v-model="ForcedForm.platShelveState"> |
|
|
|
<el-radio :label="1">通过</el-radio> |
|
|
|
<el-radio :label="3">驳回</el-radio> |
|
|
|
</el-radio-group> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item |
|
|
|
v-if="ForcedForm.shelveState == 3" |
|
|
|
v-if="ForcedForm.platShelveState == 3" |
|
|
|
label="驳回原因" |
|
|
|
label-width="120px" |
|
|
|
> |
|
|
@ -406,7 +406,7 @@ export default { |
|
|
|
// 重置 |
|
|
|
clear () { |
|
|
|
this.formInline = { |
|
|
|
shelveState: '', // 商品状态 0-已下架 1-已上架 2-待审核 3-审核失败 |
|
|
|
shelveState: '', // 商品平台上架状态 0-已下架 1-已上架 2-待审核 3-审核失败 |
|
|
|
productName: '', // 商品名称 |
|
|
|
productId: '', // 商品ID |
|
|
|
shopName: '', // 商户名称 |
|
|
|