From 2359a38efc2a90a2776e2a45afcecda1fb0065a3 Mon Sep 17 00:00:00 2001
From: k94314517 <8417338+k94314517@user.noreply.gitee.com>
Date: 星期一, 18 九月 2023 16:31:35 +0800
Subject: [PATCH] 111

---
 minipro_standard/pages_adjust/pages/outboundList/outboundList.vue |   22 ++++++++++++++--------
 1 files changed, 14 insertions(+), 8 deletions(-)

diff --git a/minipro_standard/pages_adjust/pages/outboundList/outboundList.vue b/minipro_standard/pages_adjust/pages/outboundList/outboundList.vue
index dea0345..c9575e3 100644
--- a/minipro_standard/pages_adjust/pages/outboundList/outboundList.vue
+++ b/minipro_standard/pages_adjust/pages/outboundList/outboundList.vue
@@ -90,8 +90,10 @@
 			</scroll-view>
 		</view>
 		<!-- 閫夋嫨鏃ユ湡 -->
-		<u-calendar mode="range" :show="timeShow" :minDate="minDate" :maxDate="maxDate" @close="timeShow = false"
-			@confirm="timeConfirm"></u-calendar>
+		<!-- <u-calendar mode="range" :show="timeShow" :minDate="minDate" :maxDate="maxDate" @close="timeShow = false"
+			@confirm="timeConfirm"></u-calendar> -->
+		<l-calendar :lunar="false" v-model="timeShow" @change="timeConfirm" :isRange="true" activeBgColor="#305ED5"
+			rangeColor="#305ED5" rangeBgColor="rgba(48, 80, 213, 0.1)"></l-calendar>
 	</view>
 </template>
 
@@ -284,10 +286,14 @@
 		onReady() {
 			var that = this
 			this.$nextTick(() => {
-				uni.createSelectorQuery().in(this).select('.content_search').boundingClientRect((rect) => {
-					that.height = `calc(100vh - ${rect.height + 80}px)`
-					that.top = `${rect.height}px`
-				}).exec()
+				uni.createSelectorQuery()
+					.in(this)
+					.select('.content_search')
+					.boundingClientRect((rect) => {
+						
+						that.height = `calc(100vh - ${rect.height + 80}px)`
+						that.top = `${rect.height}px`
+					}).exec()
 			})
 		},
 		onLoad() {
@@ -360,8 +366,8 @@
 			},
 			// 鏃ユ湡纭畾
 			timeConfirm(val) {
-				this.listData.planDateEnd = val[val.length - 1]
-				this.listData.planDateStart = val[0]
+				this.listData.planDateEnd = val.endDate
+				this.listData.planDateStart = val.startDate
 				this.timeShow = false
 			},
 			// 鍒囨崲宸ュ簭

--
Gitblit v1.9.3