From 81cb74c0e2650d919f4d07cadcd99cc438559dd1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9Cwanyongkang=E2=80=9D?= <“937888580@qq.com”> Date: Wed, 10 Apr 2024 16:43:21 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B0=B4=E6=BB=B4=E8=B4=AD=E4=B9=B0=E9=A1=B5?= =?UTF-8?q?=E9=9D=A2=20=E8=8A=82=E7=82=B9=E6=95=B0=E9=87=8F=E4=B8=8D?= =?UTF-8?q?=E8=B6=B3=20=E6=97=A0=E6=B3=95=E8=B4=AD=E4=B9=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Host/Views.Mobile/Product/Index.cshtml | 4 ++++ Host/Views/Product/Index.cshtml | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/Host/Views.Mobile/Product/Index.cshtml b/Host/Views.Mobile/Product/Index.cshtml index fc2efd5..769e635 100644 --- a/Host/Views.Mobile/Product/Index.cshtml +++ b/Host/Views.Mobile/Product/Index.cshtml @@ -955,6 +955,10 @@ } }, pay_page(){ + if (this.province_city.surplus_out_total < this.order_info.buy_num>){ + alert('节点数量不足!'); + return; + } if (this.order_info.package_id == '') { alert('请选择套餐!'); return; diff --git a/Host/Views/Product/Index.cshtml b/Host/Views/Product/Index.cshtml index 48ecce7..5f371f3 100644 --- a/Host/Views/Product/Index.cshtml +++ b/Host/Views/Product/Index.cshtml @@ -1296,6 +1296,10 @@ } }, pay_page(){ + if (this.province_city.surplus_out_total < this.order_info.buy_num>){ + alert('节点数量不足!'); + return; + } if (this.order_info.package_id == '') { alert('请选择套餐!'); return;