|
@@ -12,7 +12,8 @@ var payContainer = new Vue({
|
|
|
PAY_PAYAMOUNT: 0,//本次支付金额
|
|
|
PAY_MOBILE_URL: '',//二维码生成链接
|
|
|
PAY_DATA:{}, //支付数据
|
|
|
- PAY_USERTYPE:'ENTERPRISE'
|
|
|
+ PAY_USERTYPE:'ENTERPRISE',
|
|
|
+ PAY_TYPE:'',
|
|
|
},
|
|
|
B2BbankData:[
|
|
|
{imgUrl:'/img/pay/iconbank-01@2x.png',bankName:'中国工商银行',bankNum:'ICBC_B2B'},
|
|
@@ -277,7 +278,6 @@ var payContainer = new Vue({
|
|
|
productId:_self.productID,
|
|
|
userType:_self.payInfo.PAY_USERTYPE,
|
|
|
};
|
|
|
- debugger
|
|
|
_self.PayOrdersecondHandPay(params,_self.payInfo.PAY_BANK_NUM);
|
|
|
}else{
|
|
|
var params = {//正常订单
|
|
@@ -288,7 +288,6 @@ var payContainer = new Vue({
|
|
|
orderId:_self.payInfo.PAY_ORDERID,
|
|
|
userType:_self.payInfo.PAY_USERTYPE
|
|
|
};
|
|
|
- debugger
|
|
|
_self.PayOrderPcMallPay(params,_self.payInfo.PAY_BANK_NUM);
|
|
|
}
|
|
|
}
|
|
@@ -403,8 +402,10 @@ var payContainer = new Vue({
|
|
|
this.mobileTabIndex = index;
|
|
|
this.payInfo.PAY_BANK_NUM = bankNum;
|
|
|
if( this.mobileTabIndex==2){
|
|
|
+ this.payInfo.PAY_TYPE = '1';
|
|
|
this.payInfo.PAY_USERTYPE = 'ENTERPRISE';
|
|
|
}else if(this.mobileTabIndex == 3){
|
|
|
+ this.payInfo.PAY_TYPE = '2';
|
|
|
this.payInfo.PAY_USERTYPE = 'USER';
|
|
|
}
|
|
|
},
|
|
@@ -429,7 +430,7 @@ var payContainer = new Vue({
|
|
|
CAIMEI.dialog('企业网银支付的金额必须大于¥10.00');
|
|
|
return;
|
|
|
}
|
|
|
- PayApi.PayOrderPayLink({unpaidAmount:_self.payAmount,orderId:_self.payInfo.PAY_ORDERID},function(response){
|
|
|
+ PayApi.PayOrderPayLink({unpaidAmount:_self.payAmount,orderId:_self.payInfo.PAY_ORDERID,payType:_self.payInfo.PAY_TYPE},function(response){
|
|
|
_self.bankPayLink_url = response.data;
|
|
|
var oInput = document.createElement("textarea");
|
|
|
oInput.value = _self.bankPayLink_url;
|