gaoluyang
10 天以前 2c7bb17c8337f237b8e9ac02d404a6ec90123bae
src/views/qualityManagement/rawMaterialInspection/index.vue
@@ -160,7 +160,7 @@
    label: "操作",
    align: "center",
    fixed: "right",
    width: 250,
    width: 280,
    operation: [
      {
        name: "编辑",
@@ -168,9 +168,9 @@
        clickFun: (row) => {
          openForm("edit", row);
        },
        disabled: (row) => {
          return row.inspectState;
        }
            disabled: (row) => {
               return row.inspectState == 1;
            }
      },
      {
        name: "附件",
@@ -185,6 +185,9 @@
        clickFun: (row) => {
          submit(row.id);
        },
            disabled: (row) => {
               return row.inspectState == 1;
            }
      },
      {
        name: "分配检验员",
@@ -269,12 +272,6 @@
const openForm = (type, row) => {
  nextTick(() => {
    formDia.value?.openDialog(type, row)
  })
};
// 打开新增检验弹框
const openInspectionForm = (type, row) => {
  nextTick(() => {
    inspectionFormDia.value?.openDialog(type, row)
  })
};
// 打开附件弹框
@@ -368,7 +365,7 @@
    const link = document.createElement('a')
    link.href = downloadUrl
    link.download = '检验报告.docx'
    link.download = '原材料检验报告.docx'
    document.body.appendChild(link)
    link.click()