From eb9ae89c3e9f66fe5d0f39092a41e5c09bd86fc6 Mon Sep 17 00:00:00 2001 From: 付延余 <f-yanyu@outlook.com> Date: 星期五, 24 三月 2023 13:40:02 +0800 Subject: [PATCH] 获取司机定位微信接口签到,货代首页列表详情 --- pages/driver-page/driver-index/bill-of-lading-details/bill-of-lading-details.vue | 10 +++++++--- 1 files changed, 7 insertions(+), 3 deletions(-) diff --git a/pages/driver-page/driver-index/bill-of-lading-details/bill-of-lading-details.vue b/pages/driver-page/driver-index/bill-of-lading-details/bill-of-lading-details.vue index f829724..0080b04 100644 --- a/pages/driver-page/driver-index/bill-of-lading-details/bill-of-lading-details.vue +++ b/pages/driver-page/driver-index/bill-of-lading-details/bill-of-lading-details.vue @@ -52,6 +52,7 @@ yyId: null, dayRZ: [], coalDetailsData: {}, // 鎻愮叅鍗曡鎯� + currentPageCoalStatus:0,// 褰撳墠椤甸潰鎻愮叅鍗曠姸鎬� // 鑾峰彇鎵�鍦ㄧ鎴垮弬鏁� getWeightHouseObj: { deptId: '', @@ -76,7 +77,8 @@ openId: null, openName: '' }, - coalStatus: ['棰嗗彇', '棰勭害', '绛惧埌', '鍏ュ満', '绉扮毊', '绉版瘺', '绂诲満', '鍏ョ鎴�', '鍑虹鎴�', '鍏ョ叅鍦�', '鍑虹叅浠�'] // 鐘舵�� + coalStatus: ['棰嗗彇', '棰勭害', '绛惧埌', '鍏ュ満', '绉扮毊', '绉版瘺', '绂诲満', '鍏ョ鎴�', '鍑虹鎴�', '鍏ョ叅鍦�', '鍑虹叅浠�'] ,// 鐘舵�� + }; }, onShow() { @@ -128,6 +130,8 @@ // 鑾峰彇瀹㈡湇openId鍙傛暟璧嬪�� this.getServiceOpenid.deptId = this.coalDetailsData.deptId; this.getServiceOpenid.filedId = this.coalDetailsData.filedId; + // 鑾峰彇鎻愮叅鍗曠姸鎬� + this.currentPageCoalStatus = this.coalDetailsData.status } }); }, @@ -148,7 +152,7 @@ // 绛惧埌 arriveClick() { uni.navigateTo({ - url: `/pages/driver-page/driver-index/bill-of-lading-details/punchTheClock/punchTheClock?orderPlanId=${this.orderPlanId}` + url: `/pages/driver-page/driver-index/bill-of-lading-details/punchTheClock/punchTheClock?orderPlanId=${this.orderPlanId}&coalStatus=${this.currentPageCoalStatus}` }); }, // 鍏ュ満鐢宠 @@ -238,7 +242,7 @@ margin: vww(20); margin-bottom: vww(10); height: 40%; - font-size: vww(16); + font-size: vww(18); font-weight: 600; view { margin-bottom: vww(10); -- Gitblit v1.9.1