|
@@ -129,6 +129,7 @@
|
|
|
<!-- 操作 -->
|
|
|
<template slot="action" slot-scope="text, record">
|
|
|
<a-button
|
|
|
+ id="shelfSet-link"
|
|
|
size="small"
|
|
|
type="link"
|
|
|
:class="record.enableFlag==1?'button-error':'button-primary'"
|
|
@@ -136,6 +137,7 @@
|
|
|
@click="handleEnable(record)"
|
|
|
>{{ record.enableFlag==1?'禁用':'启用' }}</a-button>
|
|
|
<a-button
|
|
|
+ id="shelfSet-bindProduct"
|
|
|
size="small"
|
|
|
type="link"
|
|
|
class="button-primary"
|
|
@@ -143,6 +145,7 @@
|
|
|
@click="handleProduct(record, 'bind')"
|
|
|
>绑定产品</a-button>
|
|
|
<a-button
|
|
|
+ id="shelfSet-editProduct"
|
|
|
size="small"
|
|
|
type="link"
|
|
|
:class="record.enableFlag==1?'button-primary':''"
|
|
@@ -151,6 +154,7 @@
|
|
|
@click="handleReplace(record)"
|
|
|
>更换产品</a-button>
|
|
|
<a-button
|
|
|
+ id="shelfSet-editHw"
|
|
|
size="small"
|
|
|
type="link"
|
|
|
:class="record.enableFlag==1?'button-primary':''"
|
|
@@ -158,6 +162,7 @@
|
|
|
@click="editHW(record)"
|
|
|
>编辑</a-button>
|
|
|
<a-button
|
|
|
+ id="shelfSet-del"
|
|
|
size="small"
|
|
|
type="link"
|
|
|
class="button-error"
|