소스 검색

修复bug

ZaiZai 1 년 전
부모
커밋
0bf736f1bf
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/views/project/modules/project-list.vue

+ 1 - 1
src/views/project/modules/project-list.vue

@@ -167,7 +167,7 @@
                                         <template #default="{ row, $index }">
                                             <hc-body>
                                                 <!-- <hc-table-input v-model="row.investMoney" /> -->
-                                                <el-input v-model="row.investMoney" clearable :formatter="formatInput" :disabled="!row.planInvestMoney" @change="changeInvestMoney($event, row, $index)" />
+                                                <el-input v-model="row.investMoney" clearable :formatter="formatInput" :disabled="(yearData.list[yearIndex].isCanFill === 1 ? false : true) || !row.planInvestMoney" @change="changeInvestMoney($event, row, $index)" />
                                             </hc-body>
                                         </template>
                                     </el-table-column>