style:任务制单-父列表项的status值为2,7,8,9,10时,子列表不展示编辑和删除按钮

pull/1/head
黄伟杰 4 weeks ago
parent bae356efe8
commit b7d52c84a3

@ -54,6 +54,7 @@
排产 排产
</el-button> --> </el-button> -->
<el-button <el-button
v-if="![2,7,8,9,10].includes(props.taskStatus)"
link link
type="primary" type="primary"
@click="openForm('update', scope.row.id)" @click="openForm('update', scope.row.id)"
@ -62,6 +63,7 @@
{{ t('ProductionPlan.Task.detailListEditActionText') }} {{ t('ProductionPlan.Task.detailListEditActionText') }}
</el-button> </el-button>
<el-button <el-button
v-if="![2,7,8,9,10].includes(props.taskStatus)"
link link
type="danger" type="danger"
@click="handleDelete(scope.row.id)" @click="handleDelete(scope.row.id)"

Loading…
Cancel
Save