Showing
1 changed file
with
3 additions
and
1 deletions
| 1 | // pages/customer/detail_owner.js | 1 | // pages/customer/detail_owner.js |
| 2 | import util from '../../utils/util'; | 2 | import util from '../../utils/util'; |
| 3 | import App from '../../utils/api'; | 3 | import App from '../../utils/api'; |
| 4 | +import RS from '../../utils/reserveStatus' | ||
| 4 | const {regeneratorRuntime} = global | 5 | const {regeneratorRuntime} = global |
| 5 | import TP from '../../utils/tpls'; | 6 | import TP from '../../utils/tpls'; |
| 6 | Page({ | 7 | Page({ |
| @@ -67,8 +68,9 @@ Page({ | @@ -67,8 +68,9 @@ Page({ | ||
| 67 | openid: getApp().openid, | 68 | openid: getApp().openid, |
| 68 | rid: this.id | 69 | rid: this.id |
| 69 | },fouce).then(res => { | 70 | },fouce).then(res => { |
| 71 | + let reserev=RS.reserve(res.data) | ||
| 70 | this.setData({ | 72 | this.setData({ |
| 71 | - detail:this.formatDatail(res.data) | 73 | + detail:this.formatDatail(reserev) |
| 72 | }) | 74 | }) |
| 73 | }) | 75 | }) |
| 74 | }, | 76 | }, |
-
Please register or login to post a comment