YangYuGang
2025-03-08 1094c29e03ee0efc7121babda0532c8138aa801f
src/views/tigerprojects/system/lowcode/setting/setting.data.ts
@@ -1,7 +1,7 @@
/*
 * @Description: file content
 * @Author: Ben Lin
 * @version:
 * @version:
 * @Date: 2024-06-18 15:09:48
 * @LastEditors: Ben Lin
 * @LastEditTime: 2024-07-17 11:12:34
@@ -44,7 +44,31 @@
    label: '1',
    colSlot: 'condAdd',
    colProps: {
      span: 10,
      span: 4,
    },
  },
  {
    field: 'IsSearch',
    label: '是否查询',
    component: 'Select',
    defaultValue: 'Y',
    colProps: { span: 8 },
    componentProps: ({ schema, tableAction, formActionType, formModel }) => {
      return {
        options: [
          {
            label: '是',
            value: 'Y',
          },
          {
            label: '否',
            value: 'N',
          },
        ],
        onChange: (e) => {
        },
      };
    },
  },
];
@@ -86,10 +110,16 @@
 */
export const mainSchemas: FormSchema[] = [
  {
    field: 'CODE_NAME',
    label: '代码名称',
    component: 'Input',
    colProps: { span: 12 },
  },
  {
    field: 'MainAssemblyName',
    label: '实体类名',
    component: 'Input',
    colProps: { span: 8 },
    colProps: { span: 10 },
  },
  {
    field: '00',
@@ -101,20 +131,11 @@
    },
  },
  {
    field: '0',
    component: 'Input',
    label: '1',
    colSlot: 'mainCondAdd',
    colProps: {
      span: 2,
    },
  },
  {
    field: 'BY_ORG',
    label: '是否按组织查询',
    component: 'Select',
    defaultValue: 'N',
    colProps: { span: 4},
    colProps: { span: 7 },
    componentProps: {
      options: [
        {
@@ -133,7 +154,7 @@
    label: '是否按工厂查询',
    component: 'Select',
    defaultValue: 'N',
    colProps: { span: 4},
    colProps: { span: 7 },
    componentProps: {
      options: [
        {
@@ -152,7 +173,7 @@
    label: '是否按仓库查询',
    component: 'Select',
    defaultValue: 'N',
    colProps: { span: 4},
    colProps: { span: 7 },
    componentProps: {
      options: [
        {
@@ -166,4 +187,13 @@
      ],
    },
  },
  {
    field: '0',
    component: 'Input',
    label: '1',
    colSlot: 'mainCondAdd',
    colProps: {
      span: 3,
    },
  },
];