|
@@ -551,9 +551,9 @@
|
|
|
// 去支付
|
|
|
mui('body').on('tap', '.btn-weixin-pay', function() {
|
|
|
mui.alert('由于春节期间快递停运,本商城于1月30日-2月13日暂停发货,将延迟至2月14日统一发货。给您带来的不便,敬请见谅!','温馨提示',function () {
|
|
|
- if($("#forward input[yhq_type=3]").prop("checked") && (t1==0 || t2==0)){
|
|
|
+ /*if($("#forward input[yhq_type=3]").prop("checked") && ((t1<=1 && t2==0) || (t1==0 && t2<=1))){
|
|
|
console.log(exchangeColorId)
|
|
|
- }
|
|
|
+ }*/
|
|
|
var yhq_id = $("input[name=radio1]:checked").attr('id');
|
|
|
if(yhq_id == undefined) {
|
|
|
yhq_id = "";
|
|
@@ -594,7 +594,7 @@
|
|
|
"couponId": yhq_id,
|
|
|
"balancePayAmount": accMul(ipt_balance, 100)
|
|
|
};
|
|
|
- if($("#forward input[yhq_type=3]").prop("checked") && (t1==0 || t2==0)){
|
|
|
+ if($("#forward input[yhq_type=3]").prop("checked") && ((t1<=1 && t2==0) || (t1==0 && t2<=1))){
|
|
|
dataArgs["exchangeColorId"] = exchangeColorId;
|
|
|
}
|
|
|
mui.ajax('/watero/wechat/order/pay', { // 提交订单,准备支付
|