diff --git a/src/mes/common/commonOperationBarComponent/index.js b/src/mes/common/commonOperationBarComponent/index.js
index 4230acf..e440d36 100644
--- a/src/mes/common/commonOperationBarComponent/index.js
+++ b/src/mes/common/commonOperationBarComponent/index.js
@@ -1336,6 +1336,7 @@ const CommonOperationBarComponent = basProps => {
document.body.removeEventListener("keypress", keypressEvent);
};
}, []);
+
return (
@@ -1505,11 +1506,21 @@ const BarcodeComponent = props => {
props.onExecInstructSet({
btnConfig,
nextProps: { scanCodeData: [{ value: valueNew }] },
- callback: () => {
+ // callback: () => {
+ // if (commonUtils.isNotEmptyArr(searchProductConfig)) {
+ // props.onSaveState({
+ // refreshMachineDataFlag: new Date().getTime(),
+ // productionTableList: [sName]
+ // });
+ // }
+ // },
+ inscallback: nextProps => {
if (commonUtils.isNotEmptyArr(searchProductConfig)) {
props.onSaveState({
refreshMachineDataFlag: new Date().getTime(),
productionTableList: [sName]
+ }, ()=>{
+ props.onRefresh && props.onRefresh();
});
}
}