Przeglądaj źródła

修改领料单显示bug

695593266@qq.com 3 miesięcy temu
rodzic
commit
3149a6746e
1 zmienionych plików z 7 dodań i 10 usunięć
  1. 7 10
      pages/pda/picking/bill/index.vue

+ 7 - 10
pages/pda/picking/bill/index.vue

@@ -62,7 +62,8 @@
         @scrolltolower="scrolltolower"
         key="dataList-catch"
         v-if="status == 1"
-        style="padding-bottom: 300rpx"
+        height="auto"
+        style="padding-bottom: 10rpx"
       >
         <view v-if="item.type == 2">
           <view
@@ -103,7 +104,8 @@
         @scrolltolower="scrolltolower"
         key="dataList2"
         v-if="status == 2"
-        style="padding-bottom: 300rpx"
+        height="auto"
+        style="padding-bottom: 10rpx"
       >
         <view v-if="item.type == 1">
           <view
@@ -276,20 +278,15 @@ export default {
 
 <style lang="scss" scoped>
 .content-box {
-  height: 100vh;
-  overflow: hidden;
+  /* 让页面按内容自然撑开,避免内部列表被压缩 */
+  min-height: 100vh;
   display: flex;
   flex-direction: column;
 }
 
 .list_box {
-  flex: 1;
-  overflow: hidden;
+  /* 不再参与 flex 等分高度,每个单据块按内容自适应 */
   padding: 16rpx 0;
-
-  .u-list {
-    height: 100% !important;
-  }
 }
 
 .bottom-wrapper {