From c4ddea143a237f2db81466d4ee3dc704af465e0e Mon Sep 17 00:00:00 2001 From: liuchen864 <23082234@qq.com> Date: Mon, 24 Jun 2024 17:54:52 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9Bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/wms/countManage/count/countPlanMain/index.vue | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) 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