|
@@ -126,7 +126,10 @@ export default {
|
|
//新增修改时保存触发
|
|
//新增修改时保存触发
|
|
rowSave(row, done, loading) {
|
|
rowSave(row, done, loading) {
|
|
console.log(row)
|
|
console.log(row)
|
|
- row.feesTypeId = row.feesTypeId.join(',')
|
|
|
|
|
|
+ let type = typeof(row.feesTypeId)
|
|
|
|
+ if (type == 'object') {
|
|
|
|
+ row.feesTypeId = row.feesTypeId.join(',')
|
|
|
|
+ }
|
|
typeSave(row).then(res => {
|
|
typeSave(row).then(res => {
|
|
this.page.currentPage = 1;
|
|
this.page.currentPage = 1;
|
|
this.onLoad(this.page, {parentId: 0});
|
|
this.onLoad(this.page, {parentId: 0});
|