|
@@ -2597,15 +2597,13 @@ export default {
|
|
|
this.handleTableInfo(this.inputForm.sourceType)
|
|
this.handleTableInfo(this.inputForm.sourceType)
|
|
|
await this.tableRef.clearEdit()
|
|
await this.tableRef.clearEdit()
|
|
|
let tempIndex = this.tableRef.getRowExpandRecords().findIndex(item => {
|
|
let tempIndex = this.tableRef.getRowExpandRecords().findIndex(item => {
|
|
|
- return row.id == item.id
|
|
|
|
|
|
|
+ return row.uniqueId == item.uniqueId
|
|
|
})
|
|
})
|
|
|
if (tempIndex == -1) {
|
|
if (tempIndex == -1) {
|
|
|
this.tableRef.setRowExpand(this.tableData[index], true)
|
|
this.tableRef.setRowExpand(this.tableData[index], true)
|
|
|
-
|
|
|
|
|
}
|
|
}
|
|
|
setTimeout(() => {
|
|
setTimeout(() => {
|
|
|
this.$refs[row.uniqueId + "Upload"].$el.querySelector('.upload-btn').click();
|
|
this.$refs[row.uniqueId + "Upload"].$el.querySelector('.upload-btn').click();
|
|
|
-
|
|
|
|
|
}, 100)
|
|
}, 100)
|
|
|
|
|
|
|
|
},
|
|
},
|