Explorar o código

提交请假管理失效的问题

Lijy hai 2 meses
pai
achega
b6e9675fe8

+ 1 - 1
fhKeeper/formulahousekeeper/timesheet/src/views/leave/list.vue

@@ -317,7 +317,7 @@
                 </el-table-column>
                 <el-table-column label="相关凭证" min-width="200">
                   <template slot-scope="scope">
-                    <el-button type="primary" size="mini" v-if="scope.row.fileUrlsList.length && scope.row.fileUrlsList[0].name" @click="clickToViewTheImage(scope.row.fileUrlsList)">点击查看</el-button>
+                    <el-button type="primary" size="mini" v-if="scope.row.fileUrlsList && scope.row.fileUrlsList.length && scope.row.fileUrlsList[0].name" @click="clickToViewTheImage(scope.row.fileUrlsList)">点击查看</el-button>
                   </template>
                 </el-table-column>
                 <el-table-column :label="$t('operation')" min-width="180" fixed="right" v-if="isAuditList && !isSyncData">