回显BUG修改
This commit is contained in:
@@ -953,6 +953,7 @@ export default {
|
||||
addFormItem() {
|
||||
this.$refs.multipleTableItemRef.validate(valid => {
|
||||
if (valid) {
|
||||
console.log( this.ruleForm.multipleTableData, ' this.ruleForm.multipleTableData')
|
||||
this.multipleTableItemForm.id = Date.parse(new Date())
|
||||
var dataItem = JSON.parse(JSON.stringify(this.multipleTableItemForm))
|
||||
this.ruleForm.multipleTableData.push(dataItem)
|
||||
@@ -1246,7 +1247,7 @@ export default {
|
||||
this.form.fjListId = data.fjListId
|
||||
this.json = data
|
||||
if (typeof Array(data.table) && data.feedbackDept === '2') {
|
||||
this.ruleForm.multipleTableData = data.table
|
||||
this.ruleForm.multipleTableData = data.table || []
|
||||
}
|
||||
this.feedbackDept = this.json.feedbackDept
|
||||
}).catch(e => {
|
||||
|
||||
Reference in New Issue
Block a user