Browse Source

修改湾办录入权限

liusungtsun 1 year ago
parent
commit
a05280a4f0
1 changed files with 7 additions and 2 deletions
  1. 7 2
      src/views/GATHER/index.vue

+ 7 - 2
src/views/GATHER/index.vue

@@ -295,7 +295,7 @@
 
           <template
             v-if="scope.row.reportStatus == 1
-             && checkPermi(['gather:GATHER:adminedit'])"
+             && checkPermi(['gather:GATHER:admin'])"
           >
             <el-button
               style="margin: 0 2px"
@@ -1520,9 +1520,13 @@ export default {
       // 验证表单
       let p = [];
       if(type == 'draft') {
+        this.form.feeLists.map((item, index) => {
+          this.$refs["form" + item.normfeeId][0].clearValidate();
+        })
         this.form.collStatus = 2;
         msg = "操作成功";
-        addGATHER(this.form).then((response) => {
+        this.$nextTick(() => {
+          addGATHER(this.form).then((response) => {
               if (response.code == 200) {
                 this.$modal.msgSuccess(msg);
                 this.getList();
@@ -1531,6 +1535,7 @@ export default {
                 compute(this.form).then((response) => {});
               }
             });
+        })
         return
       }else {
         p = this.form.feeLists.map((item, index) => {