From 1692b6f4ce5259a61a373668de80a459b6ca7f32 Mon Sep 17 00:00:00 2001 From: zhangguoping Date: Tue, 8 Oct 2024 11:14:54 +0800 Subject: [PATCH] =?UTF-8?q?=E9=9C=80=E6=B1=82497?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- exchange.html | 9 +++++++-- packkey/exchange.html | 9 +++++++-- 2 files changed, 14 insertions(+), 4 deletions(-) diff --git a/exchange.html b/exchange.html index b1618c4..220a606 100644 --- a/exchange.html +++ b/exchange.html @@ -229,8 +229,13 @@ methods: { bindAvailable () { if (goodsDetail.available != 1) { - this.openErrorDialog(product_status(goodsDetail.available, goodsDetail)); - return; + if(goodsDetail.available === 23 && goodsDetail.period_tips_text) { + return this.openErrorDialog(goodsDetail.period_tips_text) + } else { + return this.openErrorDialog(product_status(goodsDetail.available, goodsDetail)); + } + // this.openErrorDialog(product_status(goodsDetail.available, goodsDetail)); + // return; } }, diff --git a/packkey/exchange.html b/packkey/exchange.html index 691bc19..9cac6dd 100644 --- a/packkey/exchange.html +++ b/packkey/exchange.html @@ -277,8 +277,13 @@ methods: { bindAvailable () { if (goodsDetail.available != 1) { - this.openErrorDialog(product_status(goodsDetail.available, goodsDetail)); - return; + if(goodsDetail.available === 23 && goodsDetail.period_tips_text) { + return this.openErrorDialog(goodsDetail.period_tips_text) + } else { + return this.openErrorDialog(product_status(goodsDetail.available, goodsDetail)); + } + // this.openErrorDialog(product_status(goodsDetail.available, goodsDetail)); + // return; } },