|
|
@ -315,7 +315,6 @@ |
|
|
|
r.scaned === scaned |
|
|
|
}); |
|
|
|
|
|
|
|
|
|
|
|
//没找到符合的箱码 |
|
|
|
if (that.currentItem === undefined) { |
|
|
|
var itemCode = that.details.find(res=>{ |
|
|
@ -325,10 +324,10 @@ |
|
|
|
//零件号相等 |
|
|
|
if(itemCode!=undefined){ |
|
|
|
var lot = that.details.find(res=>{ |
|
|
|
return res.recommendLot ===result.data.lot&& |
|
|
|
return res.itemCode===result.data.itemCode&& |
|
|
|
res.recommendLot ===result.data.lot&& |
|
|
|
res.scaned === scaned |
|
|
|
}) |
|
|
|
|
|
|
|
if(lot!=undefined){ |
|
|
|
//通过 |
|
|
|
that.currentItem =lot; |
|
|
|