|
@@ -155,6 +155,8 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form','jQuery.print','jquery
|
|
|
var msg = new SpeechSynthesisUtterance("此物料不在配方中,请确认!");
|
|
var msg = new SpeechSynthesisUtterance("此物料不在配方中,请确认!");
|
|
|
window.speechSynthesis.speak(msg);
|
|
window.speechSynthesis.speak(msg);
|
|
|
}
|
|
}
|
|
|
|
|
+ //清空物料扫描后的值,下次直接重新扫描即可
|
|
|
|
|
+ $("#wuliao").val('');
|
|
|
}
|
|
}
|
|
|
});
|
|
});
|
|
|
}
|
|
}
|
|
@@ -244,6 +246,8 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form','jQuery.print','jquery
|
|
|
var msg = new SpeechSynthesisUtterance("此物料不在配方中,且没有替代料,请确认!");
|
|
var msg = new SpeechSynthesisUtterance("此物料不在配方中,且没有替代料,请确认!");
|
|
|
window.speechSynthesis.speak(msg);
|
|
window.speechSynthesis.speak(msg);
|
|
|
}
|
|
}
|
|
|
|
|
+ //清空物料扫描后的值,下次直接重新扫描即可
|
|
|
|
|
+ $("#wuliao").val('');
|
|
|
}
|
|
}
|
|
|
});
|
|
});
|
|
|
}
|
|
}
|