@@ -835,13 +835,12 @@ define(['$', 'template', 'order', 'native', 'helper', 'user', 'api', 'config', '
user.orderCoupons = newCouponList;
var orderID = order.id;
- order.reset();
+ order.reset(); //清空order内的值
$('.booking-time', $view).html('请选择');
if (res.data.status == 1) {
$doc.trigger('spa:navigate', {
hash: 'paySuccess'
});
-
} else {
hash: 'pay',
@@ -295,7 +295,6 @@
aItKey = aCouples[nKeyId].split("=");
urlParam[decodeURIComponent(aItKey[0])] = aItKey.length > 1 ? decodeURIComponent(aItKey[1]) : "";
}
var amount = urlParam.amount,
created = urlParam.created,
bookingTime = urlParam.bookingTime,