Commit 1e743850 by li.jian

修改bug和提交功能

parent 45f72f59
...@@ -92,6 +92,15 @@ export const searchFormSchema: FormSchema[] = [ ...@@ -92,6 +92,15 @@ export const searchFormSchema: FormSchema[] = [
style: { width: '100%' }, style: { width: '100%' },
}, },
}, },
// {
// field: 'createDate',
// label: '创建日期',
// defaultValue: undefined,
// component: 'InputNumber',
// componentProps: {
// style: { width: '100%' },
// },
// },
]; ];
export const columns: BasicColumn[] = [ export const columns: BasicColumn[] = [
...@@ -250,6 +259,18 @@ export const columns: BasicColumn[] = [ ...@@ -250,6 +259,18 @@ export const columns: BasicColumn[] = [
styleConfig: undefined, styleConfig: undefined,
listStyle: undefined, listStyle: undefined,
}, },
{
resizable: true,
dataIndex: 'createDate',
title: '创建时间',
componentType: 'date',
fixed: false,
sorter: true,
styleConfig: undefined,
listStyle: undefined,
},
]; ];
//表头合并配置 //表头合并配置
export const headerMergingData = []; export const headerMergingData = [];
...@@ -833,6 +854,60 @@ export const formProps: FormProps = { ...@@ -833,6 +854,60 @@ export const formProps: FormProps = {
}, },
}, },
{ {
key: '6b4803efd3bb400baa4c4b9181befec3',
field: '',
label: '',
type: 'grid',
colProps: { span: 24 },
component: 'Grid',
children: [
{
span: 8,
list: [
{
key: '7eabdfdd3ac84a028c4f01451d9e025d',
field: 'deliveryDate',
label: '到货日期',
type: 'date',
component: 'DatePicker',
colProps: { span: 24 },
defaultValue: '',
componentProps: {
span: 7,
defaultValue: '',
width: '100%',
placeholder: '请选择到货日期',
format: 'YYYY-MM-DD HH:mm:ss',
showLabel: true,
allowClear: true,
disabled: false,
required: false,
isShow: true,
rules: [],
events: {},
isGetCurrent: false,
tooltipConfig: { visible: false, title: '提示文本' },
searchType: 'time',
style: { width: '100%' },
},
},
],
},
],
componentProps: {
gutter: 0,
justify: 'start',
align: 'top',
isShow: true,
showBorder: false,
bordercolor: '#d9d9d9',
bordershowtype: [true, true, true, true],
borderwidth: 1,
padding: '10px',
margin: '10px',
},
},
{
key: '1308d5f5b70a40aaa9b5a4f895ddd280', key: '1308d5f5b70a40aaa9b5a4f895ddd280',
field: 'bz', field: 'bz',
label: '备注', label: '备注',
......
...@@ -317,6 +317,47 @@ export const formProps: FormProps = { ...@@ -317,6 +317,47 @@ export const formProps: FormProps = {
style: { width: '100%' }, style: { width: '100%' },
}, },
}, },
{
key: 'f14330d6bf5c4ea3b0d350b816f72f02',
field: 'fjfs',
label: '分解方式',
type: 'select',
component: 'XjrSelect',
colProps: { span: 24 },
componentProps: {
width: '100%',
span: 7,
placeholder: '请选择',
showLabel: true,
showSearch: false,
isMultiple: false,
clearable: false,
disabled: false,
staticOptions: [
{ key: 1, label: 'Option 1', value: 'Option 1' },
{ key: 2, label: 'Option 2', value: 'Option 2' },
{ key: 3, label: 'Option 3', value: 'Option 3' },
],
defaultSelect: null,
datasourceType: 'dic',
params: { itemId: '2032363104243056642' },
labelField: 'name',
valueField: 'value',
apiConfig: {
path: 'CodeGeneration/selection',
method: 'GET',
apiId: '93d735dcb7364a0f8102188ec4d77ac7',
},
dicOptions: [],
required: true,
rules: [],
events: {},
isShow: true,
tooltipConfig: { visible: false, title: '提示文本' },
itemId: '2032363104243056642',
style: { width: '100%' },
},
},
], ],
}, },
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment