|
|
|
@ -1072,11 +1072,11 @@ export default {
|
|
|
|
|
if(!st){ |
|
|
|
|
//查询库存数据 |
|
|
|
|
// console.log("cxcxcxc",i); |
|
|
|
|
let aa = await getListOwn(this.page.currentPage,this.page.pageSize,{ stockArticleId : i.id } ).then(); |
|
|
|
|
let aa = await getListOwn(this.page.currentPage,this.page.pageSize,{ stockArticleIds : i.id } ).then(); |
|
|
|
|
// console.log("包件物料不存在!!",aa.data.data.records); |
|
|
|
|
aa.data.data.records.forEach( l =>{ |
|
|
|
|
console.log(!l.materialId , !l.materialName , !l.materialCode , !l.materialUnit); |
|
|
|
|
if(!l.materialId || l.materialId == '-1' ){ |
|
|
|
|
if(!l.materialId ){ |
|
|
|
|
lost = true; |
|
|
|
|
} |
|
|
|
|
}) |
|
|
|
|