Selaa lähdekoodia

修改一些错误 添加按钮权限

qukaidi 4 vuotta sitten
vanhempi
commit
5143fd13a6
1 muutettua tiedostoa jossa 4 lisäystä ja 2 poistoa
  1. 4 2
      src/views/track/cabinet/AddOrUpdate.vue

+ 4 - 2
src/views/track/cabinet/AddOrUpdate.vue

@@ -654,6 +654,7 @@
                   icon="el-icon-plus"
                   size="mini"
                   @click="addRelevt4"
+                  v-hasPermi="['fleet:vehicleStatus:edit']"
                   >添加费用</el-button
                 >
                 <el-button
@@ -661,6 +662,7 @@
                   icon="el-icon-plus"
                   size="mini"
                   @click="addRelevt2"
+                  v-hasPermi="['fleet:vehicleStatus:edit']"
                   >导入费用</el-button
                 >
               </div>
@@ -1123,7 +1125,7 @@ export default {
     },
     feesList: {
       type: Array,
-      default: [],
+      default:() => [],
     },
     allfMblnoOptions: {
       type: Array,
@@ -1212,7 +1214,7 @@ export default {
   methods: {
     // 新增附件上传
     addRelevt4() {
-      this.feesList.push({
+      this.chiFeesList.push({
         actId: "1090",
         fCorpid: this.form.fCorpId,
         fFeeid: "",