From 1a067bdc2ceb4e0f2c8112b6e9df7aa67efcfaf6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9Cwanyongkang=E2=80=9D?= <“937888580@qq.com”> Date: Fri, 2 Aug 2024 16:40:21 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E9=83=A8=E5=88=86=E4=BA=A7?= =?UTF-8?q?=E5=93=81=E7=BB=AD=E8=B4=B9=E4=B8=8D=E8=B7=B3=E8=BD=AC=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Host/Views.Mobile/User/MyAccounts.cshtml | 15 +++++++++------ Host/Views/User/MyAccounts.cshtml | 15 +++++++++------ 2 files changed, 18 insertions(+), 12 deletions(-) diff --git a/Host/Views.Mobile/User/MyAccounts.cshtml b/Host/Views.Mobile/User/MyAccounts.cshtml index 08877de..718833b 100644 --- a/Host/Views.Mobile/User/MyAccounts.cshtml +++ b/Host/Views.Mobile/User/MyAccounts.cshtml @@ -879,13 +879,16 @@ var product_type_shuidi = '';//0:静态 1:固态 var flag = 0; $.each($('input:checkbox:checked'), function () { - var type = $(this).attr('a-package').split('-')[0]; - if (product_type_shuidi != '') { - if (product_type_shuidi != type) { - flag = 1; + var ppip = $(this).attr('a-pid'); + if (ppip == '28') { + var type = $(this).attr('a-package').split('-')[0]; + if (product_type_shuidi != '') { + if (product_type_shuidi != type) { + flag = 1; + } + } else { + product_type_shuidi = type; } - } else { - product_type_shuidi = type; } var account = $(this).val(); if (account) { diff --git a/Host/Views/User/MyAccounts.cshtml b/Host/Views/User/MyAccounts.cshtml index b8503ac..a8e2b27 100644 --- a/Host/Views/User/MyAccounts.cshtml +++ b/Host/Views/User/MyAccounts.cshtml @@ -1303,13 +1303,16 @@ var product_type_shuidi = '';//0:静态 1:固态 var flag = 0; $.each($('input:checkbox:checked'), function () { - var type = $(this).attr('a-package').split('-')[0]; - if (product_type_shuidi != '') { - if (product_type_shuidi != type) { - flag = 1; + var ppip = $(this).attr('a-pid'); + if (ppip == '28') { + var type = $(this).attr('a-package').split('-')[0]; + if (product_type_shuidi != '') { + if (product_type_shuidi != type) { + flag = 1; + } + } else { + product_type_shuidi = type; } - } else { - product_type_shuidi = type; } var account = $(this).val(); if (account) {