|
@@ -327,7 +327,8 @@ export default {
|
|
|
// 将已选数量映射到花材列表
|
|
// 将已选数量映射到花材列表
|
|
|
this.globalGridFlowerList = currentXjList.map(item => ({
|
|
this.globalGridFlowerList = currentXjList.map(item => ({
|
|
|
...item,
|
|
...item,
|
|
|
- selectedQty: selectedQtyMap[item.id] || 0
|
|
|
|
|
|
|
+ selectedQty: selectedQtyMap[item.id] || 0,
|
|
|
|
|
+ randomNum:Math.random()//这个随机数是必要的,不要删除,否则会有问题。因为左边列表页打开弹框和右边花材打开弹框数据同步问题
|
|
|
}))
|
|
}))
|
|
|
this.$refs.selectFlowerGridRef.open('center')
|
|
this.$refs.selectFlowerGridRef.open('center')
|
|
|
}
|
|
}
|