Преглед изворни кода

feat 可以选择当天日期

wzh пре 16 часа
родитељ
комит
684d255acd

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

@@ -201,7 +201,7 @@
         </view>
       </view>
     </scroll-view>
-    <u-calendar min-date="2025-07-01" max-date="2030-07-01" @close="timeShow = false" :show="timeShow" :mode="mode" @confirm="confirm"></u-calendar>
+    <u-calendar min-date="2025-07-01" max-date="2030-07-01" :allow-same-day="true" @close="timeShow = false" :show="timeShow" :mode="mode" @confirm="confirm"></u-calendar>
 
   </view>
 </template>

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

@@ -72,7 +72,7 @@
       </view>
 
     </u-popup>
-    <u-calendar min-date="2025-07-01" max-date="2030-07-01" @close="timeShow = false" :show="timeShow" :mode="mode" @confirm="confirm"></u-calendar>
+    <u-calendar min-date="2025-07-01" max-date="2030-07-01" :allow-same-day="true" @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 min-date="2025-07-01" max-date="2030-07-01" @close="timeShow = false" :show="timeShow" :mode="mode" @confirm="confirm"></u-calendar>
+    <u-calendar min-date="2025-07-01" max-date="2030-07-01" :allow-same-day="true" @close="timeShow = false" :show="timeShow" :mode="mode" @confirm="confirm"></u-calendar>
     <CustomTabbar :current="1"/>
   </view>
 

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

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

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

@@ -40,7 +40,7 @@
       </view>
     </scroll-view>
 
-    <u-calendar min-date="2025-07-01" max-date="2030-07-01" @close="timeShow = false" :show="timeShow" :mode="mode" @confirm="confirm"></u-calendar>
+    <u-calendar min-date="2025-07-01" max-date="2030-07-01" :allow-same-day="true" @close="timeShow = false" :show="timeShow" :mode="mode" @confirm="confirm"></u-calendar>
   </view>
 </template>
 

+ 2 - 2
pages/hexiao/xiaoshou/index.vue

@@ -135,7 +135,7 @@
       </view>
 
     </u-popup>
-    <u-calendar :minDate="minDate"  :monthNumber="6"  :show="timeShow" :mode="mode" @confirm="confirm" @close="timeCalendar"></u-calendar>
+    <u-calendar :minDate="minDate"  :monthNumber="6" :allow-same-day="true" :show="timeShow" :mode="mode" @confirm="confirm" @close="timeCalendar"></u-calendar>
 
   </view>
 
@@ -578,4 +578,4 @@ export default {
     font-size: 28rpx;
     color: #3B3638;
   }
-</style>
+</style>

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

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

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

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

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

@@ -167,7 +167,7 @@
       <uni-load-more :status="loadStatus"></uni-load-more>
     </scroll-view>
 
-    <u-calendar min-date="2025-07-01" max-date="2030-07-01" @close="timeShow = false" :show="timeShow" :mode="mode" @confirm="confirm"></u-calendar>
+    <u-calendar min-date="2025-07-01" max-date="2030-07-01" :allow-same-day="true" @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 min-date="2025-07-01" max-date="2030-07-01" @close="timeShow = false" :show="timeShow" :mode="mode" @confirm="confirm"></u-calendar>
+    <u-calendar min-date="2025-07-01" max-date="2030-07-01" :allow-same-day="true" @close="timeShow = false" :show="timeShow" :mode="mode" @confirm="confirm"></u-calendar>
   </view>
 </template>
 

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

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

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

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