Browse Source

产品型号

master
李达明 4 weeks ago
parent
commit
c5f6ffe70b
  1. 5
      src/views/battery/monomer/monomer.data.ts

5
src/views/battery/monomer/monomer.data.ts

@ -150,7 +150,7 @@ export const Monomer = useCrudSchemas(reactive<CrudSchema[]>([
label: '产品型号', label: '产品型号',
field: 'pType', field: 'pType',
sort: 'custom', sort: 'custom',
isSearch: false, isSearch: true,
}, },
{ {
label: '检测类型', label: '检测类型',
@ -235,7 +235,7 @@ export const StaticMonomerRules = reactive({
pLineId: [ pLineId: [
{ required: true, message: '请填写产线ID', trigger: 'change' }, { required: true, message: '请填写产线ID', trigger: 'change' },
], ],
ptype: [ pType: [
{ required: true, message: '请填写产品型号', trigger: 'change' }, { required: true, message: '请填写产品型号', trigger: 'change' },
], ],
testType: [ testType: [
@ -542,6 +542,7 @@ export const DynamicMonomer = useCrudSchemas(reactive<CrudSchema[]>([
defaultTime: [new Date('1 00:00:00'), new Date('1 23:59:59')] defaultTime: [new Date('1 00:00:00'), new Date('1 23:59:59')]
} }
}, },
isForm: false,
form: { form: {
component: 'DatePicker', component: 'DatePicker',
componentProps: { componentProps: {

Loading…
Cancel
Save