|
@@ -70,8 +70,8 @@ exports.discount = (req, res) => { |
|
@@ -70,8 +70,8 @@ exports.discount = (req, res) => { |
70
|
// res.render('sale/discount', Object.assign(responseData, simulation.discount()));
|
70
|
// res.render('sale/discount', Object.assign(responseData, simulation.discount()));
|
71
|
|
71
|
|
72
|
return sale.getSaleGoodsListData({
|
72
|
return sale.getSaleGoodsListData({
|
73
|
- saleType: req.params.saleType
|
|
|
74
|
- })
|
73
|
+ saleType: req.params.saleType
|
|
|
74
|
+ })
|
75
|
.then(result => {
|
75
|
.then(result => {
|
76
|
responseData.result = result;
|
76
|
responseData.result = result;
|
77
|
responseData.resultShow = JSON.stringify(result, null, 4);
|
77
|
responseData.resultShow = JSON.stringify(result, null, 4);
|