|
@@ -187,6 +187,8 @@ export default {
|
|
|
selectListData[i.id] = i
|
|
selectListData[i.id] = i
|
|
|
})
|
|
})
|
|
|
}
|
|
}
|
|
|
|
|
+ //修改数据需要复制一份,否则不会生效
|
|
|
|
|
+ that.globalItemData = copyObject(that.globalItemData);
|
|
|
for (let i=0;i<that.globalItemData.length;i++){
|
|
for (let i=0;i<that.globalItemData.length;i++){
|
|
|
let currentProduct = that.globalItemData[i]
|
|
let currentProduct = that.globalItemData[i]
|
|
|
let currentPId = currentProduct.id
|
|
let currentPId = currentProduct.id
|