|
@ -438,15 +438,16 @@ export default { |
|
|
id: null, |
|
|
id: null, |
|
|
inspectReport: null, |
|
|
inspectReport: null, |
|
|
lastModificationTime: null, |
|
|
lastModificationTime: null, |
|
|
|
|
|
sampleQty: 0, // 要求检验数量 |
|
|
filesList:[], |
|
|
filesList:[], |
|
|
formFile: [], |
|
|
formFile: [], |
|
|
details: [] |
|
|
details: [], |
|
|
// inspectUserEmail: null, |
|
|
// inspectUserEmail: null, |
|
|
// supplierPackQty: 0, |
|
|
// supplierPackQty: 0, |
|
|
// tenantId: null, |
|
|
// tenantId: null, |
|
|
// inspectUserName: null, |
|
|
// inspectUserName: null, |
|
|
// receiveUom: null, |
|
|
// receiveUom: null, |
|
|
// sampleQty: 0, // 要求检验数量 |
|
|
|
|
|
// goodQty: 0, |
|
|
// goodQty: 0, |
|
|
// supplierPackUom: null, |
|
|
// supplierPackUom: null, |
|
|
// inspectUserPhone: null, |
|
|
// inspectUserPhone: null, |
|
@ -619,6 +620,7 @@ export default { |
|
|
id: null, |
|
|
id: null, |
|
|
inspectReport: null, |
|
|
inspectReport: null, |
|
|
lastModificationTime: null, |
|
|
lastModificationTime: null, |
|
|
|
|
|
sampleQty: 0, // 要求检验数量 |
|
|
filesList:[], |
|
|
filesList:[], |
|
|
formFile: [], |
|
|
formFile: [], |
|
|
details: [] |
|
|
details: [] |
|
@ -627,7 +629,6 @@ export default { |
|
|
// tenantId: null, |
|
|
// tenantId: null, |
|
|
// inspectUserName: null, |
|
|
// inspectUserName: null, |
|
|
// receiveUom: null, |
|
|
// receiveUom: null, |
|
|
// sampleQty: 0, // 要求检验数量 |
|
|
|
|
|
// goodQty: 0, |
|
|
// goodQty: 0, |
|
|
// supplierPackUom: null, |
|
|
// supplierPackUom: null, |
|
|
// inspectUserPhone: null, |
|
|
// inspectUserPhone: null, |
|
@ -654,12 +655,14 @@ export default { |
|
|
getListByItemcode({itemCode: row.itemCode}, 'basedata/AQL').then(res => { |
|
|
getListByItemcode({itemCode: row.itemCode}, 'basedata/AQL').then(res => { |
|
|
for(var i=0;i<res.length;i++) { |
|
|
for(var i=0;i<res.length;i++) { |
|
|
if (res[i].supplierCode == this.propsData.supplierCode) { |
|
|
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) { |
|
|
if (this.inspectNoticeDetailsFormData.receiveQty >= res[i].floorQty && this.inspectNoticeDetailsFormData.receiveQty <= res[i].ceilingQty) { |
|
|
this.inspectNoticeDetailsFormData.sampleQty = res[i].sampleQty |
|
|
this.inspectNoticeDetailsFormData.sampleQty = res[i].sampleQty |
|
|
break |
|
|
break |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
console.log('2222',this.inspectNoticeDetailsFormData.sampleQty) |
|
|
if (this.inspectNoticeDetailsFormData.sampleQty == 0) { |
|
|
if (this.inspectNoticeDetailsFormData.sampleQty == 0) { |
|
|
this.$alert('没有找到当前物品代码对应的质检标准!') |
|
|
this.$alert('没有找到当前物品代码对应的质检标准!') |
|
|
// this.$confirm('没有找到当前物品代码对应的质检标准!, 是否继续?', '提示', { |
|
|
// this.$confirm('没有找到当前物品代码对应的质检标准!, 是否继续?', '提示', { |
|
|