Explorar o código

2022.9.2 移动端bug,项目报表css

ggooalice %!s(int64=2) %!d(string=hai) anos
pai
achega
61ec17f846

+ 7 - 4
fhKeeper/formulahousekeeper/timesheet/src/views/corpreport/list.vue

@@ -52,7 +52,7 @@
   <div class="contents" v-if="allWrong">
     <div class="headine headConCon" ref="headine" :style="'width:'+(windowWidth - 400)+'px'">
       <h3 ref="headHe" style="padding-left: 10px;float:left;width:15%">{{shuz[ins]}}</h3>
-      <div class="headScreen" style="width:60%">
+      <div class="headScreen" style="width:70%">
       <!-- 客户项目利润表的筛选 -->
         <template v-if="ins == 4">
           <el-select v-model="customerId" placeholder="请选择客户" clearable filterable size="small" @change="selcts(4)" style="margin-right:20px">
@@ -1945,10 +1945,13 @@ export default {
 }
 .headine {
   /* width: 100%; */
-  height: 46.4px;
-  line-height: 46.4px;
+  /* height: 46.4px; */
+  /* line-height: 46.4px; */
   background: #fff;
   box-sizing: border-box;
+  display: flex;
+  justify-content: space-between;
+  align-items: center;
 }
 .headine h3 {
   margin: 0;
@@ -1967,7 +1970,7 @@ export default {
   height: 46.4px;
   justify-content: space-between;
   align-items: center;
-  padding-left: 60px;
+  /* padding-left: 60px; */
 }
 /* /费用报销标题 */
 .sidebars {

+ 2 - 2
fhKeeper/formulahousekeeper/timesheet_h5/src/views/edit/index.vue

@@ -2,7 +2,7 @@
     <div>
         <van-nav-bar title="填写日报" left-text="返回" @click-left="back" fixed left-arrow/>
 
-        <van-form class="login_form" @submit="submitReport">
+        <van-form class="login_form">
             <div>
             <van-field readonly clickable name="datetimePicker" :value="form.createDate" label="时间选择" placeholder="点击选择时间" 
             @click="showPicker = true" :rules="rules.createDate" />
@@ -283,7 +283,7 @@
             </div>  
             <div class="form_btn" style="position:fixed; bottom:0px;width:100%;">
                 <div style="padding-bottom:10px;">
-                    <van-button v-if="canEdit" square block type="info" @click="isDraft=0" native-type="submit" style="width:50%;float:left;">
+                    <van-button v-if="canEdit" square block type="info" @click="isDraft=0;submitReport()" native-type="submit" style="width:50%;float:left;">
                         <div v-if="flgLg">提交</div>
                         <van-loading type="spinner" v-if="!flgLg" />
                     </van-button>