gaoluyang
2026-06-22 4ee8bafa6b4742b72628511e0b14fbfeec7737e6
src/views/qualityManagement/finalInspection/index.vue
@@ -51,7 +51,7 @@
      <el-button type="primary" @click="openQuickCheck">快速检验</el-button>
      <el-button type="primary" @click="openForm('add')">新增</el-button>
      <el-button @click="handleOut">导出</el-button>
      <el-button type="danger" plain @click="handleDelete">删除</el-button>
      <el-button type="danger" plain @click="handleDelete" v-hasPermi="['qualityManagement:finalInspection:remove']">删除</el-button>
    </div>
      <PIMTable rowKey="id"
                :column="tableColumn"
@@ -237,6 +237,22 @@
      },
    },
    {
      label: "检验规则",
      prop: "inspectRule",
      width: 100,
      formatData: (val) => val === 0 ? "全检" : val === 1 ? "抽检" : ""
    },
    {
      label: "抽检比例(%)",
      prop: "sampleRatio",
      width: 120,
    },
    {
      label: "抽检数量",
      prop: "sampleQuantity",
      width: 100,
    },
    {
      dataType: "action",
      label: "操作",
      align: "center",