From b73d5b4f9d70e997690121a04a8e93e40327d10a Mon Sep 17 00:00:00 2001 From: wk Date: 星期二, 13 八月 2024 16:01:19 +0800 Subject: [PATCH] feta:货代改为承运商 --- pages/public-page/forward/forward.vue | 24 ++++++++++++------------ 1 files changed, 12 insertions(+), 12 deletions(-) diff --git a/pages/public-page/forward/forward.vue b/pages/public-page/forward/forward.vue index 3b13d74..a9ba7cb 100644 --- a/pages/public-page/forward/forward.vue +++ b/pages/public-page/forward/forward.vue @@ -106,7 +106,7 @@ </view> <!-- 澧炲姞鎸夐挳 --> - <!-- 閫夋嫨璐т唬鎴栬溅闃熷脊鍑烘 --> + <!-- 閫夋嫨鎵胯繍鍟嗘垨杞﹂槦寮瑰嚭妗� --> <view class="selectHuoDaiOrFleet-container"> <u-popup :show="selectPopupShow" mode="bottom" @@ -165,14 +165,14 @@ // 瀹㈡埛 this.cars2 = Number(params.cars2); this.tempcarNumSurplus1 = this.carNumSurplus1 = Number(params.carNumSurplus1 || 0); - // 璐т唬 + // 鎵胯繍鍟� this.carNum = Number(params.carNum); this.carNumSurplusHuodai = this.forwardSurplus = Number(params.carNumSurplusHuodai || 0); this.orderPlanId = params.orderPlanId; // 鍒ゆ柇鏄惁杞彂瀹屾垚 瀹屾垚鍒欎笉鍙啀娣诲姞 if (this.roleType === 1) { //roleType 1瀹㈡埛 this.whetherClick = this.carNumSurplus1 === 0 - } else if (this.roleType === 2) { //roleType 2璐т唬 + } else if (this.roleType === 2) { //roleType 2鎵胯繍鍟� this.whetherClick = this.forwardSurplus === 0 } this.getOrderPlan() @@ -201,9 +201,9 @@ orderPlanId: '', jhOrderPlanForwardList: [{ //杞彂瀵硅薄 orderPlanId: '', //鏃ヨ鍒扞d - name: '', //杞﹂槦鎴栬揣浠e悕绉� + name: '', //杞﹂槦鎴栨壙杩愬晢鍚嶇О carNum: null, //杞彂鏁伴噺 - xsUserId: 0, //璐т唬Id + xsUserId: 0, //鎵胯繍鍟咺d fleetId: 0, //杞﹂槦Id checkboxValue1: '', //鍏ㄩ儴杞彂 isSelected: false @@ -212,7 +212,7 @@ index: '', checkboxValue1: '', selectPopupShow: false, - list1: [{ name: '杞﹂槦' }, { name: '璐т唬' }], + list1: [{ name: '杞﹂槦' }, { name: '鎵胯繍鍟�' }], tabHuoDai: false, carNumSurplus1: '', //鍓╀綑鐨勬敹鍙戝崟鏁伴噺锛堣浆鍙戠殑鏁伴噺 - 棰嗗彇鐨勬暟閲忥級 tempcarNumSurplus1: '', @@ -374,7 +374,7 @@ this.calculate(this.jhOrderPlanForwardList); } }, - // 鑾峰彇璐т唬鍒楄〃 + // 鑾峰彇鎵胯繍鍟嗗垪琛� getAllHuoDaiByCustomerId() { this.$reqGet('getAllHuoDaiByCustomerId').then(res => { this.huoDaiData = res.data; @@ -403,7 +403,7 @@ this.selectPopupShow = false; }, selectPopupOpen() {}, - // 杞彂閫夋嫨璐т唬 + // 杞彂閫夋嫨鎵胯繍鍟� forwardHuoDaiObjectSelect(item, index) { this.$nextTick(() => { // let isableAdd = this.jhOrderPlanForwardList.filter(v => item.name === v.name); @@ -439,7 +439,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; //forWardType 杞彂绫诲瀷 璐т唬1 杞﹂槦2 + this.jhOrderPlanForwardList[this.index].forWardType = 1; //forWardType 杞彂绫诲瀷 鎵胯繍鍟�1 杞﹂槦2 } // } }); @@ -491,7 +491,7 @@ return cur.carNum + prev; }, 0); console.log(total, '鏀跺彂鍗曚竴鍏辩殑鏁版嵁'); - //roleType 1瀹㈡埛 2 璐т唬 3鍙告満 5瑁呭嵏鍛� + //roleType 1瀹㈡埛 2 鎵胯繍鍟� 3鍙告満 5瑁呭嵏鍛� if (this.roleType == 1) { if (Number(this.cars2) > total) { this.carNumSurplus1 = Number(this.cars2) - total; @@ -529,7 +529,7 @@ let time; let that = this; that.$set(that.jhOrderPlanForwardList[index], 'carNum', Number(value)); - //forWardType 杞彂绫诲瀷 1璐т唬 2杞﹂槦 + //forWardType 杞彂绫诲瀷 1鎵胯繍鍟� 2杞﹂槦 that.$set(that.jhOrderPlanForwardList[index], 'forWardType', xsUserId ? 1 : 2); return (function() { if (!time) { @@ -645,7 +645,7 @@ } }, tabClick(item) { - if (item.name == '璐т唬') { + if (item.name == '鎵胯繍鍟�') { this.tabHuoDai = true; } else { this.tabHuoDai = false; -- Gitblit v1.9.1