Commit cab74383 by 张立顺

线上订单bug修复

1 parent 2afb87d2
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
* 2测试 * 2测试
* 3生产环境 * 3生产环境
*/ */
let index = 3 let index = 1
const accountInfo = wx.getAccountInfoSync() const accountInfo = wx.getAccountInfoSync()
const systemInfo = wx.getSystemInfoSync() const systemInfo = wx.getSystemInfoSync()
......
...@@ -344,7 +344,8 @@ Page({ ...@@ -344,7 +344,8 @@ Page({
totalPrice: Number(e.price), totalPrice: Number(e.price),
number: e.count, number: e.count,
// merchantGoodsId: e.id // merchantGoodsId: e.id
merchantGoodsId: e.merchantGoodsId // merchantGoodsId: e.merchantGoodsId
merchantGoodsId: e.id || e.merchantGoodsId
} }
if (e.price < e.shopMinPrice) priceDisabled = false if (e.price < e.shopMinPrice) priceDisabled = false
subOrderList.push(obj) subOrderList.push(obj)
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!