|
|
@@ -222,7 +222,9 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form','jQuery.print','jquery
|
|
|
window.speechSynthesis.speak(msg);
|
|
|
error++;
|
|
|
}else if(result.data[i].material===wuliao){
|
|
|
- Layer.confirm("此物料不在当前工序,请确认!");
|
|
|
+ Layer.confirm("此物料不在当前工序,请确认!",{
|
|
|
+ area: ['60%', '60%'],
|
|
|
+ });
|
|
|
//语音播报
|
|
|
var msg = new SpeechSynthesisUtterance("此物料不在当前工序,请确认!");
|
|
|
window.speechSynthesis.speak(msg);
|
|
|
@@ -236,7 +238,9 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form','jQuery.print','jquery
|
|
|
$(".material")[i].setAttribute('style','color:red');
|
|
|
error++;
|
|
|
}else if(arr.indexOf($("#wuliao").val()) !== -1 ){
|
|
|
- Layer.confirm("此物料不在当前工序,请确认!");
|
|
|
+ Layer.confirm("此物料不在当前工序,请确认!",{
|
|
|
+ area: ['60%', '60%'],
|
|
|
+ });
|
|
|
//语音播报
|
|
|
var msg = new SpeechSynthesisUtterance("此物料不在当前工序,请确认!");
|
|
|
window.speechSynthesis.speak(msg);
|