|
|
@ -655,14 +655,12 @@ export default { |
|
|
|
getListByItemcode({itemCode: row.itemCode}, 'basedata/AQL').then(res => { |
|
|
|
for(var i=0;i<res.length;i++) { |
|
|
|
if (res[i].supplierCode == this.propsData.supplierCode) { |
|
|
|
console.log('1111111',this.inspectNoticeDetailsFormData.receiveQty) |
|
|
|
if (this.inspectNoticeDetailsFormData.receiveQty >= res[i].floorQty && this.inspectNoticeDetailsFormData.receiveQty <= res[i].ceilingQty) { |
|
|
|
this.inspectNoticeDetailsFormData.sampleQty = res[i].sampleQty |
|
|
|
break |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
console.log('2222',this.inspectNoticeDetailsFormData.sampleQty) |
|
|
|
if (this.inspectNoticeDetailsFormData.sampleQty == 0) { |
|
|
|
this.$alert('没有找到当前物品代码对应的质检标准!') |
|
|
|
// this.$confirm('没有找到当前物品代码对应的质检标准!, 是否继续?', '提示', { |
|
|
|