Commit 4d32da13e5e82eef133964eb0dde370b011e5c75

Authored by taiyuan
1 parent ee37b3ac

预约服务storageID为空修改

packageA/pages/my_service/appment_main.wxml
... ... @@ -55,7 +55,7 @@
55 55 </view>
56 56  
57 57 <!-- 选择时间 -->
58   - <view class="flex-vertical-between fs26 select" data-url="/pages/user/my_service/beauty_deta?url={{url}}&StorageId={{StorageId}}&BeauticianID={{beauticianID}}&itemId={{itemId}}&modify=0&projectId={{project_id}}" bindtap="goto">
  58 + <view class="flex-vertical-between fs26 select" data-url="/packageA/pages/my_service/beauty_deta?url={{url}}&StorageId={{StorageId}}&BeauticianID={{beauticianID}}&itemId={{itemId}}&modify=0&projectId={{project_id}}" bindtap="goto">
59 59 <view class="{{time==''?'color':''}}">{{time==""?'选择时间':time}}</view>
60 60 <view class="angle angler">∟</view>
61 61 </view>
... ...
packageA/pages/my_service/beauty_deta.js
... ... @@ -53,8 +53,9 @@ Page({
53 53 modify: options.modify,
54 54 hours: hours,
55 55 projectId: options.projectId,
56   - storageId:storageId
57   - })
  56 + storageId: storageId,
  57 + });
  58 +
58 59 if (options.url != undefined) {
59 60 th.setData({
60 61 url: options.url
... ... @@ -200,7 +201,8 @@ Page({
200 201 //直接给上一个页面赋值
201 202 time: time,
202 203 beautician_name: th.data.StaffName,
203   - beauticianID: th.data.beautician_id
  204 + beauticianID: th.data.beautician_id,
  205 + storageId: th.data.storageId,
204 206 });
205 207 wx.navigateBack({
206 208 //返回
... ... @@ -210,7 +212,8 @@ Page({
210 212 var prevPage = pages[pages.length - 2]; //上一页面
211 213 prevPage.setData({
212 214 //直接给上一个页面赋值
213   - time: time
  215 + time: time,
  216 + storageId: th.data.storageId,
214 217 });
215 218 wx.navigateBack({
216 219 //返回
... ...