修复部分产品续费不跳转问题

This commit is contained in:
“wanyongkang”
2024-08-02 16:40:21 +08:00
parent 11dda1118a
commit 1a067bdc2c
2 changed files with 18 additions and 12 deletions

View File

@@ -879,6 +879,8 @@
var product_type_shuidi = '';//0:静态 1固态 var product_type_shuidi = '';//0:静态 1固态
var flag = 0; var flag = 0;
$.each($('input:checkbox:checked'), function () { $.each($('input:checkbox:checked'), function () {
var ppip = $(this).attr('a-pid');
if (ppip == '28') {
var type = $(this).attr('a-package').split('-')[0]; var type = $(this).attr('a-package').split('-')[0];
if (product_type_shuidi != '') { if (product_type_shuidi != '') {
if (product_type_shuidi != type) { if (product_type_shuidi != type) {
@@ -887,6 +889,7 @@
} else { } else {
product_type_shuidi = type; product_type_shuidi = type;
} }
}
var account = $(this).val(); var account = $(this).val();
if (account) { if (account) {
var accountItem = { var accountItem = {

View File

@@ -1303,6 +1303,8 @@
var product_type_shuidi = '';//0:静态 1固态 var product_type_shuidi = '';//0:静态 1固态
var flag = 0; var flag = 0;
$.each($('input:checkbox:checked'), function () { $.each($('input:checkbox:checked'), function () {
var ppip = $(this).attr('a-pid');
if (ppip == '28') {
var type = $(this).attr('a-package').split('-')[0]; var type = $(this).attr('a-package').split('-')[0];
if (product_type_shuidi != '') { if (product_type_shuidi != '') {
if (product_type_shuidi != type) { if (product_type_shuidi != type) {
@@ -1311,6 +1313,7 @@
} else { } else {
product_type_shuidi = type; product_type_shuidi = type;
} }
}
var account = $(this).val(); var account = $(this).val();
if (account) { if (account) {
var accountItem = { var accountItem = {