gaoluyang
2 天以前 b64a0deae5b5d33f9e20671a68936b27f0b9b00b
src/views/mes/process-design/template/modules/parameter-select-dialog.vue
@@ -4,7 +4,7 @@
import { nextTick, ref } from 'vue';
import { DICT_TYPE } from '../../../../../packages/constants/src';
import { DICT_TYPE } from '@vben/constants';
import { Button, message, Modal } from 'ant-design-vue';
@@ -57,7 +57,7 @@
  formOptions: {
    schema: [
      {
        fieldName: 'code',
        fieldName: 'paramCode',
        label: '参数编码',
        component: 'Input',
        componentProps: {
@@ -66,7 +66,7 @@
        },
      },
      {
        fieldName: 'name',
        fieldName: 'paramName',
        label: '参数名称',
        component: 'Input',
        componentProps: {
@@ -79,10 +79,10 @@
  gridOptions: {
    columns: [
      { type: 'checkbox', width: 50 },
      { field: 'code', title: '参数编码', minWidth: 150 },
      { field: 'name', title: '参数名称', minWidth: 180 },
      { field: 'paramCode', title: '参数编码', minWidth: 150 },
      { field: 'paramName', title: '参数名称', minWidth: 180 },
      {
        field: 'type',
        field: 'paramType',
        title: '参数类型',
        width: 120,
        cellRender: {
@@ -90,9 +90,9 @@
          props: { type: DICT_TYPE.MES_PD_PARAM_TYPE },
        },
      },
      { field: 'unit', title: '单位', width: 80 },
      { field: 'unitMeasureName', title: '单位', width: 80 },
      {
        field: 'requiredFlag',
        field: 'required',
        title: '是否必填',
        width: 90,
        cellRender: {