云
2026-09-17 0558f330f7e3781b91d00ed4a12e60d9fa469d87
src/views/mes/qc/template/data.ts
@@ -91,6 +91,15 @@
      rules: z.array(z.number()).min(1, '检测种类不能为空'),
    },
    {
      fieldName: 'defaultExecuteStandard',
      label: '默认执行标准',
      component: 'Input',
      componentProps: {
        maxlength: 50,
        placeholder: '如 GB/T 6027,新建检验单选择本方案后自动带入执行标准',
      },
    },
    {
      fieldName: 'remark',
      label: '备注',
      component: 'Textarea',
@@ -249,6 +258,17 @@
      width: 100,
    },
    {
      field: 'sortOrder',
      title: '排序号',
      width: 80,
    },
    {
      field: 'judgeFlag',
      title: '参与判定',
      width: 90,
      slots: { default: 'judgeFlag' },
    },
    {
      title: '操作',
      width: 130,
      fixed: 'right',
@@ -336,6 +356,29 @@
      },
    },
    {
      fieldName: 'sortOrder',
      label: '排序号',
      component: 'InputNumber',
      defaultValue: 0,
      componentProps: {
        class: '!w-full',
        min: 0,
        precision: 0,
        placeholder: '方案内展示顺序,小的在前',
      },
    },
    {
      fieldName: 'judgeFlag',
      label: '参与判定',
      component: 'Switch',
      defaultValue: true,
      componentProps: {
        checkedChildren: '是',
        unCheckedChildren: '否',
      },
      help: '分组行/中间参数行设为否,仅最终结果项参与合格判定提示',
    },
    {
      fieldName: 'remark',
      label: '备注',
      component: 'Textarea',