Ben Lin
2024-06-12 47df576f3a56a657b97c6179417a2d0f80441471
src/views/tigerprojects/bas/mesWorkshop/mesWorkshop.data.ts
@@ -2,6 +2,7 @@
import { FormSchema } from '/@/components/Table';
import { h } from 'vue';
import { Tag } from 'ant-design-vue';
import { getEntity } from '/@/api/tigerapi/system';
//列表显示
export const columns: BasicColumn[] = [
  {
@@ -77,13 +78,20 @@
    component: 'Input',
    colProps: { span: 24 },
  },
  {
    field: 'FTY_CODE',
    label: '工厂编码',
    required: true,
    component: 'Input',
    colProps: { span: 24 },
  },
  // {
  //   field: 'FTY_CODE',
  //   label: '工厂编码',
  //   required: true,
  //   component: 'ApiSelect',
  //   colProps: { span: 24 },
  //   componentProps: {
  //     api: getEntity,
  //     params: { entityName: 'MES_FACTORY', sqlcmd: ' 1=1 ' },
  //     resultField: 'Data.Items',
  //     labelField: 'FTY_NAME',
  //     valueField: 'FTY_CODE',
  //   },
  // },
  {
    field: 'IS_ACTIVE',
    label: '是否启用',