Commit e69cb42f by zhangxw

精品补录时校验自建商品太阳膜

1 parent 60fb2a61
......@@ -515,7 +515,8 @@ Page({
outTradeNo,
totalFee,
total,
disabled
disabled,
baseConfigData
} = this.data
orderObj = wx.$util.deepClone(orderObj)
goodsList = wx.$util.deepClone(goodsList)
......@@ -616,7 +617,7 @@ Page({
// return
// 校验商品类型 精品补录 出现太阳膜商品
if (this.data.filmOrder == 1) {
let obj = orderObj?.subOrderList?.find(v => v.upgradeGoodsType == 1) || {}
let obj = orderObj?.subOrderList?.find(v => v.upgradeGoodsType == 1 || v.upgradeGoodsType == baseConfigData?.selfBuildFilmType) || {}
if (Object.keys(obj).length) return this.showToast('客户档案不匹配补单产品类型')
}
this.showLoading('提交中...')
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!