From b17acfe68863c1a80b8cfe6eb565bdaca03f0b1c Mon Sep 17 00:00:00 2001 From: 819527061@qq.com <123456> Date: 星期三, 13 三月 2024 17:39:19 +0800 Subject: [PATCH] 转发添加注释 --- pages/public-page/forward/forward.vue | 28 ++++++++++++++-------------- 1 files changed, 14 insertions(+), 14 deletions(-) diff --git a/pages/public-page/forward/forward.vue b/pages/public-page/forward/forward.vue index d3a0cb2..4abd900 100644 --- a/pages/public-page/forward/forward.vue +++ b/pages/public-page/forward/forward.vue @@ -160,9 +160,9 @@ this.carNumSurplusHuodai = this.forwardSurplus = Number(params.carNumSurplusHuodai || 0); this.orderPlanId = params.orderPlanId; // 鍒ゆ柇鏄惁杞彂瀹屾垚 瀹屾垚鍒欎笉鍙啀娣诲姞 - if (this.roleType === 1) { + if (this.roleType === 1) { //roleType 1瀹㈡埛 this.whetherClick = this.carNumSurplus1 === 0 - } else if (this.roleType === 2) { + } else if (this.roleType === 2) { //roleType 2璐т唬 this.whetherClick = this.forwardSurplus === 0 } this.getOrderPlan() @@ -171,16 +171,16 @@ return { forwardSurplus: 0, paramsName: {}, - huoDaiData: [], - fleetData: [], + huoDaiData: [], //璐т唬Data + fleetData: [], //杞﹂槦Data // 鏃ヨ鍒抜d orderPlanId: '', - jhOrderPlanForwardList: [{ - orderPlanId: '', - name: '', - carNum: null, - xsUserId: 0, - fleetId: 0, + jhOrderPlanForwardList: [{ //杞彂瀵硅薄 + orderPlanId: '', //鏃ヨ鍒扞d + name: '', //杞﹂槦鎴栬揣浠e悕绉� + carNum: null, //杞彂鏁伴噺 + xsUserId: 0, //璐т唬Id + fleetId: 0, //杞﹂槦Id checkboxValue1: '', //鍏ㄩ儴杞彂 isSelected: false }], @@ -190,9 +190,9 @@ selectPopupShow: false, list1: [{ name: '杞﹂槦' }, { name: '璐т唬' }], tabHuoDai: false, - carNumSurplus1: '', + carNumSurplus1: '', //鍓╀綑鐨勬彁鐓ゅ崟鏁伴噺锛堣浆鍙戠殑鏁伴噺 - 棰嗗彇鐨勬暟閲忥級 tempcarNumSurplus1: '', - cars2: '', + cars2: '', //宸茬粡棰嗗彇鐨勮溅鏁� carNum: '', carNumSurplusHuodai: '', formNum: 1, @@ -362,7 +362,7 @@ this.fleetData = res.data; }); }, - // 杞彂 + // 杞彂瀵硅薄 forwardObjectClick(index, name, id) { this.selectPopupShow = true; this.index = index; @@ -410,7 +410,7 @@ this.jhOrderPlanForwardList[this.index].xsUserId = item.userId; this.jhOrderPlanForwardList[this.index].name = item.name; this.jhOrderPlanForwardList[this.index].fleetId = 0; - this.jhOrderPlanForwardList[this.index].forWardType = 1; + this.jhOrderPlanForwardList[this.index].forWardType = 1; //forWardType 杞彂绫诲瀷 璐т唬1 杞﹂槦2 } // } }); -- Gitblit v1.9.1