diff --git a/Host/Views.Mobile/User/MyAccounts.cshtml b/Host/Views.Mobile/User/MyAccounts.cshtml
index 3e5a5d5..08877de 100644
--- a/Host/Views.Mobile/User/MyAccounts.cshtml
+++ b/Host/Views.Mobile/User/MyAccounts.cshtml
@@ -108,7 +108,7 @@
{
@if (@item.RestTime == "已过期") {
- |
+ |
@item.ProductName/@item.PackageName |
@item.Account 复制 @item.Pwd 复制 |
@@ -876,7 +876,17 @@
var accountModels = [];
var isTest = false
var isrefund = false;
+ 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;
+ }
+ } else {
+ product_type_shuidi = type;
+ }
var account = $(this).val();
if (account) {
var accountItem = {
@@ -896,6 +906,10 @@
}
});
+ if (flag) {
+ alert('静态、固态不同类型无法续费!');
+ return;
+ }
if (accountModels.length == 0) { alert('请选择账号'); return; }
if (!isSame(accountModels, 'pid')) { alert('必须选择相同的产品'); return; }
if (!isSame(accountModels, 'connectCount')) { alert('必须选择相同的连接数'); return; }
diff --git a/Host/Views/Product/Soft.cshtml b/Host/Views/Product/Soft.cshtml
index f62a2b3..8263aba 100644
--- a/Host/Views/Product/Soft.cshtml
+++ b/Host/Views/Product/Soft.cshtml
@@ -103,7 +103,7 @@
@@ -118,7 +118,7 @@
|