Commit 6e92deaa authored by liwenhong's avatar liwenhong

fix: 上架类型

parent ae4a1827
...@@ -144,6 +144,15 @@ ...@@ -144,6 +144,15 @@
prop="create_time" prop="create_time"
align="center" align="center"
></el-table-column> ></el-table-column>
<el-table-column
label="上架类型"
prop="online_type"
align="center"
>
<template #default="scope">
{{['','立即上架','定点上架','暂不上架'][scope.row.online_type]}}
</template>
</el-table-column>
<el-table-column <el-table-column
label="上架时间" label="上架时间"
prop="online_start_time" prop="online_start_time"
...@@ -169,7 +178,7 @@ ...@@ -169,7 +178,7 @@
>审核</el-button >审核</el-button
> >
<el-popconfirm <!-- <el-popconfirm
v-if="scope.row.online_status == 2" v-if="scope.row.online_status == 2"
title="您确定要上架该商品吗?" title="您确定要上架该商品吗?"
cancelButtonType="default" cancelButtonType="default"
...@@ -178,9 +187,9 @@ ...@@ -178,9 +187,9 @@
<template #reference> <template #reference>
<el-button type="text">上架</el-button> <el-button type="text">上架</el-button>
</template> </template>
</el-popconfirm> </el-popconfirm> -->
<el-popconfirm <!-- <el-popconfirm
v-if=" v-if="
scope.row.online_status != 2 && scope.row.online_status != 2 &&
(scope.row.audit_status == 1 || scope.row.online_status == 1) (scope.row.audit_status == 1 || scope.row.online_status == 1)
...@@ -194,7 +203,7 @@ ...@@ -194,7 +203,7 @@
<template #reference> <template #reference>
<el-button type="text">下架</el-button> <el-button type="text">下架</el-button>
</template> </template>
</el-popconfirm> </el-popconfirm> -->
<el-button <el-button
@click="goDetail(`DETAIL`, scope.row.goods_spu_id)" @click="goDetail(`DETAIL`, scope.row.goods_spu_id)"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment