|
|
|
@ -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] |
|
|
|
|
|
|
|
|
|