| | |
| | | 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[] = [ |
| | | { |
| | |
| | | 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: '是否启用', |