瀏覽代碼

管理费用

caojunjie 2 年之前
父節點
當前提交
3166929aee
共有 1 個文件被更改,包括 6 次插入1 次删除
  1. 6 1
      src/views/costManagement/index.vue

+ 6 - 1
src/views/costManagement/index.vue

@@ -1349,7 +1349,12 @@ export default {
       }
       if (name === 'expenseType') {
         if (id == 0) {
-          this.contentOption = [...this.contentOption, ...this.pushList]
+          let item = this.contentOption.find(item => {
+            return item.name == "户头";
+          });
+          if (!item){
+            this.contentOption = [...this.contentOption, ...this.pushList]
+          }
           this.inDex = this.contentOption.length
         } else {
           for (let item in this.contentOption) {