Showing
1 changed file
with
5 additions
and
6 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) { // 限定发售不支持优惠券 | ||
26 | - result.notUseCoupon = true; | ||
27 | - } | 25 | + // 限定发售&套餐不支持优惠券 |
26 | + result.notUseCoupon = true; | ||
28 | 27 | ||
29 | res.render('order-ensure2016', { | 28 | res.render('order-ensure2016', { |
30 | title: '填写订单 | ' + (res.locals.title || ''), | 29 | title: '填写订单 | ' + (res.locals.title || ''), |
@@ -63,4 +62,4 @@ module.exports = { | @@ -63,4 +62,4 @@ module.exports = { | ||
63 | index, | 62 | index, |
64 | compute, | 63 | compute, |
65 | submit | 64 | submit |
66 | -}; | 65 | +}; |
-
Please register or login to post a comment