|
|
@@ -504,6 +504,27 @@ export default {
|
|
|
this.tradeCode = '';
|
|
|
this.$toast(e.error || '支付失败');
|
|
|
});
|
|
|
+ } else if (this.payType === 'ALI') {
|
|
|
+ this.$http
|
|
|
+ .get('/payOrder/v2/auction/ali', { id: this.orderId, companyId: this.companyId })
|
|
|
+ .then(res => {
|
|
|
+ this.$toast.clear();
|
|
|
+ this.hrefUrl = res;
|
|
|
+ this.$nextTick(() => {
|
|
|
+ document.getElementById('pay').click();
|
|
|
+ });
|
|
|
+
|
|
|
+ this.$toast.loading({
|
|
|
+ message: '加载中...',
|
|
|
+ forbidClick: true
|
|
|
+ });
|
|
|
+ this.getOrder(true);
|
|
|
+ })
|
|
|
+ .catch(e => {
|
|
|
+ if (e.error) {
|
|
|
+ this.$toast(e.error);
|
|
|
+ }
|
|
|
+ });
|
|
|
}
|
|
|
});
|
|
|
} else {
|