gaoluyang
6 天以前 d841a8ea6dc2f7fdedbf0ea2b1e539842f5f3e37
src/views/mes/qc/oqc/data.ts
@@ -202,7 +202,6 @@
          }
        },
      },
      rules: 'required',
      dependencies: {
        triggerFields: ['sourceDocId'],
        componentProps: (values) => ({
@@ -285,7 +284,6 @@
        placeholder: '请选择出货日期',
        valueFormat: 'YYYY-MM-DD',
      },
      rules: 'required',
    },
    {
      fieldName: 'inspectDate',
@@ -355,9 +353,10 @@
      component: 'Select',
      componentProps: {
        allowClear: true,
        options: getDictOptions(DICT_TYPE.MES_QC_CHECK_RESULT, 'number'),
        options: getDictOptions(DICT_TYPE.MES_OQC_CHECK_RESULT, 'number'),
        placeholder: '请选择检测结果',
      },
      rules: 'selectRequired',
    },
    {
      fieldName: 'remark',
@@ -415,7 +414,7 @@
      component: 'Select',
      componentProps: {
        allowClear: true,
        options: getDictOptions(DICT_TYPE.MES_QC_CHECK_RESULT, 'number'),
        options: getDictOptions(DICT_TYPE.MES_OQC_CHECK_RESULT, 'number'),
        placeholder: '请选择检测结果',
      },
    },
@@ -445,16 +444,6 @@
      minWidth: 180,
    },
    {
      field: 'clientNickname',
      title: '客户名称',
      width: 120,
    },
    {
      field: 'batchCode',
      title: '批次号',
      width: 130,
    },
    {
      field: 'itemCode',
      title: '产品物料编码',
      width: 130,
@@ -475,11 +464,6 @@
      width: 80,
    },
    {
      field: 'outQuantity',
      title: '发货数量',
      width: 100,
    },
    {
      field: 'checkQuantity',
      title: '检测数量',
      width: 100,
@@ -495,14 +479,8 @@
      width: 110,
      cellRender: {
        name: 'CellDict',
        props: { type: DICT_TYPE.MES_QC_CHECK_RESULT },
        props: { type: DICT_TYPE.MES_OQC_CHECK_RESULT },
      },
    },
    {
      field: 'outDate',
      title: '出货日期',
      width: 120,
      formatter: 'formatDate',
    },
    {
      field: 'inspectDate',
@@ -516,6 +494,16 @@
      width: 100,
    },
    {
      field: 'auditNickname',
      title: '复核人',
      width: 100,
    },
    {
      field: 'approveNickname',
      title: '审核人',
      width: 100,
    },
    {
      field: 'status',
      title: '单据状态',
      width: 100,
@@ -526,7 +514,7 @@
    },
    {
      title: '操作',
      width: 220,
      width: 420,
      fixed: 'right',
      slots: { default: 'actions' },
    },