zouyu
7 天以前 8a4e96f11329efda507799260b6b95ae9860df5f
src/views/qualityManagement/rawMaterialInspection/index.vue
@@ -141,17 +141,17 @@
      }
    },
  },
  {
    label: "提交状态",
    prop: "inspectState",
    formatData: (params) => {
      if (params) {
        return "已提交";
      } else {
        return "未提交";
      }
    },
  },
  // {
  //   label: "提交状态",
  //   prop: "inspectState",
  //   formatData: (params) => {
  //     if (params) {
  //       return "已提交";
  //     } else {
  //       return "未提交";
  //     }
  //   },
  // },
  {
    dataType: "action",
    label: "操作",
@@ -176,16 +176,16 @@
          openFilesFormDia(row);
        },
      },
      {
        name: "提交",
        type: "text",
        clickFun: (row) => {
          submit(row.id);
        },
            disabled: (row) => {
               return row.inspectState == 1;
            }
      },
      // {
      //   name: "提交",
      //   type: "text",
      //   clickFun: (row) => {
      //     submit(row.id);
      //   },
         //    disabled: (row) => {
         //       return row.inspectState == 1;
         //    }
      // },
      {
        name: "分配检验员",
        type: "text",