Pārlūkot izejas kodu

fix 修复日历无法选择

wzh 3 mēneši atpakaļ
vecāks
revīzija
8c9a78ef42

+ 1 - 1
pages/hexiao/jxs/hexiao_record.vue

@@ -118,7 +118,7 @@
 
       <uni-load-more :status="loadStatus"></uni-load-more>
     </scroll-view>
-    <u-calendar @close="timeShow = false" :show="timeShow" :mode="mode" @confirm="confirm"></u-calendar>
+    <u-calendar min-date="2025-07-01" max-date="2030-07-01" @close="timeShow = false" :show="timeShow" :mode="mode" @confirm="confirm"></u-calendar>
 
   </view>
 </template>

+ 1 - 1
pages/hexiao/jxs/order.vue

@@ -87,7 +87,7 @@
     <view class="fixed-footer">
       <button class="add-btn" @click="addNewOrder">新增订单</button>
     </view>
-    <u-calendar @close="timeShow = false" :show="timeShow" :mode="mode" @confirm="confirm"></u-calendar>
+    <u-calendar min-date="2025-07-01" max-date="2030-07-01" @close="timeShow = false" :show="timeShow" :mode="mode" @confirm="confirm"></u-calendar>
     <CustomTabbar :current="1"/>
   </view>
 

+ 1 - 1
pages/hexiao/ywy/add_goods_record.vue

@@ -107,7 +107,7 @@
       </view>
 
     </u-popup>
-    <u-calendar @close="timeShow = false" :show="timeShow" :mode="mode" @confirm="confirm"></u-calendar>
+    <u-calendar min-date="2025-07-01" max-date="2030-07-01" @close="timeShow = false" :show="timeShow" :mode="mode" @confirm="confirm"></u-calendar>
   </view>
 </template>
 

+ 1 - 1
pages/hexiao/ywy/hexiao_record.vue

@@ -92,7 +92,7 @@
 
       <uni-load-more :status="loadStatus"></uni-load-more>
     </scroll-view>
-    <u-calendar @close="timeShow = false" :show="timeShow" :mode="mode" @confirm="confirm"></u-calendar>
+    <u-calendar min-date="2025-07-01" max-date="2030-07-01" @close="timeShow = false" :show="timeShow" :mode="mode" @confirm="confirm"></u-calendar>
 
   </view>
 </template>

+ 1 - 1
pages/hexiao/ywy/patrol_record.vue

@@ -89,7 +89,7 @@
       </view>
 
     </u-popup>
-    <u-calendar @close="timeShow = false" :show="timeShow" :mode="mode" @confirm="confirm"></u-calendar>
+    <u-calendar min-date="2025-07-01" max-date="2030-07-01" @close="timeShow = false" :show="timeShow" :mode="mode" @confirm="confirm"></u-calendar>
   </view>
 </template>