Commit d4c0ed3f by 张立顺

fix bug

1 parent 54f7a147
...@@ -18,7 +18,7 @@ export const appId = 'wx570d9331f9ace0bd' ...@@ -18,7 +18,7 @@ export const appId = 'wx570d9331f9ace0bd'
* 4预发布 * 4预发布
* 5cdptest * 5cdptest
*/ */
let index = 1 let index = 2
const accountInfo = wx.getAccountInfoSync() const accountInfo = wx.getAccountInfoSync()
const systemInfo = wx.getSystemInfoSync() const systemInfo = wx.getSystemInfoSync()
const envName = accountInfo.miniProgram.envVersion const envName = accountInfo.miniProgram.envVersion
......
...@@ -943,6 +943,8 @@ Page({ ...@@ -943,6 +943,8 @@ Page({
// 去除优惠券 参数 // 去除优惠券 参数
delete orderObj.customerCouponId delete orderObj.customerCouponId
delete orderObj.couponName delete orderObj.couponName
// 去除商品选择
orderObj.subOrderList = []
// 使用优惠券的merchantId 避免优惠券和店区不一致的情况 // 使用优惠券的merchantId 避免优惠券和店区不一致的情况
if (!orderObj.merchantId) if (!orderObj.merchantId)
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!