Commit 148c294f by 宋春膨

feat(bhgpcl): 添加来源单据字段配置

- 在表单配置中新增 lydjlx 字段,用于记录来源单据信息
- 在表格列配置中添加 lydjlx 列,支持排序和调整大小功能
- 将详情表单项的跨度从 8 调整为 16,优化布局显示
- 新增来源单据输入组件的完整配置,包括样式和验证规则
parent edda055c
......@@ -40,6 +40,12 @@ export const searchFormSchema: FormSchema[] = [
},
},
{
field: 'lydjlx',
label: '来源单据',
defaultValue: undefined,
component: 'Input',
},
{
field: 'sszz',
label: '所属组织',
defaultValue: undefined,
......@@ -141,6 +147,18 @@ export const columns: BasicColumn[] = [
styleConfig: undefined,
listStyle: undefined,
},
{
resizable: true,
dataIndex: 'lydjlx',
title: '来源单据',
componentType: 'input',
fixed: false,
sorter: true,
styleConfig: undefined,
listStyle: '',
},
];
//表头合并配置
export const headerMergingData = [];
......@@ -404,7 +422,7 @@ export const formProps: FormProps = {
],
},
{
span: 8,
span: 16,
list: [
{
key: 'lkajsldjaljdla',
......@@ -454,6 +472,39 @@ export const formProps: FormProps = {
style: { width: '100%' },
},
},
{
key: 'f5a618c2a6a94e26b4db4b5d6820f344',
field: 'lydjlx',
label: '来源单据',
type: 'input',
component: 'Input',
colProps: { span: 24 },
defaultValue: '',
componentProps: {
width: '100%',
span: 4,
defaultValue: '',
placeholder: '',
prefix: '',
suffix: '',
addonBefore: '',
addonAfter: '',
disabled: false,
allowClear: false,
showLabel: true,
required: false,
rules: [],
events: {},
listStyle: '',
isSave: false,
isShow: true,
scan: false,
bordered: true,
isShowAi: false,
tooltipConfig: { visible: false, title: '提示文本' },
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