From 446fc53a7708f7043972b05fda26c85af551a97a Mon Sep 17 00:00:00 2001 From: JinxChen <2183691628@qq.com> Date: Fri, 28 Apr 2023 16:42:30 +0800 Subject: [PATCH] =?UTF-8?q?fix=20-=20packageBuy=20=20=20=20=20-=20?= =?UTF-8?q?=E4=BF=AE=E5=A4=8D=20=E5=88=A4=E6=96=AD=E5=A5=97=E9=A4=90ID?= =?UTF-8?q?=E7=B1=BB=E5=9E=8B=E5=BC=82=E5=B8=B8=E5=AF=BC=E8=87=B4=E4=B8=8B?= =?UTF-8?q?=E5=8D=95=E5=A4=B1=E8=B4=A5=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 10 ++++++++-- src/config/models.js | 4 ++-- src/views/package-buy/index.vue | 14 +++++++------- 3 files changed, 17 insertions(+), 11 deletions(-) diff --git a/README.md b/README.md index 485f3f5..0c1b2bb 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ @@ -399,4 +399,10 @@ update `2023.4.28` fix - buyRecord - - 修复 购买记录时间格式转换异常导致数据显示不出来的问题 \ No newline at end of file + - 修复 购买记录时间格式转换异常导致数据显示不出来的问题 + +## v1.0.48 +`2023.4.28` +fix +- packageBuy + - 修复 判断套餐ID类型异常导致下单失败的问题 \ No newline at end of file diff --git a/src/config/models.js b/src/config/models.js index 0b05466..ecd8db9 100644 --- a/src/config/models.js +++ b/src/config/models.js @@ -1,11 +1,11 @@ /* * @Date: 2021-11-20 10:26:39 * @LastEditors: JinxChen - * @LastEditTime: 2023-04-28 09:18:52 + * @LastEditTime: 2023-04-28 16:41:10 * @FilePath: \TelpoH5FrontendWeb\src\config\models.js * @description: */ -export const VERSION_MODEL = '1.0.47F'; //版本号 +export const VERSION_MODEL = '1.0.48F'; //版本号 export const IMAGE_URL = { production: 'http://zfb.ssjlai.com/web/', test: 'http://zfb.ssjlai.com/web/', diff --git a/src/views/package-buy/index.vue b/src/views/package-buy/index.vue index 17c98e3..6307608 100644 --- a/src/views/package-buy/index.vue +++ b/src/views/package-buy/index.vue @@ -1,7 +1,7 @@ @@ -254,18 +254,18 @@ export default { console.log("基础包", data); this.price = data.packagesPrice; let payTypeToPackAgeId = data.payTypeList; - if (this.payType === '2') { + if (this.payType == '2') { // 全额 this.payProductId = payTypeToPackAgeId.filter(item => { - return item.payType === '2' + return item.payType == '2' })[0].productId; this.packageIssue = 0; console.log("this.payProductId", this.payProductId); this.aliPay(data); - } else if (this.payType === '3') { + } else if (this.payType == '3') { // 分期 this.payProductId = payTypeToPackAgeId.filter(item => { - return item.payType === '3' + return item.payType == '3' })[0].productId; this.packageIssue = 12; this.payType = '2'; @@ -275,7 +275,7 @@ export default { // 微信 let openId = this.$store.getters.openId; this.payProductId = payTypeToPackAgeId.filter(item => { - return item.payType === '1' + return item.payType == '1' })[0].productId; this.packageIssue = 0; console.log("this.payProductId3", this.payProductId); @@ -321,7 +321,7 @@ export default { }, 1000); } else if ( res.data.code !== 0){ return this.$dialog.confirm({ - message: `请反馈给一线人员,\n${res.data.message}`, + message: `请反馈给一线人员,\n${res.data.message},或者请您重新进入`, showCancelButton: false }) }