xiaoyi
8 天以前 8b9372d6e78c68689aa8e027d1d765ad7569371a
src/views/srm/supplierCertificate/data.ts
@@ -60,7 +60,7 @@
      componentProps: { placeholder: '请输入颁发机构' },
    },
    {
      fieldName: 'issueDate',
      fieldName: 'validStartDate',
      label: '颁发日期',
      component: 'DatePicker',
      componentProps: {
@@ -71,7 +71,7 @@
      },
    },
    {
      fieldName: 'expireDate',
      fieldName: 'validEndDate',
      label: '到期日期',
      component: 'DatePicker',
      componentProps: {
@@ -81,6 +81,19 @@
        valueFormat: 'YYYY-MM-DD',
      },
      rules: 'required',
    },
    {
      fieldName: 'blobIds',
      label: '证书附件',
      component: 'FileUpload',
      componentProps: {
        valueKey: 'id',
        maxNumber: 10,
        multiple: true,
        accept: ['jpg', 'jpeg', 'png', 'pdf', 'doc', 'docx'],
        helpText: '支持jpg、jpeg、png、pdf、doc、docx格式,单个文件不超过2MB',
      },
      formItemClass: 'md:col-span-2',
    },
    {
      fieldName: 'remark',
@@ -140,10 +153,17 @@
      cellRender: { name: 'CellTag', props: CERTIFICATE_TYPE_CELLTAG },
    },
    { field: 'issuingAuthority', title: '颁发机构', minWidth: 120 },
    { field: 'issueDate', title: '颁发日期', minWidth: 120 },
    { field: 'expireDate', title: '到期日期', minWidth: 120 },
    { field: 'validStartDate', title: '颁发日期', minWidth: 120 },
    { field: 'validEndDate', title: '到期日期', minWidth: 120 },
    { field: 'createTime', title: '创建时间', minWidth: 160 },
    {
      field: 'attachmentList',
      title: '附件',
      minWidth: 100,
      fixed: 'right',
      slots: { default: 'attachment' },
    },
    {
      title: '操作',
      width: 130,
      fixed: 'right',