|
@@ -67,11 +67,12 @@
|
|
|
<el-table-column
|
|
|
label="操作" width="140">
|
|
|
<template slot-scope="scope">
|
|
|
- <el-button v-if="scope.row.isDeleted=='Y'" type="text" size="small" class="is-disabled">修改</el-button>
|
|
|
- <el-button v-if="scope.row.isDeleted=='N'" type="text" size="small" @click="toEditProduct(scope.row)">修改</el-button>
|
|
|
+ <!-- <el-button v-if="scope.row.isDeleted=='Y'" type="text" size="small" class="is-disabled">修改</el-button> -->
|
|
|
+ <el-button type="text" size="small" @click="toEditProduct(scope.row)">修改</el-button>
|
|
|
<span style="margin:0 3px;">|</span>
|
|
|
- <el-button v-if="scope.row.isDeleted=='Y' || scope.row.typeId === 82 || scope.row.typeId === 83" type="text" size="small" class="is-disabled">复制</el-button>
|
|
|
- <el-button v-if="scope.row.isDeleted=='N'&&scope.row.typeId !== 82 && scope.row.typeId !== 83" type="text" size="small" @click="toCopyProduct(scope.row)">复制</el-button>
|
|
|
+ <!-- <el-button v-if="scope.row.isDeleted=='Y' || scope.row.typeId === 82 || scope.row.typeId === 83" type="text" size="small" class="is-disabled">复制</el-button> -->
|
|
|
+ <!-- <el-button v-if="scope.row.isDeleted=='N'&&scope.row.typeId !== 82 && scope.row.typeId !== 83" type="text" size="small" @click="toCopyProduct(scope.row)">复制</el-button> -->
|
|
|
+ <el-button type="text" size="small" @click="toCopyProduct(scope.row)">复制</el-button>
|
|
|
<span style="margin:0 3px;">|</span>
|
|
|
<el-button v-if="scope.row.isDeleted=='Y'" type="text" size="small" @click="showReuseDialog(scope.row)">启用</el-button>
|
|
|
<el-button v-if="scope.row.isDeleted=='N'" type="text" size="small" class="delete" @click="showDelDialog(scope.row)">禁用</el-button>
|