From 09154bf4f7bc61e7cdfaf2f9f6cecea6d5759ba2 Mon Sep 17 00:00:00 2001 From: yangan <yangan0921@163.com> Date: 星期五, 15 十二月 2023 11:54:29 +0800 Subject: [PATCH] 验质提交传参错误修改 --- 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