Browse Source

平台端商品管理商品平台上架状态功能前端业务处理

master
dy-hu 1 year ago
parent
commit
4a99515687
  1. 22
      src/views/renovation/commoditySystem/index.vue

22
src/views/renovation/commoditySystem/index.vue

@ -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: '', //

Loading…
Cancel
Save