placeholder="请输入仓库编号" /> | placeholder="请输入仓库编号" /> | ||||
</template> | </template> | ||||
<template #operation=scope> | <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> | <template #reference> | ||||
<el-button size="small" type="danger"> | |||||
<el-button size="small" type="danger" v-if="(scope.scope.row.status === 'NEW')"> | |||||
移除 | 移除 | ||||
</el-button> | </el-button> | ||||
</template> | </template> |
<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> | <template #reference> | ||||
<el-button size="small" type="danger"> | |||||
<el-button size="small" type="danger" v-if="(scope.scope.row.status === 'NEW')"> | |||||
移除 | 移除 | ||||
</el-button> | </el-button> | ||||
</template> | </template> |