diff --git a/src/views/battery/monomer/monomer.data.ts b/src/views/battery/monomer/monomer.data.ts index 234430d..3c868e8 100644 --- a/src/views/battery/monomer/monomer.data.ts +++ b/src/views/battery/monomer/monomer.data.ts @@ -150,7 +150,7 @@ export const Monomer = useCrudSchemas(reactive([ label: '产品型号', field: 'pType', sort: 'custom', - isSearch: false, + isSearch: true, }, { label: '检测类型', @@ -235,7 +235,7 @@ export const StaticMonomerRules = reactive({ pLineId: [ { required: true, message: '请填写产线ID', trigger: 'change' }, ], - ptype: [ + pType: [ { required: true, message: '请填写产品型号', trigger: 'change' }, ], testType: [ @@ -542,6 +542,7 @@ export const DynamicMonomer = useCrudSchemas(reactive([ defaultTime: [new Date('1 00:00:00'), new Date('1 23:59:59')] } }, + isForm: false, form: { component: 'DatePicker', componentProps: {