Browse Source

湾办录入

gks 1 year ago
parent
commit
d099be706d
1 changed files with 4 additions and 1 deletions
  1. 4 1
      src/views/norm/quotaBonded.vue

+ 4 - 1
src/views/norm/quotaBonded.vue

@@ -90,7 +90,7 @@
             checkPermi(['gather:QUOTABONDED:report'])
             " size="mini" type="text" icon="el-icon-check" @click="handleReport(scope.row)">上报</el-button>
 
-          <el-button v-if="scope.row.reportStatus == 1 && user.roleId == 10
+          <el-button v-if="scope.row.reportStatus == 1 && user.roleId == 10 && scope.row.type == null
             " size="mini" type="text" @click="handleTypein(scope.row)">录入</el-button>
 
           <el-button v-if="(scope.row.auditStatus == 0 || scope.row.auditStatus == null) &&
@@ -586,6 +586,9 @@ export default {
             this.$message.error("数值必须为整数或小数");
             return;
           }*/
+          if(this.user.roleId == 10 ) {
+            this.form.type = 1;
+          }
           if (this.form.id != null) {
             if (this.form.enterType == "附件") {
               if (this.fileList.length < 1) {