diff --git a/src/pages/unPlanned/job/receiptJobDetail.vue b/src/pages/unPlanned/job/receiptJobDetail.vue index b6cc5274..9435b0b6 100644 --- a/src/pages/unPlanned/job/receiptJobDetail.vue +++ b/src/pages/unPlanned/job/receiptJobDetail.vue @@ -232,6 +232,16 @@ 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); this.$forceUpdate() },