Commit 9a8e4d64 by zhangxw

精品升级下单修改

1 parent 07ab97ba
......@@ -725,11 +725,8 @@ Page({
} = res
if (code == 0) {
wx.hideLoading()
data?.forEach((val, index) => {
// 过滤掉太阳膜 自建商品太阳膜 数据
if (val.goodsType == 1 || val.goodsType == baseConfigData?.selfBuildFilmType) data.splice(index, 1)
})
let goodsData = data
let filterData = data.filter(val => val.goodsType !== 1 && val.goodsType !== baseConfigData?.selfBuildFilmType)
let goodsData = filterData
const filterList = goodsData.reduce((list, item) => {
// item.upgradeGoodsList.forEach(val => {
// val.positionStr = positionTypeList.filter(v => v.positionValue == val.merchantGoodsPosition)[0]?.positionName
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!