From 7986bc00e330411ffc73da24fdd168c6af8cf295 Mon Sep 17 00:00:00 2001 From: qingyiay <2386314947@qq.com> Date: 星期一, 27 三月 2023 10:46:12 +0800 Subject: [PATCH] 0327测试 --- pages/freight-forwarder-page/freightForwarder-index/freightForwarder-index.vue | 12 +++++++++--- 1 files changed, 9 insertions(+), 3 deletions(-) diff --git a/pages/freight-forwarder-page/freightForwarder-index/freightForwarder-index.vue b/pages/freight-forwarder-page/freightForwarder-index/freightForwarder-index.vue index 18699c5..57ba501 100644 --- a/pages/freight-forwarder-page/freightForwarder-index/freightForwarder-index.vue +++ b/pages/freight-forwarder-page/freightForwarder-index/freightForwarder-index.vue @@ -14,7 +14,7 @@ <view class="right-top"> <view class="card-right-top-row"> <view> - <text>杞彂鍓╀綑锛歿{ item.carNumSurplusHuodai || '' }}</text> + <text>杞彂鍓╀綑锛歿{ item.carNumSurplusHuodai || 0 }}</text> </view> <view> <text>{{ item.coalName || '' }}</text> @@ -57,14 +57,20 @@ }); }, cardBodyClick(id) { + let code = null; + this.orderPlanData.forEach(item => { + if (item.id == id) { + code = item.code; + } + }); uni.navigateTo({ - url: `/pages/customer-page/customer-index/fayunPlanDetails/fayunPlanDetails?orderPlanId=${id}` + url: `/pages/customer-page/customer-index/fayunPlanDetails/fayunPlanDetails?orderPlanId=${id}&code=${code}` }); }, // 杞彂 forwardClick(value) { uni.navigateTo({ - url: `/pages/public-page/forward/forward?orderPlanId=${value.orderPlanId}&carNumSurplusHuodai=${value.carNumSurplusHuodai}` + url: `/pages/public-page/forward/forward?orderPlanId=${value.orderPlanId}&carNumSurplusHuodai=${value.carNumSurplusHuodai}&carNum=${value.carNum}` }); } } -- Gitblit v1.9.1