瀏覽代碼

费用报销页面优化完成

Lijy 2 年之前
父節點
當前提交
0940b6ea33
共有 1 個文件被更改,包括 3 次插入2 次删除
  1. 3 2
      fhKeeper/formulahousekeeper/timesheet/src/views/expense/expense.vue

+ 3 - 2
fhKeeper/formulahousekeeper/timesheet/src/views/expense/expense.vue

@@ -191,7 +191,7 @@
     </div>
   </div>
   <!-- 下面部分 -->
-  <div class="xiamian" ref="xiaomian" style="width: 85%;float:right;background: #fff;position: relative;">
+  <div class="xiamian" ref="xiaomian" :style="'width: '+ (xiamianWidth - 400) +'px;float:right;background: #fff;position: relative;'">
       <div v-if="displayTable">
         <div style="padding-left:10px;padding-right:10px;">
           <div>
@@ -268,7 +268,7 @@
                   <span style="font-size:12px;">{{scope.row.denyReason}}</span>
                 </template>
               </el-table-column>
-              <el-table-column label="操作" :width="isAuditList?220:160">
+              <el-table-column fixed="right" label="操作" :width="isAuditList?220:160">
                   <template slot-scope="scope" >
                       <div v-if="!isAuditList">
                       <el-button icon="el-icon-view"  circle size="mini"  @click.stop.native="downloadByA(scope.row)" ></el-button>
@@ -538,6 +538,7 @@ export default {
 
       fileList: [],
       muHeight: document.documentElement.clientHeight || document.body.clientHeight,
+      xiamianWidth: document.documentElement.clientWidth || document.body.clientWidth,
       imgs: [],
       addFormRules: {
         ownerId: [{ required: true, message: "请选择报销人", trigger: "blur" }],