|
@@ -496,8 +496,8 @@ export default {
|
|
|
const checkCol = (col) => col.required && !this.checkData(col) && (res = col.valid = false)
|
|
|
this.tableFormData.forEach((row) => row.forEach(checkCol))
|
|
|
// 将新增数据过滤出来返回给主表
|
|
|
- let filterData = this.filterAddData(this.tableFormData)
|
|
|
- return res ? filterData.map((row) => row.reduce((p, c) => ((p[c.__vModel__] = c.value), p), {})) : false
|
|
|
+ // let filterData = this.filterAddData(this.tableFormData)
|
|
|
+ return res ? this.tableFormData.map((row) => row.reduce((p, c) => ((p[c.__vModel__] = c.value), p), {})) : false
|
|
|
},
|
|
|
/**
|
|
|
* 校验表格数据必填项
|