| | |
| | | <!-- |
| | | * @Date: 2025-06-17 11:44:52 |
| | | * @LastEditors: gaoshp |
| | | * @LastEditTime: 2025-07-08 20:06:11 |
| | | * @LastEditTime: 2025-08-06 20:34:14 |
| | | * @FilePath: /mdmweb/src/views/basesetting/produceplan.vue |
| | | --> |
| | | <template> |
| | |
| | | @size-change="sizeChange" @refresh-change="refreshChange" @on-load="onLoad" @row-del="rowDel" |
| | | @row-save="save" |
| | | @row-update="rowUpdate"> |
| | | |
| | | <template #menu-left> |
| | | <el-button type="primary" plain @click="importAction">导入 |
| | | </el-button> |
| | | <el-button type="primary" plain @click="downTemplateAction">下载导入模板 |
| | | </el-button> |
| | | </template> |
| | | <!-- <template #menu="scope"> |
| | |
| | | // Logic for importing data |
| | | this.$message.success('导入功能尚未实现'); |
| | | }, |
| | | downTemplateAction() { |
| | | // Logic for importing data |
| | | this.$message.success('模板功能尚未实现'); |
| | | }, |
| | | rowDel(row) { |
| | | this.$confirm('确定将选择数据删除?', { |
| | | confirmButtonText: '确定', |
| | |
| | | (res) => { |
| | | if(res.data.code !== 200) { |
| | | this.$message.error(res.data.msg); |
| | | loading() |
| | | //done();//关闭窗口 |
| | | return; |
| | | } |