@@ -15,10 +15,9 @@ | |||
placeholder="请输入仓库编号" /> | |||
</template> | |||
<template #operation=scope> | |||
<el-popconfirm title="是否确认删除?" @confirm="handleAudit(scope.scope.$index, scope.scope.row, 1)"> | |||
<el-popconfirm title="是否确认移除?" @confirm="handleAudit(scope.scope.$index, scope.scope.row, 1)"> | |||
<template #reference> | |||
<el-button size="small" type="danger"> | |||
<el-button size="small" type="danger" v-if="(scope.scope.row.status === 'NEW')"> | |||
移除 | |||
</el-button> | |||
</template> |
@@ -18,7 +18,7 @@ | |||
<el-popconfirm title="是否确认删除?" @confirm="handleAudit(scope.scope.$index, scope.scope.row, 1)"> | |||
<template #reference> | |||
<el-button size="small" type="danger"> | |||
<el-button size="small" type="danger" v-if="(scope.scope.row.status === 'NEW')"> | |||
移除 | |||
</el-button> | |||
</template> |