Showing
3 changed files
with
5 additions
and
3 deletions
| @@ -222,7 +222,8 @@ Page({ | @@ -222,7 +222,8 @@ Page({ | ||
| 222 | } | 222 | } |
| 223 | } | 223 | } |
| 224 | }) | 224 | }) |
| 225 | - this.detailData.order_info.price=(this.detailData.order_info.price-discount.se).toFixed(2) | 225 | + //this.detailData.order_info.price=(this.detailData.order_info.price-discount.se).toFixed(2) |
| 226 | + this.detailData.order_info.price=(this.detailData.order_info.should_price*1+discount.pt*1).toFixed(2) | ||
| 226 | } | 227 | } |
| 227 | this.setData({ | 228 | this.setData({ |
| 228 | tables: res.data.tables, | 229 | tables: res.data.tables, |
| @@ -120,7 +120,8 @@ Page({ | @@ -120,7 +120,8 @@ Page({ | ||
| 120 | discount:{ | 120 | discount:{ |
| 121 | pt:discount.pt.toFixed(2), | 121 | pt:discount.pt.toFixed(2), |
| 122 | se:discount.se.toFixed(2), | 122 | se:discount.se.toFixed(2), |
| 123 | - price:(this.detail.order_info.price-discount.se).toFixed(2) | 123 | + //price:(this.detail.order_info.price-discount.se).toFixed(2) |
| 124 | + price:(this.detail.order_info.should_price*1+discount.pt*1).toFixed(2) | ||
| 124 | } | 125 | } |
| 125 | }) | 126 | }) |
| 126 | }) | 127 | }) |
| @@ -504,7 +504,7 @@ | @@ -504,7 +504,7 @@ | ||
| 504 | "id": 60, | 504 | "id": 60, |
| 505 | "name": "pack-book/pages/book/b_detail", | 505 | "name": "pack-book/pages/book/b_detail", |
| 506 | "pathName": "pack-book/pages/book/b_detail", | 506 | "pathName": "pack-book/pages/book/b_detail", |
| 507 | - "query": "id=66538", | 507 | + "query": "id=66723", |
| 508 | "scene": null | 508 | "scene": null |
| 509 | }, | 509 | }, |
| 510 | { | 510 | { |
-
Please register or login to post a comment