Commit 5739e8f16276f8575028d7556e38d2d92e221c52
1 parent
ca2bca5b
预约修改时间优化
Showing
1 changed file
with
5 additions
and
2 deletions
pages/user/my_service/beauty_deta.js
@@ -238,6 +238,7 @@ Page({ | @@ -238,6 +238,7 @@ Page({ | ||
238 | 238 | ||
239 | var itemId = th.data.itemId; //服务id | 239 | var itemId = th.data.itemId; //服务id |
240 | var projectId = th.data.projectId; //项目id | 240 | var projectId = th.data.projectId; //项目id |
241 | + var number = th.data.number; //预约单号 | ||
241 | var url = "/api/weshop/marketing/reservation/staff/seven/time/listnew"; //接口地址 | 242 | var url = "/api/weshop/marketing/reservation/staff/seven/time/listnew"; //接口地址 |
242 | getApp().request.promiseGet(url, { | 243 | getApp().request.promiseGet(url, { |
243 | data: { | 244 | data: { |
@@ -245,7 +246,8 @@ Page({ | @@ -245,7 +246,8 @@ Page({ | ||
245 | beauticianId: beautician_id, | 246 | beauticianId: beautician_id, |
246 | serviceId: itemId, | 247 | serviceId: itemId, |
247 | storeId: a.stoid, | 248 | storeId: a.stoid, |
248 | - storageId:storageId | 249 | + storageId:storageId, |
250 | + number: number | ||
249 | } | 251 | } |
250 | }).then(res => { | 252 | }).then(res => { |
251 | if (res.data.code == 0) { | 253 | if (res.data.code == 0) { |
@@ -291,7 +293,7 @@ Page({ | @@ -291,7 +293,7 @@ Page({ | ||
291 | var date_id = th.data.date_id; //日期下标 | 293 | var date_id = th.data.date_id; //日期下标 |
292 | var SeekTime = th.data.aweeks[date_id].time; | 294 | var SeekTime = th.data.aweeks[date_id].time; |
293 | var val = th.data.aweeks[date_id].val; | 295 | var val = th.data.aweeks[date_id].val; |
294 | - | 296 | + var number = th.data.number; //预约单号 |
295 | var url = "/api/weshop/marketing/reservation/staff/time/listnew"; | 297 | var url = "/api/weshop/marketing/reservation/staff/time/listnew"; |
296 | getApp().request.promiseGet(url, { | 298 | getApp().request.promiseGet(url, { |
297 | data: { | 299 | data: { |
@@ -301,6 +303,7 @@ Page({ | @@ -301,6 +303,7 @@ Page({ | ||
301 | serviceId: th.data.itemId, | 303 | serviceId: th.data.itemId, |
302 | seekTime: SeekTime, | 304 | seekTime: SeekTime, |
303 | storeId: a.stoid, | 305 | storeId: a.stoid, |
306 | + number:number, | ||
304 | } | 307 | } |
305 | }).then(res => { | 308 | }).then(res => { |
306 | if (res.data.code == 0) { | 309 | if (res.data.code == 0) { |