浏览代码

修复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>