fixed 修改下架的按钮样式
This commit is contained in:
parent
55e205da04
commit
7b082a9009
@ -62,7 +62,7 @@
|
|||||||
</el-button>
|
</el-button>
|
||||||
</el-col>
|
</el-col>
|
||||||
<el-col :span="1.5">
|
<el-col :span="1.5">
|
||||||
<el-button type="danger" :disabled="multiple" plain icon="Bottom" @click="handleShelf(2)">
|
<el-button type="warning" :disabled="multiple" plain icon="Bottom" @click="handleShelf(2)">
|
||||||
下架
|
下架
|
||||||
</el-button>
|
</el-button>
|
||||||
</el-col>
|
</el-col>
|
||||||
@ -122,7 +122,7 @@
|
|||||||
v-hasPermi="['business:goods:delete']">删除</el-button>
|
v-hasPermi="['business:goods:delete']">删除</el-button>
|
||||||
<el-button v-if="scope.row.goodsShelfStatus == 2" type="success" size="small" icon="Top"
|
<el-button v-if="scope.row.goodsShelfStatus == 2" type="success" size="small" icon="Top"
|
||||||
@click="handleShelf(1, scope.row)">上架</el-button>
|
@click="handleShelf(1, scope.row)">上架</el-button>
|
||||||
<el-button v-if="scope.row.goodsShelfStatus == 1" type="danger" size="small" icon="Bottom"
|
<el-button v-if="scope.row.goodsShelfStatus == 1" type="warning" size="small" icon="Bottom"
|
||||||
@click="handleShelf(2, scope.row)">下架</el-button>
|
@click="handleShelf(2, scope.row)">下架</el-button>
|
||||||
<!-- <el-button size="small" icon="view" @click="handleDetail(scope.row)">查看</el-button> -->
|
<!-- <el-button size="small" icon="view" @click="handleDetail(scope.row)">查看</el-button> -->
|
||||||
</template>
|
</template>
|
||||||
@ -362,7 +362,7 @@ function handleShelf(status, row) {
|
|||||||
distinguishCancelAndClose: true,
|
distinguishCancelAndClose: true,
|
||||||
confirmButtonText: '确定',
|
confirmButtonText: '确定',
|
||||||
cancelButtonText: '取消',
|
cancelButtonText: '取消',
|
||||||
type: "warning",
|
type: "warning",z
|
||||||
})
|
})
|
||||||
.then(async () => {
|
.then(async () => {
|
||||||
ShelfData.goodsShelfStatus = status
|
ShelfData.goodsShelfStatus = status
|
||||||
|
Loading…
Reference in New Issue
Block a user