|
@@ -294,16 +294,16 @@
|
|
|
</el-select>
|
|
|
</template>
|
|
|
<template #planTaskDesc="{ row }">
|
|
|
- <el-input v-model="row.planTaskDesc" clearable :disabled="row?.isShowDelete === 0" />
|
|
|
+ <hc-table-input v-model="row.planTaskDesc" :disabled="row?.isShowDelete === 0" clearable />
|
|
|
</template>
|
|
|
<template #planTarget="{ row }">
|
|
|
- <el-input v-model="row.planTarget" clearable :disabled="row?.isShowDelete === 0" />
|
|
|
+ <hc-table-input v-model="row.planTarget" :disabled="row?.isShowDelete === 0" clearable />
|
|
|
</template>
|
|
|
<template #key7="{ row }">
|
|
|
<HcDatePicker :dates="[row.planStartTime, row.planEndTime]" clearable :disabled="row?.isShowDelete === 0" @change="subbetweenTimeUpdate($event, row)" />
|
|
|
</template>
|
|
|
<template #planDays="{ row }">
|
|
|
- <el-input v-model="row.planDays" disabled clearable />
|
|
|
+ <hc-table-input v-model="row.planDays" disabled clearable />
|
|
|
</template>
|
|
|
<template #key9="{ row }">
|
|
|
<el-input v-model="row.key9" clearable :disabled="row?.isShowDelete === 0" />
|
|
@@ -686,12 +686,7 @@ const updateChildPlanClick = async ()=>{
|
|
|
} else {
|
|
|
// tableSubplanData.value = tableSubplanData.value.filter((item)=>Number(item?.planDays) < 30)
|
|
|
subPlanItem.value.childrenList = tableSubplanData.value.filter((item)=>Number(item?.planDays) < 30)
|
|
|
- const arr = tableSubplanData.value
|
|
|
- for (let i = arr.length - 1; i >= 0; i--) {
|
|
|
- if (!arr[i].planTaskType || !arr[i].planTaskDesc || !arr[i].planTarget || !arr[i].planStartTime || !arr[i].planEndTime || !arr[i].planDays) {
|
|
|
- arr.splice(i, 1)
|
|
|
- }
|
|
|
- }
|
|
|
+
|
|
|
}
|
|
|
|
|
|
|