This commit is contained in:
parent
47a08bbf6b
commit
9ebc094769
|
|
@ -237,7 +237,7 @@
|
|||
text: '评价',
|
||||
type: 'button'
|
||||
});
|
||||
// let fileList = []
|
||||
let fileList = []
|
||||
let uploadDom = {}
|
||||
|
||||
// 将自定义元素插入到最后一个单元格
|
||||
|
|
@ -248,7 +248,7 @@
|
|||
event.preventDefault()
|
||||
|
||||
// 组装dom
|
||||
let formHtml = `<div class="dialog-title">${tableList[rowIndex].proName}</div>`
|
||||
let formHtml = `<div class="dialog-title">${tableRowList[rowIndex].proName}</div>`
|
||||
let innerHtml = ''
|
||||
let rowIndex = $(this).closest('tr').data('index')
|
||||
const curRows = tableRowList[rowIndex]
|
||||
|
|
@ -340,7 +340,7 @@
|
|||
formData[dataId] = inputValue * 1 // 将 data-id 作为键,输入框的值作为值
|
||||
}
|
||||
})
|
||||
const currentRows = tableList[rowIndex]
|
||||
const currentRows = tableRowList[rowIndex]
|
||||
Object.assign(currentRows, formData)
|
||||
|
||||
currentRows.fileList = fileList
|
||||
|
|
|
|||
Loading…
Reference in New Issue