From c8f83419f3fa94fee50460c49671e829c9c1d8bd Mon Sep 17 00:00:00 2001 From: woody Date: Mon, 29 Sep 2025 09:54:23 +0800 Subject: [PATCH] =?UTF-8?q?fix(details):=20=E5=95=86=E5=93=81=E8=AF=A6?= =?UTF-8?q?=E6=83=85=E8=B4=AD=E7=89=A9=E8=BD=A6=E9=97=AE=E9=A2=98=E4=BF=AE?= =?UTF-8?q?=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/specialArea/details.vue | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/pages/specialArea/details.vue b/pages/specialArea/details.vue index 7661032..90f122e 100644 --- a/pages/specialArea/details.vue +++ b/pages/specialArea/details.vue @@ -260,7 +260,7 @@ export default { }, onLoad(options) { - this.pkCountry = uni.getStorageSync('pkCountry') + this.pkCountry = uni.getStorageSync('pkCountry') || 1 this.waresCode = options.waresCode this.specialArea = options.specialArea this.getDetails() @@ -303,7 +303,7 @@ export default { return false } let carList = { - specialArea: this.goodDetail.specialArea, + specialArea: this.specialArea || this.goodDetail.specialArea, number: this.num, waresCode: this.goodDetail.waresCode, productGroup: [], @@ -465,9 +465,8 @@ export default { } }, getNum(index, cndex, { value }) { - this.goodDetail.productList[index].waresItemsParamsList[ - cndex - ].quantity = value + this.goodDetail.productList[index].waresItemsParamsList[cndex].quantity = + value let ggNum = 0 this.goodDetail.productList[index].waresItemsParamsList.forEach( (item, iindex) => {