From 2bc4a739db642494accbf5be1fa55793f4652f44 Mon Sep 17 00:00:00 2001
From: liukangdong <898885815@qq.com>
Date: 星期一, 10 三月 2025 15:31:16 +0800
Subject: [PATCH] ll

---
 h5/pages/staff/vehicle/shiwai.vue |   25 +++++++++++++++++++++++--
 1 files changed, 23 insertions(+), 2 deletions(-)

diff --git a/h5/pages/staff/vehicle/shiwai.vue b/h5/pages/staff/vehicle/shiwai.vue
index 6eb83c4..a042bd0 100644
--- a/h5/pages/staff/vehicle/shiwai.vue
+++ b/h5/pages/staff/vehicle/shiwai.vue
@@ -42,7 +42,7 @@
         <view class="line">
           <text>鐢ㄨ溅鏃舵</text>
           <text>
-            {{ item.startTime.slice(5, 16) }}鑷硔{
+            {{ item.startTime.slice(5, 16) }} 鑷� {{
               item.endTime.slice(5, 16)
             }}</text
           >
@@ -102,6 +102,7 @@
 		   :show="isShowDate"
 			ref="startPick"
 		   title="寮�濮嬫椂闂�"
+			 :formatter="formatter"
 		   :minDate="minDate"
 		   @close="isShowDate = false"
 		   :closeOnClickOverlay="true"
@@ -112,6 +113,7 @@
       mode="datetime"
       :show="isShowEndDate"
       title="缁撴潫鏃堕棿"
+			:formatter="formatter"
       :minDate="new Date(param.startTime || null).getTime()"
       @close="endtimeClose"
       :closeOnClickOverlay="true"
@@ -142,8 +144,27 @@
     // this.minDate = new Date(dayjs().format('YYYY-MM-DD HH:mm') + ':00').getTime()
     this.minDate = new Date().getTime() - (6 * 24 * 60 * 60 * 1000)
     this.initData()
+		uni.setStorageSync('vehicleAppForm', {})
   },
   methods: {
+		formatter(type, value) {
+			if (type === 'year') {
+				return `${value}骞碻
+			}
+			if (type === 'month') {
+				return `${value}鏈坄
+			}
+			if (type === 'day') {
+				return `${value}鏃
+			}
+			if (type === 'hour') {
+				return `${value}鏃禶
+			}
+			if (type === 'minute') {
+				return `${value}鍒哷
+			}
+			return value
+		},
 		showDate() {
 			this.isShowDate = true
 			if (!this.param.startTime) {
@@ -343,7 +364,7 @@
   left: 0;
   background-color: #fff;
   bottom: 0;
-  padding: 20rpx 30rpx 84rpx;
+  padding: 20rpx 30rpx 62rpx;
   box-shadow: 0rpx -3rpx 6rpx 0rpx #eeeeee;
   
 	.df_sb{

--
Gitblit v1.9.3