This commit is contained in:
‘huanghaiixia’
2025-10-23 17:41:19 +08:00
parent 6f2a425ef4
commit 3df6e12184
8 changed files with 198 additions and 95 deletions

View File

@ -24,32 +24,32 @@ export const searchFormSchema: FormSchema[] = [
getPopupContainer: () => document.body,
},
},
{
field: 'code',
label: '编码',
component: 'Input',
},
{
field: 'rate',
label: '税率%',
component: 'InputNumber',
componentProps: {
style: { width: '100%' },
},
},
{
field: 'sort',
label: '显示顺序',
component: 'InputNumber',
componentProps: {
style: { width: '100%' },
},
},
{
field: 'note',
label: '备注',
component: 'Input',
},
// {
// field: 'code',
// label: '编码',
// component: 'Input',
// },
// {
// field: 'rate',
// label: '税率%',
// component: 'InputNumber',
// componentProps: {
// style: { width: '100%' },
// },
// },
// {
// field: 'sort',
// label: '显示顺序',
// component: 'InputNumber',
// componentProps: {
// style: { width: '100%' },
// },
// },
// {
// field: 'note',
// label: '备注',
// component: 'Input',
// },
];
export const columns: BasicColumn[] = [
@ -182,7 +182,7 @@ export const formProps: FormProps = {
label: '编码',
type: 'input',
component: 'Input',
colProps: { span: 24 },
colProps: { span: 8 },
defaultValue: '',
componentProps: {
width: '100%',
@ -216,7 +216,7 @@ export const formProps: FormProps = {
label: '名称',
type: 'input',
component: 'Input',
colProps: { span: 24 },
colProps: { span: 8 },
defaultValue: '',
componentProps: {
width: '100%',
@ -250,7 +250,7 @@ export const formProps: FormProps = {
label: '税率%',
type: 'number',
component: 'InputNumber',
colProps: { span: 24 },
colProps: { span: 8 },
defaultValue: null,
componentProps: {
labelWidthMode: 'fix',
@ -280,7 +280,7 @@ export const formProps: FormProps = {
label: '显示顺序',
type: 'number',
component: 'InputNumber',
colProps: { span: 24 },
colProps: { span: 8 },
defaultValue: null,
componentProps: {
labelWidthMode: 'fix',
@ -310,7 +310,7 @@ export const formProps: FormProps = {
label: '有效标志',
type: 'select',
component: 'XjrSelect',
colProps: { span: 24 },
colProps: { span: 8 },
componentProps: {
width: '100%',
span: '',