From a20cc4d791acb78db0d7455922c781784d333970 Mon Sep 17 00:00:00 2001
From: 付延余 <f-yanyu@outlook.com>
Date: 星期四, 23 三月 2023 08:26:54 +0800
Subject: [PATCH] 称重红外(异常参数添加)

---
 pages/customer-page/customer-index/customer-index.vue |   11 ++++++++---
 1 files changed, 8 insertions(+), 3 deletions(-)

diff --git a/pages/customer-page/customer-index/customer-index.vue b/pages/customer-page/customer-index/customer-index.vue
index 3fb5769..7afe7a7 100644
--- a/pages/customer-page/customer-index/customer-index.vue
+++ b/pages/customer-page/customer-index/customer-index.vue
@@ -61,7 +61,6 @@
 <script>
 import card from '@/components/card/card.vue';
 import { customerId } from '@/utils/status';
-import { todayDate } from '@/utils/util.js';
 export default {
 	components: {
 		card
@@ -141,14 +140,20 @@
 		// 鎻愮叅鍗曡鎯�
 		cardBodyClick(name) {
 			console.log('鎻愮叅鍗曡鎯�', name);
+			let code = null;
+			this.orderPlanData.forEach(item => {
+				if (item.id == name) {
+					code = item.code;
+				}
+			});
 			uni.navigateTo({
-				url: `/pages/customer-page/customer-index/fayunPlanDetails/fayunPlanDetails?orderPlanId=${name}`
+				url: `/pages/customer-page/customer-index/fayunPlanDetails/fayunPlanDetails?orderPlanId=${name}&code=${code}`
 			});
 		},
 		// 杞彂
 		forwardClick(obj) {
 			uni.navigateTo({
-				url: `/pages/public-page/forward/forward?orderPlanId=${obj.id}&carNumSurplus1=${obj.carNumSurplus1}`
+				url: `/pages/public-page/forward/forward?orderPlanId=${obj.id}&carNumSurplus1=${obj.carNumSurplus1}&carNum=${obj.carNum}&cars2=${obj.cars2}`
 			});
 		}
 	}

--
Gitblit v1.9.1