|
@@ -31,7 +31,7 @@
|
|
<span v-else>{{row.planTarget}}</span>
|
|
<span v-else>{{row.planTarget}}</span>
|
|
</template>
|
|
</template>
|
|
<template #key7="{row,index}">
|
|
<template #key7="{row,index}">
|
|
- <HcDatePicker :dates="[row.planStartTime,row.planEndTime]" @change="betweenTimeUpdate($event,row)" v-if="row.isEdit"/>
|
|
|
|
|
|
+ <HcDatePicker :dates="[row.planStartTime,row.planEndTime]" @change="betweenTimeUpdate($event,row)" v-if="row.isEdit" clearable/>
|
|
<!-- <span v-else>{{row.key7}}</span> -->
|
|
<!-- <span v-else>{{row.key7}}</span> -->
|
|
<span v-else>
|
|
<span v-else>
|
|
<span >{{row.planStartTime?row.planStartTime:''}}</span>
|
|
<span >{{row.planStartTime?row.planStartTime:''}}</span>
|
|
@@ -51,7 +51,7 @@
|
|
</template> -->
|
|
</template> -->
|
|
<template #action="{row,index}">
|
|
<template #action="{row,index}">
|
|
<el-button size="small" type="success" v-if="row.isEdit" @click="getWorkDays(row)">保存</el-button>
|
|
<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="warning" @click="relatedModalShow(row)">关联回款</el-button>
|
|
<el-button size="small" type="danger" @click="subplanModalShow(row)" :disabled="row?.isShowChildren==0">分解子计划</el-button>
|
|
<el-button size="small" type="danger" @click="subplanModalShow(row)" :disabled="row?.isShowChildren==0">分解子计划</el-button>
|
|
</template>
|
|
</template>
|
|
@@ -91,7 +91,7 @@
|
|
<el-input v-model="row.planTarget" :disabled="!row.isEdit"/>
|
|
<el-input v-model="row.planTarget" :disabled="!row.isEdit"/>
|
|
</template>
|
|
</template>
|
|
<template #key7="{row,index}">
|
|
<template #key7="{row,index}">
|
|
- <HcDatePicker :dates="[row.planStartTime,row.planEndTime]" @change="subbetweenTimeUpdate($event,row)" :disabled="!row.isEdit"/>
|
|
|
|
|
|
+ <HcDatePicker :dates="[row.planStartTime,row.planEndTime]" @change="subbetweenTimeUpdate($event,row)" :disabled="!row.isEdit" clearable/>
|
|
|
|
|
|
</template>
|
|
</template>
|
|
<template #planDays="{row,index}" >
|
|
<template #planDays="{row,index}" >
|
|
@@ -103,7 +103,7 @@
|
|
</template>
|
|
</template>
|
|
<template #action="{row,index}">
|
|
<template #action="{row,index}">
|
|
<el-button size="small" type="success" v-if="row.isEdit" @click="getWorkDays(row)">保存</el-button>
|
|
<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>
|
|
<el-button size="small" type="primary" @click="delSubplan(row,index)">删除</el-button>
|
|
</template>
|
|
</template>
|
|
</HcTable>
|
|
</HcTable>
|
|
@@ -326,7 +326,7 @@ const tableSubplanColumn = [
|
|
{key: 'planTarget', name: '完成指标', minWidth: '200', align: 'center', isTooltip: true},
|
|
{key: 'planTarget', name: '完成指标', minWidth: '200', align: 'center', isTooltip: true},
|
|
{key: 'key7', name: '计划起止日期', width: '280', align: 'center'},
|
|
{key: 'key7', name: '计划起止日期', width: '280', align: 'center'},
|
|
{key: 'planDays', name: '预计工作量(小数/整数/天)', width: '160', align: 'center'},
|
|
{key: 'planDays', name: '预计工作量(小数/整数/天)', width: '160', align: 'center'},
|
|
- {key: 'action', name: '操作', width: '80', align: 'center', fixed: 'right'},
|
|
|
|
|
|
+ {key: 'action', name: '操作', width: '180', align: 'center', fixed: 'right'},
|
|
]
|
|
]
|
|
const tableSubplanData = ref([
|
|
const tableSubplanData = ref([
|
|
|
|
|