|
@ -232,6 +232,16 @@ |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
updateData() { |
|
|
updateData() { |
|
|
|
|
|
//删除新添加的 |
|
|
|
|
|
for (var i = 0; i < this.detailSource.length; i++) { |
|
|
|
|
|
var item =this.detailSource[i] |
|
|
|
|
|
for (var j = 0; j < item.subList.length; j++) { |
|
|
|
|
|
var sub =item.subList[j] |
|
|
|
|
|
if(!sub.isRecommend&&!sub.scaned){ |
|
|
|
|
|
item.subList.splice(j,1) |
|
|
|
|
|
} |
|
|
|
|
|
} |
|
|
|
|
|
} |
|
|
calcHandleQty(this.detailSource); |
|
|
calcHandleQty(this.detailSource); |
|
|
this.$forceUpdate() |
|
|
this.$forceUpdate() |
|
|
}, |
|
|
}, |
|
|