gaoluyang
2026-04-07 9effd6fe741ec09c870a6a12aec394a09179c77b
src/views/productionManagement/productStructure/index.vue
@@ -1,11 +1,12 @@
<template>
  <div class="app-container">
      <div class="table_list">
    <div style="text-align: right; margin-bottom: 10px;">
            <el-button type="primary" @click="handleAdd">新增</el-button>
      <el-button type="info" plain icon="Upload" @click="handleImport"
        v-hasPermi="['product:bom:import']">导入</el-button>
      <el-button type="warning" plain icon="Download" @click="handleExport" :disabled="selectedRows.length !== 1"
        v-hasPermi="['product:bom:export']">导出</el-button>
      <el-button type="primary" @click="handleAdd">新增</el-button>
      <el-button type="danger" plain @click="handleBatchDelete" :disabled="selectedRows.length === 0">删除</el-button>
    </div>
    <PIMTable rowKey="id" :column="tableColumn" :tableData="tableData" :page="page" :isSelection="true"
@@ -15,6 +16,7 @@
        </el-button>
      </template>
    </PIMTable>
      </div>
    <StructureEdit v-if="showEdit" v-model:show-model="showEdit" :record="currentRow" />
    <!-- 新增/编辑弹窗 -->