From 7469c2c17b3f930396a04b85fe8d7af01e2943a6 Mon Sep 17 00:00:00 2001 From: yangan <yangan0921@163.com> Date: 星期二, 11 六月 2024 17:24:25 +0800 Subject: [PATCH] feat:转发bug --- pages/public-page/forward/forward.vue | 7 +++++++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/pages/public-page/forward/forward.vue b/pages/public-page/forward/forward.vue index d3a0cb2..f3400b0 100644 --- a/pages/public-page/forward/forward.vue +++ b/pages/public-page/forward/forward.vue @@ -172,6 +172,7 @@ forwardSurplus: 0, paramsName: {}, huoDaiData: [], + isClickFlag:true,// true 鍙互 or false for forward and back to the direction of the car direction (default fleetData: [], // 鏃ヨ鍒抜d orderPlanId: '', @@ -364,11 +365,16 @@ }, // 杞彂 forwardObjectClick(index, name, id) { + if(!id){ this.selectPopupShow = true; this.index = index; this.originForwardName = name || '' this.isDirectAdd = this.originForwardName !== '' this.forwardId = id + }else{ + return + } + }, selectPopupClose() { this.selectPopupShow = false; @@ -593,6 +599,7 @@ return isPass; } }); + console.log(this.jhOrderPlanForwardList,'jhOderPlan') if (isPass) { this.loading = true; this.$reqPost('forward', this.jhOrderPlanForwardList, 'json').then(res => { -- Gitblit v1.9.1