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;