洪海涛 před 8 roky
rodič
revize
87b9b479ad

+ 1 - 2
www/webapp/o2o/js/page/placeOrder.js

@@ -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 {
               $doc.trigger('spa:navigate', {
                 hash: 'pay',

+ 0 - 1
www/webapp/o2o/module/pay/index.html

@@ -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,