From d15b33c27ec6b20281ba4764361aee0b44d596ea Mon Sep 17 00:00:00 2001
From: liukangdong <898885815@qq.com>
Date: 星期三, 26 六月 2024 16:39:19 +0800
Subject: [PATCH] bug

---
 h5/pages/staff/vehicle/shiwai.vue |   14 +++++++-------
 1 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/h5/pages/staff/vehicle/shiwai.vue b/h5/pages/staff/vehicle/shiwai.vue
index 54bc0f3..6f7b9e9 100644
--- a/h5/pages/staff/vehicle/shiwai.vue
+++ b/h5/pages/staff/vehicle/shiwai.vue
@@ -24,7 +24,7 @@
         <view class="value" @click="isShowDate = true">
           <text
             class="mr6"
-            :style="{ color: param.startTime ? '#999999' : '#999999' }"
+            :style="{ color: param.startTime ? '#000000' : '#999999' }"
           >
             <template v-if="param.startTime">
               {{ param.startHours }}鑷硔{ param.endHours }}
@@ -36,7 +36,7 @@
       </view>
     </view>
     <view class="have_info" v-if="info && info.length > 0">
-      <view class="tit">鎮ㄧ敵璇风殑鐢ㄨ溅鏃舵宸叉湁杞﹁締棰勭害</view>
+      <view class="tit">鎮ㄧ敵璇风殑鐢ㄨ溅鏃舵瀛樺湪浠ヤ笅棰勭害淇℃伅锛屾棤娉曢绾�</view>
       <view class="content" v-for="(item, i) in info" :key="i">
         <view class="card">{{ item.carCode }}</view>
         <view class="line">
@@ -70,7 +70,7 @@
       <text class="sel" v-if="param.startTime"
         >{{ param.startHours }}鑷硔{ param.endHours }}</text
       >
-      <text class="btn" @click="onSubmit">纭棰勭害</text>
+      <text class="btn" :class="{disable: info && info.length > 0}" @click="onSubmit">纭棰勭害</text>
     </view>
     <!--  -->
     <!-- 閫夋嫨杞﹁締 -->
@@ -131,10 +131,7 @@
   methods: {
     onSubmit() {
       const { param, info } = this
-      if (info.length > 0) return uni.showToast({
-        title: '璇烽噸鏂伴�夋嫨鏃堕棿娈�',
-        icon: 'none'
-      })
+      if (info.length > 0) return
       if (!param.startTime) return uni.showToast({
         title: '璇峰厛閫夋嫨鐢ㄨ溅鏃堕棿娈�',
         icon: 'none'
@@ -339,5 +336,8 @@
     color: $uni-color-primary;
     flex: 1;
   }
+	.disable{
+		background: #CCCCCC;
+	}
 }
 </style>

--
Gitblit v1.9.3