gaoluyang
6 天以前 eca5924030894adc81661f0784b87a95fe702d2f
src/views/procurementManagement/qualityInspection/index.vue
@@ -23,7 +23,7 @@
      <div class="table-header">
        <el-button type="primary" @click="openDialog('add')">新增质检单</el-button>
        <el-button type="success" @click="handleBatchComplete">批量完成</el-button>
        <el-button type="danger" @click="handleBatchDelete">批量删除</el-button>
        <el-button type="danger" @click="handleBatchDelete" v-hasPermi="['procurementManagement:qualityInspection:remove']">批量删除</el-button>
      </div>
      <el-table :data="tableData" border v-loading="loading" @selection-change="handleSelectionChange">
@@ -43,7 +43,7 @@
          <template #default="{ row }">
            <el-button type="primary" link @click="openDialog('edit', row)">编辑</el-button>
            <el-button type="success" link @click="handleComplete(row)" v-if="row.status !== 'completed'">完成</el-button>
            <el-button type="danger" link @click="handleDelete(row)">删除</el-button>
            <el-button type="danger" link @click="handleDelete(row)" v-hasPermi="['procurementManagement:qualityInspection:remove']">删除</el-button>
          </template>
        </el-table-column>
      </el-table>