| | |
| | | }, |
| | | ]; |
| | | |
| | | export const prodCfgformSchema: FormSchema[] = [ |
| | | { |
| | | field: 'field4', |
| | | component: 'Input', |
| | | label: '字段1', |
| | | required: true, |
| | | colProps: { |
| | | span: 8, |
| | | }, |
| | | componentProps: { |
| | | placeholder: '自定义placeholder', |
| | | onChange: (e: any) => { |
| | | console.log(e); |
| | | }, |
| | | }, |
| | | }, |
| | | { |
| | | field: 'field5', |
| | | component: 'Input', |
| | | label: '字段2', |
| | | colProps: { |
| | | span: 8, |
| | | }, |
| | | }, |
| | | { |
| | | field: 'field6', |
| | | component: 'DatePicker', |
| | | label: '字段3', |
| | | colProps: { |
| | | span: 8, |
| | | }, |
| | | }, |
| | | { |
| | | field: 'field7', |
| | | component: 'Input', |
| | | label: '字段4', |
| | | colProps: { |
| | | span: 8, |
| | | }, |
| | | componentProps: { |
| | | placeholder: '自定义placeholder', |
| | | onChange: (e: any) => { |
| | | console.log(e); |
| | | }, |
| | | }, |
| | | }, |
| | | { |
| | | field: 'field8', |
| | | component: 'Input', |
| | | label: '字段5', |
| | | colProps: { |
| | | span: 8, |
| | | }, |
| | | }, |
| | | { |
| | | field: 'field9', |
| | | component: 'DatePicker', |
| | | label: '字段6', |
| | | colProps: { |
| | | span: 8, |
| | | }, |
| | | }, |
| | | ]; |
| | | |
| | | export const xxCfgformSchema: FormSchema[] = [ |
| | | { |
| | | field: 'field10', |
| | | component: 'Input', |
| | | label: '字段1', |
| | | colProps: { |
| | | span: 8, |
| | | }, |
| | | componentProps: { |
| | | placeholder: '自定义placeholder', |
| | | onChange: (e: any) => { |
| | | console.log(e); |
| | | }, |
| | | }, |
| | | }, |
| | | { |
| | | field: 'field11', |
| | | component: 'Input', |
| | | label: '字段2', |
| | | colProps: { |
| | | span: 8, |
| | | }, |
| | | }, |
| | | { |
| | | field: 'field12', |
| | | component: 'DatePicker', |
| | | label: '字段3', |
| | | colProps: { |
| | | span: 8, |
| | | }, |
| | | }, |
| | | ]; |
| | | |
| | | export const woformSchema: FormSchema[] = [ |
| | | { |
| | | field: 'PLAN_QTY', |
| | |
| | | { |
| | | field: 'fieldsc', |
| | | component: 'Upload', |
| | | label: '上传打印模板', |
| | | label: '打印模板', |
| | | colProps: { |
| | | span: 10, |
| | | }, |