diff --git a/src/views/wms/countManage/count/countPlanMain/index.vue b/src/views/wms/countManage/count/countPlanMain/index.vue index 4cfefed4a..5ce419c45 100644 --- a/src/views/wms/countManage/count/countPlanMain/index.vue +++ b/src/views/wms/countManage/count/countPlanMain/index.vue @@ -412,6 +412,11 @@ const openForm = async (type: string, row?: any) => { ] // 重置明细数据 row = row ? row : {} row.dimension = 'BY_INEVNEOTY' +  CountPlanMain.allSchemas.formSchema.forEach((item) => { +    if (item.field == 'crontab') { +      item.componentProps.disabled = true +    } +  }) formRef.value.open(type, row) // Promise.all([getOwnerAllList(), @@ -714,7 +719,9 @@ const selectChange = (field, val) => { } }) } - +  formRef.value.formRef.setValues({ +       crontab:'' +    }) if (val == 'DYNAMIC') { CountPlanMain.allSchemas.formSchema[3].label = '限值(%)' CountPlanMain.allSchemas.formSchema[3].componentProps.min = 0