Showing
1 changed file
with
3 additions
and
4 deletions
@@ -9,8 +9,8 @@ const easypay = require('../models/easypay'); | @@ -9,8 +9,8 @@ const easypay = require('../models/easypay'); | ||
9 | const headerModel = require('../../../doraemon/models/simple-header'); | 9 | const headerModel = require('../../../doraemon/models/simple-header'); |
10 | 10 | ||
11 | const stepper = [ | 11 | const stepper = [ |
12 | - {name: '填写订单', focus: true}, | ||
13 | - {name: '付款,完成购买'} | 12 | + { name: '填写订单', focus: true }, |
13 | + { name: '付款,完成购买' } | ||
14 | ]; | 14 | ]; |
15 | 15 | ||
16 | const index = (req, res, next) => { | 16 | const index = (req, res, next) => { |
@@ -22,9 +22,8 @@ const index = (req, res, next) => { | @@ -22,9 +22,8 @@ const index = (req, res, next) => { | ||
22 | 22 | ||
23 | result.stepper = stepper; | 23 | result.stepper = stepper; |
24 | 24 | ||
25 | - if (params.limitcode) { // 限定发售不支持优惠券 | 25 | + // 限定发售&套餐不支持优惠券 |
26 | result.notUseCoupon = true; | 26 | result.notUseCoupon = true; |
27 | - } | ||
28 | 27 | ||
29 | res.render('order-ensure2016', { | 28 | res.render('order-ensure2016', { |
30 | title: '填写订单 | ' + (res.locals.title || ''), | 29 | title: '填写订单 | ' + (res.locals.title || ''), |
-
Please register or login to post a comment