src/views/mes/dv/machinery/data.ts
@@ -15,7 +15,7 @@
import { z } from '#/adapter/form';
import { generateAutoCode } from '#/api/mes/md/autocode/record';
import { MdWorkshopSelect, MdWorkstationSelect } from '#/views/mes/md/workstation/components';
import { MdWorkshopSelect } from '#/views/mes/md/workstation/components';
import { DvMachineryTypeSelect } from './type/components';
@@ -120,7 +120,7 @@
        class: '!w-full',
        min: 0,
        precision: 2,
        placeholder: '请输入生产效率(每分钟)',
        placeholder: '请输入生产效率(每小时)',
      },
    },
    {
@@ -134,14 +134,6 @@
        placeholder: '请输入传送履带数量',
      },
      help: '2代表双倍效率',
    },
    {
      fieldName: 'workstationId',
      label: '工作站',
      component: markRaw(MdWorkstationSelect),
      componentProps: {
        placeholder: '请选择工作站',
      },
    },
    {
      fieldName: 'specification',
@@ -236,15 +228,6 @@
        placeholder: '请选择设备状态',
      },
    },
    {
      fieldName: 'workstationId',
      label: '工作站',
      component: markRaw(MdWorkstationSelect),
      componentProps: {
        allowClear: true,
        placeholder: '请选择工作站',
      },
    },
  ];
}
@@ -273,9 +256,8 @@
        props: { type: DICT_TYPE.MES_DV_MACHINERY_STATUS },
      },
    },
    { field: 'productionEfficiency', title: '生产效率', width: 120 },
    { field: 'productionEfficiency', title: '生产效率(/h)', width: 120 },
    { field: 'conveyorBelt', title: '传送履带', width: 100 },
    { field: 'workstationName', title: '工作站', minWidth: 140 },
    {
      field: 'lastCheckTime',
      title: '最近点检时间',