From ce70bd97c7f2577f0978b39b9da1ccdd8d5b768f Mon Sep 17 00:00:00 2001
From: yangys <y_ys79@sina.com>
Date: 星期五, 19 九月 2025 22:50:14 +0800
Subject: [PATCH] 机床增加设备编号
---
src/views/flowmgr/backImport1.vue | 13 +++++++++----
1 files changed, 9 insertions(+), 4 deletions(-)
diff --git a/src/views/flowmgr/backImport1.vue b/src/views/flowmgr/backImport1.vue
index 2b68b29..c64edd9 100644
--- a/src/views/flowmgr/backImport1.vue
+++ b/src/views/flowmgr/backImport1.vue
@@ -22,8 +22,8 @@
</template> -->
</avue-form>
</el-dialog>
- <el-dialog title="鏂囦欢鍚嶇О" append-to-body v-model="fileViewModel">
- <el-table :data="tableData" border @row-click="showContent" max-height="200" highlight-current-row>
+ <el-dialog title="鏌ョ湅鏂囦欢" append-to-body v-model="fileViewModel">
+ <el-table :data="tableData" ref="filesTable" border @row-click="showContent" max-height="200" highlight-current-row>
<el-table-column type="index" label="#" width="40" align="center"/>
<el-table-column prop="name" label="绋嬪簭鍚嶇О"></el-table-column>
</el-table>
@@ -56,10 +56,10 @@
menu: true,
selection: true,
column: [
- {
+ /*{
label: '绋嬪簭缂栧彿',
prop: 'programNo'
- },
+ },*/
{
label: '绋嬪簭鍖呭悕',
prop: 'programName',
@@ -117,6 +117,11 @@
fileView(row) {
this.tableData = row.files;
this.fileViewModel = true;
+ if(this.tableData.length > 0){
+ this.showContent(this.tableData[0])
+ this.$refs.filesTable.setCurrentRow(this.tableData[0]);
+ }
+
},
selectionChange(selection) {
this.selection = selection;
--
Gitblit v1.9.3