|
|
|
@ -178,7 +178,7 @@ |
|
|
|
fixed="right" |
|
|
|
header-align="center" |
|
|
|
align="center" |
|
|
|
width="80" |
|
|
|
width="100" |
|
|
|
label="操作"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
<el-link v-if="canEdit(scope.row)" type="primary" style="cursor: pointer" @click="handleEdit(scope.row)">编辑</el-link> |
|
|
|
@ -1358,7 +1358,7 @@ import labelPrintTemplates from '@/mixins/labelPrintTemplates.js'; |
|
|
|
}, |
|
|
|
// 判断是否可删除(仅未消耗) |
|
|
|
canDelete(row) { |
|
|
|
return row.finalStatus === '未消耗'; |
|
|
|
return (row.finalStatus === '未消耗' || row.finalStatus === '待入库'); |
|
|
|
}, |
|
|
|
// 判断是否可恢复(rollType = '删除卷') |
|
|
|
canRestore(row) { |
|
|
|
|