Commit 8f93926e9013ef5c144977b8fe13af2116ad818f
1 parent
bb6d5f0d
预存的优化
Showing
1 changed file
with
2 additions
and
2 deletions
packageE/pages/cart/cart2/cart2.js
| @@ -402,14 +402,14 @@ Page({ | @@ -402,14 +402,14 @@ Page({ | ||
| 402 | } | 402 | } |
| 403 | listform.push(obj) | 403 | listform.push(obj) |
| 404 | }) | 404 | }) |
| 405 | - let arr = await getApp().getGoodsAdvancesum(keyid, listform, cartList) | 405 | + let arr = await this.getGoodsAdvancesum(keyid, listform, cartList) |
| 406 | // } | 406 | // } |
| 407 | wx.hideLoading() | 407 | wx.hideLoading() |
| 408 | return arr | 408 | return arr |
| 409 | }, | 409 | }, |
| 410 | 410 | ||
| 411 | //计算商品预存款请求方法------------------------------------ | 411 | //计算商品预存款请求方法------------------------------------ |
| 412 | - async getGoodsAdvancesum(storageid, listform, cartList,th) { | 412 | + async getGoodsAdvancesum(storageid, listform, cartList) { |
| 413 | await getApp().request.promisePost("/api/weshop/store/get/" + storageid,{ | 413 | await getApp().request.promisePost("/api/weshop/store/get/" + storageid,{ |
| 414 | }).then(res=>{ | 414 | }).then(res=>{ |
| 415 | if(res.data.code==0){ | 415 | if(res.data.code==0){ |