sunyanqiang 2 năm trước cách đây
mục cha
commit
477bf0bf96
1 tập tin đã thay đổi với 8 bổ sung2 xóa
  1. 8 2
      src/views/bdglregular/regularinfo/index.vue

+ 8 - 2
src/views/bdglregular/regularinfo/index.vue

@@ -939,8 +939,8 @@
         <el-form-item label prop="pictureProof" v-if="jiannum != 0">
           <imageUpload v-model="form.pictureProof" :limit="1" />
         </el-form-item>
-        <div class="jiben" v-if="jiannum != 0">文件举证</div>
-        <el-form-item label prop="documentProof" v-if="jiannum != 0">
+        <div class="jiben" v-if="jiannum != 0&&wenName==1">文件举证</div>
+        <el-form-item label prop="documentProof" v-if="jiannum != 0&&wenName==1">
           <!-- <fileUpload
             v-model="form.documentProof"
             :limit="1"
@@ -1142,6 +1142,7 @@ export default {
       url: process.env.VUE_APP_BASE_API,
       statelist: ["未通过", "待处理", "待验收", "已通过", "已逾期"],
       restdata: false,
+      wenNam:null
     };
   },
   created() {
@@ -1418,6 +1419,11 @@ export default {
       getRegularinfo(id).then((response) => {
         this.disabled = true;
         this.form = response.data;
+        if(response.data.wenjianname){
+          this.wenName=1
+        }else{
+          this.wenName=0
+        }
         this.open3 = true;
         this.title = "修改经常性检查";
         this.jiannum = 1;