新增支付
This commit is contained in:
parent
df1ff62b01
commit
79791f71f1
|
|
@ -162,6 +162,10 @@ export default {
|
|||
case "convergePaySeparate":
|
||||
case "wechatCpsAppPay":
|
||||
case "huibeiWechatPay":
|
||||
case "T_JSAPI":
|
||||
case "T_MINIAPP":
|
||||
case "T_H5":
|
||||
case "T_NATIVE":
|
||||
icon_url = "icon-pay_wechat";
|
||||
break;
|
||||
case "alipay":
|
||||
|
|
@ -178,6 +182,8 @@ export default {
|
|||
case "convergeAliPaySeparate":
|
||||
case "sandpayAlipay":
|
||||
case "huibeiAliPay":
|
||||
case "A_JSAPI":
|
||||
case "A_NATIVE":
|
||||
icon_url = "icon-pay_alipay";
|
||||
break;
|
||||
case "balance":
|
||||
|
|
|
|||
|
|
@ -867,6 +867,7 @@ export const yzPay = {
|
|||
},
|
||||
//支付按钮class
|
||||
getIconUrl(item) {
|
||||
console.log(item);
|
||||
let icon_url = "";
|
||||
switch (item.code) {
|
||||
case "wechatPay":
|
||||
|
|
@ -883,6 +884,7 @@ export const yzPay = {
|
|||
case "convergePaySeparate":
|
||||
case "wechatCpsAppPay":
|
||||
case "huibeiWechatPay":
|
||||
case "wxhftx":
|
||||
icon_url = "icon-pay_wechat";
|
||||
break;
|
||||
case "alipay":
|
||||
|
|
@ -898,6 +900,7 @@ export const yzPay = {
|
|||
case "alipayAggregatePay":
|
||||
case "convergeAliPaySeparate":
|
||||
case "huibeiAliPay":
|
||||
case "alipayhftx":
|
||||
icon_url = "icon-pay_alipay";
|
||||
break;
|
||||
case "balance":
|
||||
|
|
@ -965,11 +968,13 @@ export const yzPay = {
|
|||
let that = this;
|
||||
// type-1 微信, type-2 支付宝,type-7 APP微信, type-8 APP支付宝 ,type-6 云收银支付,type-3 余额支付 type 28 微信支付-汇聚 type 29 支付宝支付-汇聚
|
||||
// type-79 支付宝-商云客聚合,type-78 商云客支付---微信,
|
||||
if (this.isclick) {
|
||||
// 控制支付请求多次
|
||||
Toast("还在请求支付,请等待~");
|
||||
return;
|
||||
}
|
||||
// if (this.isclick) {
|
||||
// // 控制支付请求多次
|
||||
// Toast("还在请求支付,请等待~");
|
||||
// return;
|
||||
// }
|
||||
console.log(type);
|
||||
|
||||
|
||||
this.isclick = true;
|
||||
if (type == 1) {
|
||||
|
|
@ -1194,7 +1199,7 @@ export const yzPay = {
|
|||
// 新整合支付方式,后端进行归类
|
||||
// 按返回的类型进行处理
|
||||
console.log('走新整合支付方式====');
|
||||
this.newPayQuick({ order_pay_id: this.order_pay_id, code: btn.code });
|
||||
this.newPayQuick({ order_pay_id: this.order_pay_id, code: btn.code ,pay_type_id:type});
|
||||
}
|
||||
},
|
||||
async newPayQuick(params = {}){
|
||||
|
|
|
|||
Loading…
Reference in New Issue