|
@@ -35,8 +35,8 @@
|
|
|
<el-form-item style="float: right">
|
|
|
<el-button @click="dialogVisible = false">返回</el-button>
|
|
|
<!-- 不在回收站的才可以停用 -->
|
|
|
- <el-button v-if="!isDetail && parentTabType!=4" :loading="formLoading" type="danger" plain
|
|
|
- @click="handleStatus02Change(ProductSpuStatusEnum.RECYCLE.status)">
|
|
|
+ <el-button v-if="!isDetail && parentTabType!=4 && openType != 'create'" :loading="formLoading"
|
|
|
+ type="danger" plain @click="handleStatus02Change(ProductSpuStatusEnum.RECYCLE.status)">
|
|
|
停用
|
|
|
</el-button>
|
|
|
<!-- 在回收站的可以选择恢复或者删除 -->
|
|
@@ -49,7 +49,8 @@
|
|
|
@click="handleStatus02Change(ProductSpuStatusEnum.DISABLE.status)">
|
|
|
恢复
|
|
|
</el-button>
|
|
|
- <el-button v-if="!isDetail" :loading="formLoading" type="primary" @click="handleStatusChange">
|
|
|
+ <el-button v-if="!isDetail && openType != 'create'" :loading="formLoading" type="primary"
|
|
|
+ @click="handleStatusChange">
|
|
|
{{parentRow.status == 0 ?"上架":"下架"}}
|
|
|
</el-button>
|
|
|
|
|
@@ -375,7 +376,7 @@
|
|
|
::v-deep .child-tabs .el-tabs__item {}
|
|
|
|
|
|
.right {
|
|
|
- padding: 10px 0;
|
|
|
+ padding: 10px 0 60px;
|
|
|
border-left: 2px solid #e4e7ee;
|
|
|
margin-left: -2px;
|
|
|
float: left;
|