|
@ -110,7 +110,12 @@ const searchTableSuccess = (formField, searchField, val, formRef, type, row) => |
|
|
}) |
|
|
}) |
|
|
|
|
|
|
|
|
} else if (formField == 'downItemCode') { |
|
|
} else if (formField == 'downItemCode') { |
|
|
row['downItemCode'] = val[0]['spareItemCode'] |
|
|
if(row['itemCode'] == val[0]['spareItemCode']){ |
|
|
|
|
|
row['downItemCode'] = val[0]['productionItemCode'] //量产件 |
|
|
|
|
|
}else{ |
|
|
|
|
|
row['downItemCode'] = val[0]['spareItemCode'] //备件 |
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
console.log(row['itemCode']); |
|
|
console.log(row['itemCode']); |
|
|
// ItembasicApi.getItemListByCodes(row['itemCode']) |
|
|
// ItembasicApi.getItemListByCodes(row['itemCode']) |
|
|
|
|
|
|
|
|