|
@@ -51,7 +51,7 @@
|
|
|
</template> -->
|
|
|
<template #action="{row,index}">
|
|
|
<el-button size="small" type="success" v-if="row.isEdit" @click="getWorkDays(row)">保存</el-button>
|
|
|
- <el-button size="small" type="primary" v-else @click="row.isEdit = true">编辑</el-button>
|
|
|
+ <el-button size="small" type="primary" v-else @click="row.isEdit = true" :disabled="row?.isShowEdit===0">编辑</el-button>
|
|
|
<el-button size="small" type="warning" @click="relatedModalShow(row)">关联回款</el-button>
|
|
|
<el-button size="small" type="danger" @click="subplanModalShow(row)" :disabled="row?.isShowChildren==0">分解子计划</el-button>
|
|
|
</template>
|
|
@@ -103,7 +103,7 @@
|
|
|
</template>
|
|
|
<template #action="{row,index}">
|
|
|
<el-button size="small" type="success" v-if="row.isEdit" @click="getWorkDays(row)">保存</el-button>
|
|
|
- <el-button size="small" type="primary" v-else @click="row.isEdit = true">编辑</el-button>
|
|
|
+ <el-button size="small" type="primary" v-else @click="row.isEdit = true" :disabled="row?.isShowEdit===0">编辑</el-button>
|
|
|
<el-button size="small" type="primary" @click="delSubplan(row,index)">删除</el-button>
|
|
|
</template>
|
|
|
</HcTable>
|