|
@@ -137,6 +137,8 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form','jQuery.print'], funct
|
|
|
layer.close(index);
|
|
layer.close(index);
|
|
|
},function(){//点击取消删除添加的最后一个元素
|
|
},function(){//点击取消删除添加的最后一个元素
|
|
|
$("#table tr:last").remove();
|
|
$("#table tr:last").remove();
|
|
|
|
|
+ var i = $(this).parent().prev().val();
|
|
|
|
|
+ $(".print"+i).remove();
|
|
|
});
|
|
});
|
|
|
var synth = window.speechSynthesis;
|
|
var synth = window.speechSynthesis;
|
|
|
var msg = new window.SpeechSynthesisUtterance('此物料不在配方中,请确认!');
|
|
var msg = new window.SpeechSynthesisUtterance('此物料不在配方中,请确认!');
|
|
@@ -145,7 +147,6 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form','jQuery.print'], funct
|
|
|
//语音播报
|
|
//语音播报
|
|
|
// var msg = new SpeechSynthesisUtterance("此物料不在配方中,请确认!");
|
|
// var msg = new SpeechSynthesisUtterance("此物料不在配方中,请确认!");
|
|
|
// window.speechSynthesis.speak(msg);
|
|
// window.speechSynthesis.speak(msg);
|
|
|
-
|
|
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
i++;
|
|
i++;
|