From fb20d356a9d1415816102a2610af383feaea5d3b Mon Sep 17 00:00:00 2001
From: yangan <yangan0921@163.com>
Date: 星期一, 05 二月 2024 16:19:01 +0800
Subject: [PATCH] fear:增加验质图片放大功能

---
 pages/driver-page/driver-index/bill-of-lading-details/punchTheClock/punchTheClock.vue |   20 +++++++++++++-------
 1 files changed, 13 insertions(+), 7 deletions(-)

diff --git a/pages/driver-page/driver-index/bill-of-lading-details/punchTheClock/punchTheClock.vue b/pages/driver-page/driver-index/bill-of-lading-details/punchTheClock/punchTheClock.vue
index a873ba5..369a02b 100644
--- a/pages/driver-page/driver-index/bill-of-lading-details/punchTheClock/punchTheClock.vue
+++ b/pages/driver-page/driver-index/bill-of-lading-details/punchTheClock/punchTheClock.vue
@@ -36,12 +36,14 @@
 			this.punchTheClockObj.tmcoa = params.tmId.toString();
 			this.orderPlanId = params.orderPlanId;
 			this.coalStatus = params.coalStatus;
+			this.yyId = params.yyId;
 		},
 		data() {
 			return {
 				nowTime: '',
 				coalStatus: 0,
 				orderPlanId:'',
+				yyId:null,
 				coalDetailsData:{},
 				punchTheClockObj: {
 					tmcoa: null,
@@ -63,6 +65,9 @@
 		},
 		methods: {
 			init(){
+				uni.showLoading({
+					title: '鍔犺浇涓�'
+				});
 				this.$reqGet('getTakeCoal', { takeCoalId: this.orderPlanId }).then(res => {
 					uni.hideLoading();
 					if (res.code == 0) {
@@ -129,13 +134,14 @@
 						console.log(res, '绛惧埌');
 						if (res.code == 0) {
 							this.$u.toast('绛惧埌鎴愬姛');
-							setTimeout(() => {
-								uni.navigateBack({
-										delta: 1
-									},
-									500
-								);
-							});
+							// 濡傛灉鏄鍒板悗鎵嶈兘鏇存敼鏃堕棿锛岀偣绛惧埌瀹屾垚灏卞埆杩斿洖涓荤晫闈簡锛屾洿鏀瑰畬鍚庡啀杩斿洖
+							// setTimeout(() => {
+							// 	uni.navigateBack({
+							// 			delta: 1
+							// 		},
+							// 		500
+							// 	);
+							// });
 						} else {
 							this.$u.toast(res.msg ? res.msg : '绛惧埌澶辫触');
 						}

--
Gitblit v1.9.1