jufubao-movie 1.0.28 → 1.0.29-beta2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -165,6 +165,7 @@
|
|
|
165
165
|
v-if="!payCard"
|
|
166
166
|
:layoutInfo="layoutInfo"
|
|
167
167
|
:show.sync="showCardPay"
|
|
168
|
+
:payThird="!!payThird"
|
|
168
169
|
:payChannels="payChannels"
|
|
169
170
|
:jwxSDK="jwxSDK"
|
|
170
171
|
:validImageAPIUrl="validImageAPIUrl"
|
|
@@ -305,6 +306,10 @@
|
|
|
305
306
|
payCard(){
|
|
306
307
|
return this.otherPayMethod.find(item => item.method === 'card')
|
|
307
308
|
},
|
|
309
|
+
//是否支持三方支付、补差
|
|
310
|
+
payThird(){
|
|
311
|
+
return this.otherPayMethod.find(item => item.method === 'third')
|
|
312
|
+
},
|
|
308
313
|
//订单实际需要支付金额(减去各项已选,票券、钱包)
|
|
309
314
|
orderNeedPayPrice(){
|
|
310
315
|
let choseCardPay = this.choseCard ? this.choseCard.cardPayPrice : 0;
|
|
@@ -579,7 +584,13 @@
|
|
|
579
584
|
this.showCardPayChose = true;
|
|
580
585
|
return false;
|
|
581
586
|
}else{
|
|
582
|
-
|
|
587
|
+
//支持补差, 提示是否使用补差
|
|
588
|
+
if(this.payThird){
|
|
589
|
+
await this.handleConfirmAllWxPay();
|
|
590
|
+
}else{
|
|
591
|
+
//不支持补差,仅提示
|
|
592
|
+
return this.$xdAlert({content: "请选择兑换方式"})
|
|
593
|
+
}
|
|
583
594
|
}
|
|
584
595
|
}
|
|
585
596
|
this.useTickAndWalletPay(selected_card_list, selected_wallet_list);
|
|
@@ -724,9 +735,19 @@
|
|
|
724
735
|
})
|
|
725
736
|
}
|
|
726
737
|
else {
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
|
|
738
|
+
//支持补差, 跳转补差页
|
|
739
|
+
if(this.payThird){
|
|
740
|
+
this.$xdUniHelper.redirectTo({
|
|
741
|
+
url: this.payPath + `?order_id=${val['pay_order_id']}&main_order_id=${val['order_id']}`
|
|
742
|
+
})
|
|
743
|
+
}else{
|
|
744
|
+
this.$xdAlert({
|
|
745
|
+
content: '余额不足,请选择其他票券',
|
|
746
|
+
time: 1500,
|
|
747
|
+
isClose: false,
|
|
748
|
+
zIndex: 5000
|
|
749
|
+
});
|
|
750
|
+
}
|
|
730
751
|
}
|
|
731
752
|
},
|
|
732
753
|
|