diff --git a/src/views/wms/productionManage/productscrap/productscrapRequestMain/index.vue b/src/views/wms/productionManage/productscrap/productscrapRequestMain/index.vue index 7eea0a9ed..900f61ccf 100644 --- a/src/views/wms/productionManage/productscrap/productscrapRequestMain/index.vue +++ b/src/views/wms/productionManage/productscrap/productscrapRequestMain/index.vue @@ -516,6 +516,9 @@ const searchTableSuccess = (formField, searchField, val, formRef, type, row ) => // buttonOperationClick(newRow,'Bom',tableData.value.indexOf(newRow),true) // } tableData.value.push(newRow) + if(newRow['fromLocationCode']){ + buttonOperationClick(newRow,'Bom',tableData.value.indexOf(newRow),true) + } }) }else if(formField == 'bomVersion'){