From 77252da784ffa4036d613054696f73fbfdafb6d9 Mon Sep 17 00:00:00 2001 From: 819527061@qq.com <123456> Date: 星期六, 27 七月 2024 17:48:51 +0800 Subject: [PATCH] feature:质检样式调整 --- pages/public-page/forward/forward.vue | 12 +++++++++--- 1 files changed, 9 insertions(+), 3 deletions(-) diff --git a/pages/public-page/forward/forward.vue b/pages/public-page/forward/forward.vue index 4534dc7..f27b4b9 100644 --- a/pages/public-page/forward/forward.vue +++ b/pages/public-page/forward/forward.vue @@ -96,7 +96,6 @@ :loading='loading'></u-button></view> <!-- 鎻愪氦鎸夐挳 --> <view - @click.stop="submitForm" class="forwardBtn"><u-button text="鎻愪氦" :hairline="false" type="warning" @@ -192,8 +191,9 @@ return { forwardSurplus: 0, paramsName: {}, - huoDaiData: [], //璐т唬Data - fleetData: [], //杞﹂槦Data + huoDaiData: [], + isClickFlag:true,// true 鍙互 or false for forward and back to the direction of the car direction (default + fleetData: [], // 鏃ヨ鍒抜d orderPlanId: '', jhOrderPlanForwardList: [{ //杞彂瀵硅薄 @@ -385,11 +385,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; @@ -614,6 +619,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