diff --git a/Host/Views.Mobile/Product/buy.cshtml b/Host/Views.Mobile/Product/buy.cshtml
index 046aaf2..2a4abc2 100644
--- a/Host/Views.Mobile/Product/buy.cshtml
+++ b/Host/Views.Mobile/Product/buy.cshtml
@@ -425,7 +425,13 @@
if (item.CouponType == 1) {//满减
this.OneBuyModel.CouponAmount = item.CouponValue;
} else {
- this.OneBuyModel.CouponAmount = totalAmount * item.CouponValue * 0.1;
+ //亲 请勿非法操作呦^.^ 请按照正常的流程操作 我们后台是有记录滴
+ if($(".kaci").text() == '天卡'){
+ this.OneBuyModel.CouponAmount = totalAmount * item.CouponValue * 0.1;
+ } else {
+ alert('非天卡无效');
+ this.OneBuyModel.CouponId = '0';
+ }
}
return;
}
@@ -445,7 +451,13 @@
if (item.CouponType == 1) {//满减
this.MoreBuyModel.CouponAmount = item.CouponValue;
} else {
- this.MoreBuyModel.CouponAmount = totalAmount * item.CouponValue * 0.1;
+ //亲 请勿非法操作呦^.^ 请按照正常的流程操作 我们后台是有记录滴
+ if($(".kaci").text() == '天卡'){
+ this.MoreBuyModel.CouponAmount = totalAmount * item.CouponValue * 0.1;
+ } else {
+ alert('非天卡无效');
+ this.OneBuyModel.CouponId = '0';
+ }
}
return;
}
diff --git a/Host/Views.Mobile/Product/rebuy.cshtml b/Host/Views.Mobile/Product/rebuy.cshtml
index 2710c7d..bd3581d 100644
--- a/Host/Views.Mobile/Product/rebuy.cshtml
+++ b/Host/Views.Mobile/Product/rebuy.cshtml
@@ -206,7 +206,13 @@
if (item.CouponType == 1) {//满减
this.OneBuyModel.CouponAmount = item.CouponValue;
} else {
- this.OneBuyModel.CouponAmount = totalAmount * item.CouponValue * 0.1;
+ //亲 请勿非法操作呦^.^ 请按照正常的流程操作 我们后台是有记录滴
+ if($(".kaci").text() == '天卡'){
+ this.OneBuyModel.CouponAmount = totalAmount * item.CouponValue * 0.1;
+ } else {
+ alert('非天卡无效');
+ this.OneBuyModel.CouponId = '0';
+ }
}
return;
}
diff --git a/Host/Views/Product/buy.cshtml b/Host/Views/Product/buy.cshtml
index ab2588a..8b03b43 100644
--- a/Host/Views/Product/buy.cshtml
+++ b/Host/Views/Product/buy.cshtml
@@ -491,7 +491,13 @@
if (item.CouponType == 1) {//满减
this.OneBuyModel.CouponAmount = item.CouponValue;
} else {
- this.OneBuyModel.CouponAmount = totalAmount * item.CouponValue * 0.1;
+ //亲 请勿非法操作呦^.^ 请按照正常的流程操作 我们后台是有记录滴
+ if($(".sname").text() == '天卡'){
+ this.OneBuyModel.CouponAmount = totalAmount * item.CouponValue * 0.1;
+ } else {
+ alert('非天卡无效');
+ this.OneBuyModel.CouponId = '0';
+ }
}
return;
}
@@ -511,7 +517,13 @@
if (item.CouponType == 1) {//满减
this.MoreBuyModel.CouponAmount = item.CouponValue;
} else {
- this.MoreBuyModel.CouponAmount = totalAmount * item.CouponValue * 0.1;
+ //亲 请勿非法操作呦^.^ 请按照正常的流程操作 我们后台是有记录滴
+ if($(".sname").text() == '天卡'){
+ this.MoreBuyModel.CouponAmount = totalAmount * item.CouponValue * 0.1;
+ } else {
+ alert('非天卡无效');
+ this.OneBuyModel.CouponId = '0';
+ }
}
return;
}
diff --git a/Host/Views/Product/rebuy.cshtml b/Host/Views/Product/rebuy.cshtml
index e021365..10d699d 100644
--- a/Host/Views/Product/rebuy.cshtml
+++ b/Host/Views/Product/rebuy.cshtml
@@ -275,7 +275,13 @@
if (item.CouponType == 1) {//满减
this.OneBuyModel.CouponAmount = item.CouponValue;
} else {
- this.OneBuyModel.CouponAmount = totalAmount * item.CouponValue * 0.1;
+ //亲 请勿非法操作呦^.^ 请按照正常的流程操作 我们后台是有记录滴
+ if($(".sname").text() == '天卡'){
+ this.OneBuyModel.CouponAmount = totalAmount * item.CouponValue * 0.1;
+ } else {
+ alert('非天卡无效');
+ this.OneBuyModel.CouponId = '0';
+ }
}
return;
}