Commit d65e2586 authored by youjie's avatar youjie

支付提示

parent 5b9cc410
...@@ -612,25 +612,25 @@ ...@@ -612,25 +612,25 @@
}, },
fail: function(err) { fail: function(err) {
that.submit = true; that.submit = true;
that.successVisible = true // that.successVisible = true
// uni.showToast({ uni.showToast({
// title: "支付失败", title: "支付失败",
// icon: "none", icon: "none",
// }); });
setTimeout(() => { setTimeout(() => {
// uni.redirectTo({ // uni.redirectTo({
// url: "/pages/bus/orderdetails?orderId=" + that.ErpOrderId, // url: "/pages/bus/orderdetails?orderId=" + that.ErpOrderId,
// }); // });
// let OrderTypeStr = '' let OrderTypeStr = ''
// // #ifdef MP-DI // #ifdef MP-DI
// OrderTypeStr = '12,13,14' OrderTypeStr = '12,13,14'
// // #endif // #endif
// // #ifdef MP-AG // #ifdef MP-AG
// OrderTypeStr = '5' OrderTypeStr = '5'
// // #endif // #endif
// uni.redirectTo({ uni.redirectTo({
// url: `/pages/AggregateOrders/AggregateOrdersList?OrderTypeStr=${OrderTypeStr}`, url: `/pages/AggregateOrders/AggregateOrdersList?OrderTypeStr=${OrderTypeStr}`,
// }); });
}, 100); }, 100);
}, },
}); });
...@@ -989,14 +989,14 @@ ...@@ -989,14 +989,14 @@
this.submitB2COrderHandler(tempData.Id) this.submitB2COrderHandler(tempData.Id)
// #endif // #endif
// #ifdef MP-AG // #ifdef MP-AG
// uni.showToast({ uni.showToast({
// title: '订单创建成功.', title: '订单创建成功.',
// icon: 'none' icon: 'none'
// }) })
this.successVisible = true // this.successVisible = true
// uni.redirectTo({ uni.redirectTo({
// url: `/pages/AggregateOrders/AggregateOrdersList?OrderTypeStr=5`, url: `/pages/AggregateOrders/AggregateOrdersList?OrderTypeStr=5`,
// }); });
// #endif // #endif
} else { } else {
uni.showToast({ uni.showToast({
......
...@@ -617,26 +617,25 @@ ...@@ -617,26 +617,25 @@
}, },
fail: function(err) { fail: function(err) {
that.submit = true; that.submit = true;
that.successVisible = true // that.successVisible = true
// uni.showToast({ uni.showToast({
// title: "支付失败", title: "支付失败",
// icon: "none", icon: "none",
// }); });
setTimeout(() => { setTimeout(() => {
// uni.redirectTo({ // uni.redirectTo({
// url: "/pages/hotel/orderdetails?orderId=" + item.ErpOrderId, // url: "/pages/hotel/orderdetails?orderId=" + item.ErpOrderId,
// }); // });
// let OrderTypeStr = '' let OrderTypeStr = ''
// // #ifdef MP-DI // #ifdef MP-DI
// OrderTypeStr = '8,9,10,11' OrderTypeStr = '8,9,10,11'
// // #endif // #endif
// // #ifdef MP-AG // #ifdef MP-AG
// OrderTypeStr = '7' OrderTypeStr = '7'
// // #endif // #endif
// uni.redirectTo({ uni.redirectTo({
// url: `/pages/AggregateOrders/AggregateOrdersList?OrderTypeStr=${OrderTypeStr}`, url: `/pages/AggregateOrders/AggregateOrdersList?OrderTypeStr=${OrderTypeStr}`,
// }); });
}, 100); }, 100);
}, },
}); });
......
...@@ -758,16 +758,16 @@ ...@@ -758,16 +758,16 @@
fail: function(err) { fail: function(err) {
console.log("fail:", err); console.log("fail:", err);
that.submit = false; that.submit = false;
that.successVisible = true // that.successVisible = true
// uni.showToast({ uni.showToast({
// title: "支付失败", title: "支付失败",
// icon: "none", icon: "none",
// }); });
// setTimeout(() => { setTimeout(() => {
// uni.redirectTo({ uni.redirectTo({
// url: "/pages/jiuzhai/jz_SureOrder?OrderNo=" + OrderNo, url: "/pages/jiuzhai/jz_SureOrder?OrderNo=" + OrderNo,
// }); });
// }, 100); }, 100);
}, },
}); });
}, },
......
...@@ -988,16 +988,16 @@ ...@@ -988,16 +988,16 @@
fail: function(err) { fail: function(err) {
console.log("fail:", err); console.log("fail:", err);
that.submit = false; that.submit = false;
that.successVisible = true // that.successVisible = true
// uni.showToast({ uni.showToast({
// title: "支付失败", title: "支付失败",
// icon: "none", icon: "none",
// }); });
// setTimeout(() => { setTimeout(() => {
// uni.redirectTo({ uni.redirectTo({
// url: "/pages/visa/visa_SureOrder?OrderNo=" + OrderNo, url: "/pages/visa/visa_SureOrder?OrderNo=" + OrderNo,
// }); });
// }, 100); }, 100);
}, },
}); });
}, },
...@@ -1419,14 +1419,14 @@ ...@@ -1419,14 +1419,14 @@
this.submitB2COrderHandler(tempData.airOrderId) this.submitB2COrderHandler(tempData.airOrderId)
// #endif // #endif
// #ifdef MP-AG // #ifdef MP-AG
this.successVisible = true // this.successVisible = true
// uni.showToast({ // uni.showToast({
// title: '订单创建成功.', // title: '订单创建成功.',
// icon: 'none' // icon: 'none'
// }) // })
// uni.redirectTo({ uni.redirectTo({
// url: `/pages/AggregateOrders/AggregateOrdersList?OrderTypeStr=6`, url: `/pages/AggregateOrders/AggregateOrdersList?OrderTypeStr=6`,
// }); });
// #endif // #endif
} else { } else {
uni.showToast({ uni.showToast({
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment