caimei-hlbpay.js 24 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552
  1. /**
  2. *Created by ZHJY on 2020/7/14.
  3. */
  4. var payContainer = new Vue({
  5. el:"#payContainer",
  6. mixins: [cardsMixns,hlbPayMixin,cmSysVitaMixins],
  7. data: {
  8. isSubMitStatus:false,
  9. payInfo:{
  10. payBankNum: '', //支付类型
  11. shopOrderId: '', //订单ID
  12. obligation: '', //待支付金额
  13. payAmount: 0,//本次支付金额
  14. payMobileUrl: '',//二维码生成链接
  15. payData:{}, //支付数据
  16. payUserType:'B2B',
  17. payType:'1',
  18. },
  19. iframe:'',
  20. orderFlag:1,// 是否是订单 0非订单 1订单
  21. couponInfo:{},
  22. bankListB2BData:[],// 企业网银银行列表
  23. bankListB2CData:[],// 个人网银银行列表
  24. methodTab:['线上支付','转账支付'],
  25. mobileData:[
  26. {imgUrl:'/img/pay/iconbank-ali@2x.png',bankName:'支付宝支付',bankNum:'ALIPAY'},
  27. {imgUrl:'/img/pay/iconbank-wx@2x.png',bankName:'微信支付',bankNum:'WEIXIN'},
  28. {imgUrl:'/img/pay/iconbank-B2Bbank@2x.png',bankName:'网银支付',bankNum:'ICBC_B2B'},
  29. {imgUrl:'/img/pay/iconbank-B2Cbank@2x.png',bankName:'个人网银',bankNum:'ICBC_B2C'}
  30. ],
  31. pageType:'',//页面跳转类型 1 二手支付
  32. obligation:'',//订单待付金额
  33. payableAmount:'',//应付金额
  34. receiptAmount:'',//已支付金额
  35. balanceAmount:'',//应付剩余金额
  36. payAmount:'',//本次支付金额
  37. paymentIimit:50000,
  38. paymentIimitText:'',
  39. discernReceiptList:[],//支付记录列表
  40. mbOrderId:'',//支付订单ID
  41. bigPayInfo:{},// 银联转账信息
  42. BankUserType:1,
  43. mobileTabIndex:null,
  44. bankTabIndex:0,
  45. isRequest:false,
  46. isPayAlert:false,
  47. isPaySwitch:false,
  48. paySuccessCounter:'',
  49. bankPayLink_url:'',
  50. invoiceStatus:false,
  51. isReceiptStatus:false,
  52. onlinePay:'',
  53. QuickPayFlag: false,//快捷支付开关
  54. B2BpayFlag: false,//企业网银支付开关
  55. is_Wechat_bowcr:false, // 是否是微信浏览器
  56. weChatFlag: false, // 微信支付开关
  57. aliPayFlag: false, // 支付宝支付开关
  58. svipPayFlag: false, // 是否支付开通超级会员
  59. payStatusText:'支付全部金额后,供应商会在24小时后发货,周末、节假日顺延。',
  60. productID:'',//发布商品的ID
  61. comboInfo: null, //选中的svip套餐信息
  62. vipRecordId: undefined,
  63. couponRecordId:undefined,
  64. couponId:undefined,
  65. userId:0,
  66. orderId:0,
  67. list: [],// 快捷支付我的银行
  68. },
  69. filters: {
  70. NumFormat:function(value) {
  71. if(!value) return '0.00';
  72. var intPart = Number(value) - Number(value)%1; //获取整数部分(这里是windy93的方法)
  73. var intPartFormat = intPart.toString().replace(/(\d)(?=(?:\d{3})+$)/g, '$1,'); //将整数部分逢三一断
  74. var floatPart = ".00"; //预定义小数部分
  75. var value2Array = value.toString().split(".");
  76. if(value2Array.length == 2) { //=2表示数据有小数位
  77. floatPart = value2Array[1].toString(); //拿到小数部分
  78. if(floatPart.length == 1) { //补0,实际上用不着
  79. return intPartFormat + "." + floatPart + '0';
  80. } else {
  81. return intPartFormat + "." + floatPart;
  82. }
  83. } else {
  84. return intPartFormat + floatPart;
  85. }
  86. }
  87. },
  88. computed: {
  89. showAliPayMode(){
  90. return !this.is_Wechat_bowcr && (this.aliPayFlag || this.svipPayFlag)
  91. },
  92. showWeChatPayMode(){
  93. return this.weChatFlag || this.svipPayFlag
  94. },
  95. showB2BpayMode(){
  96. return this.B2BpayFlag || this.svipPayFlag
  97. },
  98. showQuickpayMode() {
  99. return this.QuickPayFlag
  100. }
  101. },
  102. methods: {
  103. initCouponDetail:function (couponId) {//初始化优惠券数据
  104. const _self = this;
  105. ProductApi.QueryCouponDetail({ couponId: couponId },function (response) {
  106. if(response.code == 0){
  107. _self.couponInfo = response.data
  108. if(globalUserData){
  109. _self.userId = globalUserData.userId;
  110. }
  111. }else{
  112. CAIMEI.Alert(response.msg, '确定', false);
  113. }
  114. })
  115. },
  116. infoPayOrderCheckoutCounter:function(){//初始化子订单数据
  117. const _self = this;
  118. PayApi.PayOrderCheckoutShoporders({shopOrderId:_self.payInfo.shopOrderId},function(response){
  119. if(response.code == 0){
  120. console.log(response);
  121. var data = response.data; //金额初始化
  122. _self.payInfo.payAmount = (data.shopOrder.realPay - data.shopOrder.receiptAmount).toFixed(2);
  123. _self.discernReceiptList = data.discernReceipt;// 支付记录
  124. _self.payInfo.obligation = data.shopOrder.obligation;
  125. _self.orderId = data.shopOrder.orderId;// 主订单Id
  126. _self.obligation = data.shopOrder.obligation;// 待付金额
  127. _self.payableAmount = data.shopOrder.realPay;
  128. _self.receiptAmount = data.shopOrder.receiptAmount;
  129. _self.balanceAmount = (_self.obligation*100 - _self.payInfo.payAmount*100)/100;
  130. _self.payAmount = (_self.payableAmount - _self.receiptAmount).toFixed(2);
  131. _self.paySuccessCounter = data.shopOrder.paySuccessCounter;
  132. _self.onlinePay = data.onlinePay;
  133. _self.isRequest = true;
  134. // 支付方式配置
  135. _self.checkPayMode(data.onlinePayWays)
  136. _self.PayOrderOnLineSwitch();
  137. }else{
  138. CAIMEI.Alert(response.msg,'确定',false);
  139. }
  140. })
  141. },
  142. // 校验支付模式
  143. checkPayMode(range){
  144. // test range = '4'
  145. // 1微信 2支付宝 3个人网银 4企业网银
  146. this.weChatFlag = range.indexOf('1') > -1
  147. this.aliPayFlag = range.indexOf('2') > -1
  148. this.B2BpayFlag = range.indexOf('4') > -1
  149. this.QuickPayFlag = range.indexOf('5') > -1
  150. // 设置默认支付方式
  151. if(this.QuickPayFlag){
  152. this.mobileTabIndex = 4
  153. }else{
  154. this.mobileTabIndex = this.aliPayFlag ? 0 : this.weChatFlag ? 1 : this.B2BpayFlag ? 2 : 3
  155. }
  156. },
  157. getBankList () {// 获取网银支付银行列表
  158. const _self = this;
  159. PayApi.PayGetBankCode({},function(response){
  160. if(response.code === 0){
  161. _self.bankListB2BData = response.data.B2B;
  162. _self.bankListB2CData = response.data.B2C;
  163. }else{
  164. console.log('获取网银支付银行列表异常')
  165. }
  166. })
  167. },
  168. PayOrderOnLineSwitch(){//获取是否可以先上支付
  169. const _self = this;
  170. PayApi.PayOrderOnLineSwitch({},function(response){
  171. if(response.code === 0){
  172. if(response.data === 0){
  173. _self.isPaySwitch = true;
  174. if (_self.pageType === '2') {
  175. CAIMEI.dialog('支付系统遇到点小问题,请稍后重试', false);
  176. return;
  177. }
  178. CAIMEI.Alert('线上支付功能正在维护中,请前往查看线下转账方式进行付款','确定',true,function(){
  179. window.location.href= '/pay/caimei-payunder.html?orderId='+_self.orderId;
  180. });
  181. }
  182. }else{
  183. CAIMEI.Alert(response.msg,'确定',false);
  184. }
  185. })
  186. },
  187. PayMobileSubmitFn:function(){//点击移动支付方式
  188. const _self = this;
  189. if(_self.isPaySwitch && _self.pageType === '2'){
  190. CAIMEI.dialog('支付系统遇到点小问题,请稍后重试', false);
  191. return;
  192. }
  193. if(_self.pageType === '3'){// 移动支付优惠券
  194. _self.PayCouponMiniPayFn();
  195. }else{
  196. if(_self.payInfo.payBankNum == ''){
  197. CAIMEI.dialog('请选择支付方式');
  198. return;
  199. }
  200. if(_self.payAmount == ''){
  201. CAIMEI.dialog('请输入本次支付金额');
  202. return;
  203. }
  204. if(_self.payAmount == 0){
  205. CAIMEI.dialog('本次支付金额不能为0');
  206. return;
  207. }
  208. if(_self.payAmount*100 < 2){
  209. CAIMEI.dialog('本次支付金额必须大于¥0.02');
  210. return;
  211. }
  212. if(_self.payAmount > _self.paymentIimit){
  213. switch (_self.payInfo.payBankNum) {
  214. case 'WEIXIN':
  215. _self.paymentIimitText = '本次支付金额已超出微信支付限额,请输入小于5万的金额进行支付。';
  216. break;
  217. case 'ALIPAY':
  218. _self.paymentIimitText = '本次支付金额已超出支付宝限额,请输入小于5万的金额进行支付。';
  219. break;
  220. }
  221. CAIMEI.Alert(_self.paymentIimitText,'知道了');
  222. return;
  223. }
  224. if(_self.payInfo.payBankNum == "WEIXIN"){// 微信
  225. if(_self.pageType === '1'){ // 二手
  226. _self.hlb_PaySecondMiniWxPay();
  227. }else if(_self.pageType === '2'){ // 会员
  228. _self.hlb_PayVipMiniWxPay();
  229. }else{ // 正常订单
  230. _self.hlb_PayOrderMiniWxPay();
  231. }
  232. }else if(_self.payInfo.payBankNum == "ALIPAY"){// 支付宝
  233. if(_self.pageType === '1'){// 二手
  234. _self.hlb_PayOrdersecondScanAliPay();
  235. }else if(_self.pageType === '2'){ // 会员
  236. _self.hlb_PayVipScanAliPay();
  237. }else{// 正常订单
  238. _self.hlb_PayOrderPcScanAliPay();
  239. }
  240. }
  241. }
  242. },
  243. PaySubmitFn(){//点击网银支付方式
  244. if(this.isPaySwitch && this.pageType === '2'){
  245. CAIMEI.dialog('支付系统遇到点小问题,请稍后重试', false);
  246. return;
  247. }
  248. if(this.pageType === '3'){// 网银支付优惠券
  249. if(this.payInfo.payBankNum == ''){
  250. CAIMEI.dialog('请选择银行!');
  251. return;
  252. }
  253. this.hlb_PayCouponUnionPayFn();
  254. }else{
  255. if(this.payInfo.payBankNum == ''){
  256. CAIMEI.dialog('请选择银行!');
  257. return;
  258. }
  259. if(this.payAmount <= 10){
  260. CAIMEI.dialog('网银支付的金额必须大于¥10.00');
  261. return;
  262. }
  263. if( this.orderFlag === 1 && this.mobileTabIndex === 2){
  264. if(this.payAmount !== this.obligation){
  265. CAIMEI.Alert('企业网银支付每次收取的手续费较高,建议一次性全额付款。','确定',false);
  266. return;
  267. }
  268. }
  269. if(this.pageType === '1'){// 二手
  270. this.hlb_PayOrdersecondUnion();
  271. } else if (this.pageType === '2') { // 会员
  272. this.hlb_PayVipPcMallPay();
  273. } else {// 正常订单
  274. this.hlb_PayOrderPcMallPay();
  275. }
  276. }
  277. },
  278. handleQuickPay(){
  279. //快捷支付
  280. if(this.pageType === '1'){// 二手
  281. this.orderPayQuickPay();
  282. } else if (this.pageType === '2') { // 会员
  283. this.orderPayQuickPay();
  284. } else if (this.pageType === '3') { // 优惠券
  285. this.orderPayQuickPay();
  286. } else {// 正常订单
  287. this.orderPayQuickPay();
  288. }
  289. },
  290. PayCouponMiniPayFn () { // 移动支付购买优惠券
  291. const _self = this;
  292. if(this.payInfo.payBankNum == "WEIXIN"){
  293. this.hlb_PayCouponMiniWxPay();
  294. }else if(this.payInfo.payBankNum == "ALIPAY"){//支付宝支付
  295. this.hlb_PayCouponAliPay();
  296. }
  297. },
  298. changePayAmount(event){//输入支付金额控制
  299. const _self = this;
  300. const value = event.target.value;
  301. if(value === "" || value <0 ){//判断是否等于0 或者为空
  302. this.payAmount = '';
  303. this.payInfo.payAmount = this.payInfo.obligation;
  304. this.balanceAmount = this.toFixedFn(this.payInfo.obligation);
  305. }else if(Number(value) > this.payInfo.obligation){//判断大于应付金额
  306. this.payAmount = this.payInfo.obligation;
  307. this.payInfo.payAmount = this.payAmount;
  308. this.balanceAmount = this.toFixedFn(this.payInfo.obligation-this.payInfo.payAmount);
  309. }else{
  310. this.payAmount = value;
  311. this.payInfo.payAmount = this.payAmount;
  312. this.balanceAmount = this.toFixedFn(this.payInfo.obligation-this.payInfo.payAmount);
  313. }
  314. },
  315. changePayAmountBlur(event){//失去焦点设置金额
  316. const _self = this;
  317. this.payAmount = this.toFixedFn(event.target.value);
  318. this.payInfo.payAmount = this.payAmount;
  319. },
  320. changeTab(index,item){//选择支付方式切换
  321. this.tabIndex = index;
  322. switch (this.tabIndex) {
  323. case 0:
  324. this.payInfo.payBankNum = 'ALIPAY';
  325. break;
  326. case 1:
  327. this.payInfo.payBankNum = '';
  328. break;
  329. }
  330. },
  331. checkMobilePay(index,bankNum){//选择移动支付方式
  332. this.current = '';
  333. this.mobileTabIndex = index;
  334. this.payInfo.payBankNum = bankNum;
  335. switch (index) {
  336. case 2:// 企业网银
  337. this.bankTabIndex = 0
  338. this.payInfo.payType = '1';
  339. this.payInfo.payUserType = 'B2B';
  340. this.payInfo.payBankNum = this.bankListB2BData[0].b2B;
  341. break;
  342. case 3:// 个人网银
  343. this.bankTabIndex = 0
  344. this.payInfo.payType = '2';
  345. this.payInfo.payUserType = 'B2C';
  346. this.payInfo.payBankNum = this.bankListB2CData[0].b2C;
  347. break;
  348. }
  349. },
  350. checkBankPay(index,item){//选择网银支付方式-选择银行
  351. var _self = this;
  352. _self.bankTabIndex = index;
  353. switch (_self.mobileTabIndex) {
  354. case 2:// 企业网银
  355. _self.payInfo.payBankNum = item.b2B;
  356. break;
  357. case 3:// 个人网银
  358. _self.payInfo.payBankNum = item.b2C;
  359. break;
  360. }
  361. },
  362. copyLinkPaySubmitFn(){//复制网银支付链接
  363. var _self = this;
  364. if(_self.isPaySwitch && _self.pageType === '2'){
  365. CAIMEI.dialog('支付系统遇到点小问题,请稍后重试', false);
  366. return;
  367. }
  368. if(_self.payAmount == ''){
  369. CAIMEI.dialog('请输入本次支付金额');
  370. return;
  371. }
  372. if(_self.payAmount == 0){
  373. CAIMEI.dialog('本次支付金额不能为0');
  374. return;
  375. }
  376. if(_self.payAmount <= 10){
  377. CAIMEI.dialog('网银支付的金额必须大于¥12.00');
  378. return;
  379. }
  380. if( _self.orderFlag === 1 && _self.mobileTabIndex === 2){
  381. if(_self.payAmount !== _self.payableAmount){
  382. CAIMEI.Alert('企业网银支付每次收取的手续费较高,建议一次性全额付款。','确定',false);
  383. return;
  384. }
  385. }
  386. let params = {};
  387. if(_self.pageType === 2){
  388. params = {
  389. unpaidAmount:_self.payAmount,
  390. vipRecordId: _self.vipRecordId,
  391. payType:_self.payInfo.payType,
  392. }
  393. }else{
  394. params = {
  395. unpaidAmount:_self.payAmount,
  396. shopOrderId:_self.payInfo.shopOrderId,
  397. payType:_self.payInfo.payType
  398. }
  399. }
  400. _self.hlb_CopyLinkPaySubmitFn(params)
  401. },
  402. hidePayAlert(){//隐藏已支付弹窗
  403. var _self = this;
  404. _self.isPayAlert = false;
  405. },
  406. RefreshBody(){//刷新页面
  407. var _self = this;
  408. if(_self.payInfo.payBankNum == 'WEIXIN'){
  409. if( _self.pageType == '2' ){ // 验证支付(支付会员)
  410. PayApi.PayOrderPayVipCheck({recordId : _self.vipRecordId},function(response){
  411. // console.log(response);
  412. if(response.code === 0){
  413. _self.windowLocationHref('success');
  414. }else{
  415. _self.windowLocationHref('error');
  416. }
  417. });
  418. }else if(_self.pageType == '3'){ // 验证支付(优惠券)
  419. PayApi.PayOrderPayCouponCheck({ couponRecordId: _self.couponRecordId },function(response){
  420. // console.log(response);
  421. if(response.code === 0){
  422. _self.windowLocationHref('success');
  423. }else{
  424. _self.windowLocationHref('error');
  425. }
  426. });
  427. }else{
  428. PayApi.PayOrderPayWhetherSuccess({shopOrderId: _self.payInfo.shopOrderId, paySuccessCounter:_self.paySuccessCounter,shopOrderId:_self.payInfo.shopOrderId},function(response){
  429. _self.isPayAlert = false;
  430. if(response.code === 0){
  431. _self.windowLocationHref('success');
  432. }else{
  433. _self.windowLocationHref('error');
  434. }
  435. });
  436. }
  437. }else if(_self.payInfo.payBankNum == 'ALIPAY'){// 校验支付宝支付成功
  438. PayApi.PayOrderFindOrderStatus({mbOrderId:_self.mbOrderId,orderFlag:_self.orderFlag,shopOrderId:_self.payInfo.shopOrderId},function(response){
  439. if(response.code === 0){
  440. _self.isPayAlert = false;
  441. var data = response.data;
  442. if(data.rt7_orderStatus === 'SUCCESS'){
  443. _self.windowLocationHref('success');
  444. }else{
  445. _self.windowLocationHref('error');
  446. }
  447. }else{
  448. CAIMEI.Alert(response.msg,'确定',false);
  449. }
  450. });
  451. }else{// 校验网银支付成功
  452. PayApi.PayOrderUnionStatus({mbOrderId:_self.mbOrderId,orderFlag:_self.orderFlag,shopOrderId:_self.payInfo.shopOrderId},function(response){
  453. if(response.code === 0){
  454. _self.isPayAlert = false;
  455. var data = response.data;
  456. if(data.rt10_orderStatus === 'SUCCESS'){
  457. _self.windowLocationHref('success');
  458. }else{
  459. _self.windowLocationHref('error');
  460. }
  461. }else{
  462. CAIMEI.Alert(response.msg,'确定',false);
  463. }
  464. });
  465. }
  466. },
  467. windowLocationHref(state){
  468. const _self = this;
  469. if( _self.pageType === '1'){
  470. window.location.href = '/pay/success.html?pageType=second&type='+state+'&payAmount='+_self.payAmount;
  471. }else if(_self.pageType === '2'){
  472. window.location.href = '/pay/success.html?pageType=vip&type='+state+'&payAmount='+_self.payAmount;
  473. }else if(_self.pageType === '3') {
  474. window.location.href = '/pay/success.html?pageType=coupon&type=' + state + '&payAmount=' + _self.couponInfo.moneyCouponPrice;
  475. }else{
  476. window.location.href = '/pay/success.html?pageType=www&type='+state+'&payAmount='+_self.payAmount;
  477. }
  478. },
  479. payTypeText(record) {
  480. //处理支付记录文字
  481. const map = {
  482. 12: '企业网银',
  483. 13: '微信支付',
  484. 14: '支付宝',
  485. 15: '微信支付',
  486. 16: '余额抵扣',
  487. }
  488. if(record.payType === 28 || record.payType === 29 ){
  489. return record.quickPayStr
  490. }else{
  491. return map[record.payType]
  492. }
  493. },
  494. toFixedFn(text){//处理小数点后两位数
  495. return Number(text).toFixed(2);
  496. },
  497. },
  498. mounted () {
  499. const _self = this;
  500. // 判断当前支付是订单支付
  501. this.pageType = CAIMEI.getUrlParam('pageType');
  502. if (this.pageType === '1') {//二手
  503. this.productID = CAIMEI.getUrlParam('productID');
  504. this.payAmount = _self.toFixedFn(100);
  505. this.isRequest = true;
  506. this.payStatusText = '';
  507. this.orderFlag = 0;
  508. } else if (this.pageType === '2') { // 支付会员
  509. this.svipPayFlag = true;
  510. this.orderFlag = 0;
  511. this.vipRecordId = this.params.vipRecordId = parseInt(CAIMEI.getUrlParam('vipRecordId'));
  512. this.params.quickPayFlag = 2;
  513. this.PayOrderOnLineSwitch();
  514. // 从本地获取选中的svip套餐信息后删除本地信息
  515. this.comboInfo = JSON.parse(CAIMEI.Storage.getItem('comboInfo'));
  516. // CAIMEI.Storage.removeItem('comboInfo');
  517. // 设置支付金额
  518. this.payAmount = this.toFixedFn(this.comboInfo.price);
  519. // 获取银行列表
  520. this.getBankList();
  521. this.userClubBanks()
  522. } else if(this.pageType === '3') {// 支付优惠券
  523. this.orderFlag = 0;
  524. this.couponId = this.params.couponId = parseInt(CAIMEI.getUrlParam('couponId'));
  525. this.couponRecordId = this.params.couponRecordId = parseInt(CAIMEI.getUrlParam('couponRecordId'));
  526. this.params.quickPayFlag = 4;
  527. this.initCouponDetail(this.couponId);
  528. this.PayOrderOnLineSwitch();
  529. this.getBankList();
  530. this.userClubBanks()
  531. }else{
  532. this.orderFlag = 1;
  533. this.payInfo.shopOrderId = this.params.shopOrderId = CAIMEI.getUrlParam('shopOrderId');
  534. this.params.quickPayFlag = 1;
  535. // 获取银行列表
  536. this.getBankList();
  537. this.userClubBanks()
  538. //正常订单初始化
  539. this.infoPayOrderCheckoutCounter();
  540. }
  541. var viewer = window.navigator.userAgent.toLowerCase();
  542. if(viewer.match(/MicroMessenger/i) == 'micromessenger'){
  543. this.is_Wechat_bowcr = true;
  544. this.payInfo.payBankNum = 'WEIXIN';
  545. this.mobileTabIndex = 1;
  546. }else{
  547. this.is_Wechat_bowcr = false;
  548. this.payInfo.payBankNum = 'ALIPAY';
  549. this.mobileTabIndex = 0;
  550. }
  551. }
  552. });