| | |
| | | </div> |
| | | |
| | | <div class="operation-bar"> |
| | | <el-button type="primary" @click="handleAdd">新增配项</el-button> |
| | | <el-button type="success" @click="handleAddBatch">新增加工</el-button> |
| | | <el-button type="warning">修改</el-button> |
| | | <el-button type="danger">删除</el-button> |
| | | <el-button type="info">导出</el-button> |
| | | <!-- <el-button type="primary" @click="handleAdd">新增配项</el-button> --> |
| | | <el-button type="success" :icon="Plus" @click="handleAddBatch">新增加工</el-button> |
| | | <el-button type="danger" :icon="Delete">删除</el-button> |
| | | <el-button type="info" :icon="Download">导出</el-button> |
| | | </div> |
| | | |
| | | <el-table :data="tableData" border style="width: 100%" @selection-change="handleSelectionChange"> |
| | |
| | | </div> |
| | | |
| | | <!-- 弹窗组件 --> |
| | | <ProductionDialog-dialog |
| | | <ProductionDialog |
| | | v-model:visible="dialogVisible" |
| | | :type="dialogType" |
| | | :row-data="currentRow" |
| | |
| | | <script setup> |
| | | import { ref, reactive, onMounted } from 'vue' |
| | | import { ElMessage, ElMessageBox } from 'element-plus' |
| | | import { getProductionList, addProduction, updateProduction, deleteProduction, exportProduction } from '@/api/production' |
| | | import { Plus, Delete, Download } from "@element-plus/icons-vue"; |
| | | import ProductionDialog from './components/ProductionDialog.vue' |
| | | |
| | | // 搜索表单数据 |