|
@ -412,6 +412,11 @@ const openForm = async (type: string, row?: any) => { |
|
|
] // 重置明细数据 |
|
|
] // 重置明细数据 |
|
|
row = row ? row : {} |
|
|
row = row ? row : {} |
|
|
row.dimension = 'BY_INEVNEOTY' |
|
|
row.dimension = 'BY_INEVNEOTY' |
|
|
|
|
|
CountPlanMain.allSchemas.formSchema.forEach((item) => { |
|
|
|
|
|
if (item.field == 'crontab') { |
|
|
|
|
|
item.componentProps.disabled = true |
|
|
|
|
|
} |
|
|
|
|
|
}) |
|
|
formRef.value.open(type, row) |
|
|
formRef.value.open(type, row) |
|
|
|
|
|
|
|
|
// Promise.all([getOwnerAllList(), |
|
|
// Promise.all([getOwnerAllList(), |
|
@ -714,7 +719,9 @@ const selectChange = (field, val) => { |
|
|
} |
|
|
} |
|
|
}) |
|
|
}) |
|
|
} |
|
|
} |
|
|
|
|
|
formRef.value.formRef.setValues({ |
|
|
|
|
|
crontab:'' |
|
|
|
|
|
}) |
|
|
if (val == 'DYNAMIC') { |
|
|
if (val == 'DYNAMIC') { |
|
|
CountPlanMain.allSchemas.formSchema[3].label = '限值(%)' |
|
|
CountPlanMain.allSchemas.formSchema[3].label = '限值(%)' |
|
|
CountPlanMain.allSchemas.formSchema[3].componentProps.min = 0 |
|
|
CountPlanMain.allSchemas.formSchema[3].componentProps.min = 0 |
|
|