浏览代码

2022.8.18 出差列表

ggooalice 2 年之前
父节点
当前提交
4c87932cd8
共有 1 个文件被更改,包括 7 次插入6 次删除
  1. 7 6
      fhKeeper/formulahousekeeper/timesheet/src/views/awayOffice/awayOffice.vue

+ 7 - 6
fhKeeper/formulahousekeeper/timesheet/src/views/awayOffice/awayOffice.vue

@@ -200,7 +200,12 @@
         <!-- 出差列表 -->
                 <el-table :data="tableList" style="width: 100%" height="90%" :loading="tableListLoading">
                     <el-table-column prop="ownerName" label="出差人员" width="100" fixed="left" align="center"></el-table-column>
-                    <el-table-column prop="reason" label="出差事由" width="150" header-align="center"></el-table-column>
+                    <!-- <el-table-column prop="reason" label="出差事由" width="150" header-align="center"></el-table-column> -->
+                    <el-table-column label="出差天数" width="120" align="center">
+                        <template slot-scope="scope">
+                            <div><span :style="scope.row.dayCount >= 10 ? 'color:#e62412' : ''">{{scope.row.dayCount}}天</span></div>
+                        </template>
+                    </el-table-column>
                     <el-table-column label="出差详情" width="600" align="center">
                         <template slot-scope="scope">
                             <div v-for="item in scope.row.projectList" :key="item.projectId" class="detailsScope">
@@ -226,11 +231,7 @@
                         <template slot-scope="scope">{{scope.row.cityFrom + '-' + scope.row.cityTo}}</template>
                     </el-table-column>
                     <el-table-column prop="indate" label="申请时间" width="150" align="center" v-if="!isDingding"></el-table-column>
-                    <el-table-column label="出差天数" width="120" align="center">
-                        <template slot-scope="scope">
-                            <div><span :style="scope.row.dayCount >= 10 ? 'color:#e62412' : ''">{{scope.row.dayCount}}天</span></div>
-                        </template>
-                    </el-table-column>
+                    
                     <el-table-column prop="startDate" label="出差开始时间" width="150"></el-table-column>
                     <el-table-column prop="endDate" label="出差结束时间" width="150"></el-table-column>
                     <el-table-column prop="status" label="状态" width="100">