Browse Source

修改Bug

master_hella_20240701
liuchen864 5 months ago
parent
commit
c4ddea143a
  1. 9
      src/views/wms/countManage/count/countPlanMain/index.vue

9
src/views/wms/countManage/count/countPlanMain/index.vue

@ -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

Loading…
Cancel
Save