diff --git a/src/common/model/goods/MultiSpec.js b/src/common/model/goods/MultiSpec.js index 30d1c80..bb56dc2 100644 --- a/src/common/model/goods/MultiSpec.js +++ b/src/common/model/goods/MultiSpec.js @@ -223,10 +223,10 @@ export default class MultiSpec { // 查找符合的旧记录 let oldSkuItem = {} // if (oldSkuList.length === newSkuList.length) { - oldSkuItem = _.cloneDeep(oldSkuList[index]) + // oldSkuItem = _.cloneDeep(oldSkuList[index]) // } else { - // oldSkuItem = oldSkuList.find(item => item.tempId === newSkuList[index].tempId) - // } + oldSkuItem = oldSkuList.find(item => newSkuList[index].tempId === item.goods_props.map(v => v.value.name).join('_')) + // } const item = newSkuList[index]