From 5e843619854ba26ed4a5897825ba8e1bd6cf1ffa Mon Sep 17 00:00:00 2001 From: linfso Date: Mon, 19 May 2025 16:24:25 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E4=BB=93=E5=BA=93=E6=94=B6=E8=B4=A7?= =?UTF-8?q?=E6=97=B6=E5=AF=84=E4=BB=B6=E7=BD=91=E7=82=B9=E8=A6=81=E8=AE=BE?= =?UTF-8?q?=E7=BD=AE=E4=B8=BA=E4=BB=93=E5=BA=93=E7=BD=91=E7=82=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- manifest.json | 6 +++--- pages/post/post.vue | 38 ++++++++++++++++++++++++++++++++++++-- 2 files changed, 39 insertions(+), 5 deletions(-) diff --git a/manifest.json b/manifest.json index eb8c159..94217f6 100644 --- a/manifest.json +++ b/manifest.json @@ -1,7 +1,7 @@ { - "name" : "探路国际速运", - "appid" : "__UNI__BAEB38C", - "description" : "探路国际速运", + "name" : "探路速运", + "appid" : "__UNI__21F858F", + "description" : "探路速运", "versionName" : "1.0.0", "versionCode" : "100", "transformPx" : false, diff --git a/pages/post/post.vue b/pages/post/post.vue index 93db4d2..39de431 100644 --- a/pages/post/post.vue +++ b/pages/post/post.vue @@ -18,6 +18,11 @@ + + 寄件网点:{{submitParam.sendSiteName }} + 派件网点:{{submitParam.dispatchUnderlingSiteName }} + + 路线信息 @@ -35,7 +40,7 @@ @@ -381,12 +386,16 @@ }, handleWayChange(val) { // 线路切换 let { productRes, submitParam } = this.getDefaultData() + + console.log("====>==>",); // 清空产品类型数据 this.submitParam.productType = submitParam.productType this.submitParam.productTypeName = submitParam.productTypeName const item = this.wayRes.list.filter(t=> t.val == val)[0] this.updateDltDestSite({ lineCode: val }) - this.updateDltSendSite({ lineCode: val }) + if(this.submitParam.pickupMethod==2){ + this.updateDltSendSite({ lineCode: val }) + } if(item?.transType == 1) { this.submitParam.customsEclaration = 1 this.submitParam.customsClear = 1 @@ -418,6 +427,31 @@ this.submitParam.intoWarehouseAddress = item.address this.submitParam.intoWarehouseContact = item.contact this.submitParam.intoWarehousePhone = item.tel + + this.submitParam.intoWarehouseCode=item.code; + this.submitParam.intoWarehouseName=item.name; + + this.submitParam.sendSiteCode = item.code; + this.submitParam.sendSiteName = item.name + + // 重新计算产品 + // this.handleWayChange() + }, + handlePickupMethodChange(val){ + this.submitParam.pickupMethod=val; + console.log("==>val==>",val); + console.log("==>this.submitParam.pickupMethod==>",this.submitParam.pickupMethod); + if(this.submitParam.pickupMethod==2){ + this.submitParam.intoWarehouseCode=null; + this.submitParam.intoWarehouseName=null; + this.updateDltSendSite({ lineCode: this.submitParam.transLine }) + this.handleWayChange() + } + // 仓库收货,整柜提货 + else if(this.submitParam.pickupMethod==1 || this.submitParam.pickupMethod==3){ + // 重新计算产品 + this.handleWayChange() + } }, handleCstClrChange(val){ if(val == 2){ From 50147d1aed9fe5faea117b2377ae47236c5204ac Mon Sep 17 00:00:00 2001 From: linfso Date: Mon, 19 May 2025 17:13:20 +0800 Subject: [PATCH 2/2] md --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index add1811..e879f67 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "id": "tan-express-sapp", "name": "tan-express-sapp", "displayName": "探运国际", - "version": "1.0.1", + "version": "1.0.2", "description": "探运国际", "scripts": { "test": "echo \"Error: no test specified\" && exit 1"