Browse Source

纸质归档驳回后无法修改问题

lizhenhao 2 years atrás
parent
commit
3fa691de1a
1 changed files with 3 additions and 3 deletions
  1. 3 3
      src/views/modules/cw/workContract/ContractFilePaperForm.vue

+ 3 - 3
src/views/modules/cw/workContract/ContractFilePaperForm.vue

@@ -1,6 +1,6 @@
 <template>
   <div>
-    <el-form size="middle" :model="inputForm" ref="inputForm" v-loading="loading" :class="method==='view'?'readonly':''"  :disabled="formReadOnly"
+    <el-form size="middle" :model="inputForm" ref="inputForm" v-loading="loading" :class="method==='view'?'readonly':''"  :disabled="status === 'audit' || status === 'taskFormDetail'"
              label-width="150px">
 
       <el-divider v-if="formReadOnly && commonJS.isNotEmpty(inputForm.customerId)" content-position="left">
@@ -278,7 +278,7 @@
             </el-button>
           </el-row>
           <el-row  :gutter="15">
-            <el-form :disabled="method === 'view'">
+            <el-form :disabled="true">
               <vxe-table
                 border
                 show-overflow
@@ -621,7 +621,7 @@
               })
             }
             this.inputForm.contractFees = f
-            if (this.formReadOnly) {
+            if (this.status === 'audit' || this.status === 'taskFormDetail') {
               method = 'view'
             }
             // console.log('data', data)