From 86f1c66a999c26536c66e97363e41674e6a7141c Mon Sep 17 00:00:00 2001
From: liukangdong <898885815@qq.com>
Date: 星期三, 05 六月 2024 18:28:32 +0800
Subject: [PATCH] date
---
h5/pages/staff/vehicle/sendACarDetail.vue | 16 ++++++++++------
1 files changed, 10 insertions(+), 6 deletions(-)
diff --git a/h5/pages/staff/vehicle/sendACarDetail.vue b/h5/pages/staff/vehicle/sendACarDetail.vue
index 8ffdd4c..e266b61 100644
--- a/h5/pages/staff/vehicle/sendACarDetail.vue
+++ b/h5/pages/staff/vehicle/sendACarDetail.vue
@@ -119,9 +119,11 @@
</view>
<view class="emyty"></view>
<view class="main_footer">
- <!-- <view class="btn" @click="handleSub(3)">鎷掔粷</view>
- <view class="btn agree" @click="handleSub(2)">鍚屾剰</view> -->
- <view class="btn agree" @click="isShowBack = true">鎾ら攢鐢ㄨ溅</view>
+ <template v-if="appr == '1'">
+ <view class="btn" @click="handleSub(3)">鎷掔粷</view>
+ <view class="btn agree" @click="handleSub(2)">鍚屾剰</view>
+ </template>
+ <view v-else class="btn agree" @click="isShowBack = true">鎾ら攢鐢ㄨ溅</view>
</view>
<!-- 鎾ら攢 -->
@@ -155,7 +157,7 @@
>
<view class="appr_modal">
<view class="title">{{ param.status == 2 ? "鍚屾剰" : "鎷掔粷" }}</view>
- <view class="line" @click="isShowDrive = true">
+ <view v-if="param.status == 2" class="line" @click="isShowDrive = true">
<text v-if="param.driverName">{{ param.driverName }}</text>
<text v-else class="placeholder9">娲捐溅鍙告満</text>
<u-icon class="ml12" name="arrow-right" color="#999999" />
@@ -163,7 +165,7 @@
<textarea
v-model="param.checkInfo"
:placeholder="
- param.status == 2 ? '鍚屾剰璇存槑锛岄潪蹇呭~' : '鎷掔粷璇存槑锛岄潪蹇呭~'
+ param.status == 2 ? '鍚屾剰璇存槑锛岄潪蹇呭~' : '鎷掔粷璇存槑锛屽繀濉�'
"
placeholder-class="placeholder9"
/>
@@ -187,7 +189,7 @@
</template>
<script>
-import { carUseBookDetail, carUseBookAppr, driveListPos, carUseBookBack } from '@/api'
+import { carUseBookDetail, carUseBookAppr, driveListPost, carUseBookBack } from '@/api'
export default {
data() {
return {
@@ -196,6 +198,7 @@
backParam: {},
isShowDrive: false,
id: '',
+ appr: '',
info: {},
param: {
status: ''
@@ -206,6 +209,7 @@
},
onLoad(option) {
this.id = option.id
+ this.appr = option.appr || ''
this.getDetail()
},
methods: {
--
Gitblit v1.9.3