车间能级提升-智能设备管理系统
朱桂飞
2025-02-19 f9a12ecb4ea4b7b103b50634335704140237fef7
eims-ui/apps/web-antd/src/views/eims/fixture/data.tsx
@@ -27,6 +27,14 @@
    label: '工具状态'
  },
  {
    component: 'Select',
    componentProps: {
      options: getDictOptions(DictEnum.FIXTURE_BORROW_STATUS)
    },
    fieldName: 'borrowStatus',
    label: '借用状态'
  },
  {
    component: 'Input',
    fieldName: 'assetNo',
    label: '资产编号'
@@ -101,6 +109,21 @@
    fixed: 'left'
  },
  {
    title: '借用状态',
    field: 'borrowStatus',
    sortable: true,
    slots: {
      default: ({ row }) => {
        if (row.borrowStatus === null || row.borrowStatus === '') {
          return '';
        }
        return renderDict(row.borrowStatus, DictEnum.FIXTURE_BORROW_STATUS);
      }
    },
    minWidth: 100,
    fixed: 'left'
  },
  {
    title: '类型',
    field: 'fixtureTypeName',
    minWidth: 100
@@ -112,6 +135,11 @@
    minWidth: 140
  },
  {
    title: '借用人',
    field: 'borrowUserName',
    minWidth: 100
  },
  {
    title: '工具编码',
    field: 'fixtureCode',
    sortable: true,