Explorar o código

Merge branch 'dev' of http://git.echepei.com/caojunjie/Smart_platform_ui into dev

QuKatie %!s(int64=3) %!d(string=hai) anos
pai
achega
2cd3454fbc
Modificáronse 1 ficheiros con 4 adicións e 1 borrados
  1. 4 1
      src/views/basicData/basicFeesDesc/index.vue

+ 4 - 1
src/views/basicData/basicFeesDesc/index.vue

@@ -126,7 +126,10 @@ export default {
     //新增修改时保存触发
     rowSave(row, done, loading) {
       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 => {
         this.page.currentPage = 1;
         this.onLoad(this.page, {parentId: 0});