|
|
@@ -121,11 +121,9 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form','jQuery.print','jquery
|
|
|
var error = 0;
|
|
|
if(key === 13){
|
|
|
var wuliao = $("#wuliao").val();
|
|
|
- console.log(result)
|
|
|
for(var i=0;i<result.data.length;i++) {
|
|
|
//扫描的物料=table中的物料,,,变红,否则语音提示
|
|
|
if(result.data[i].material===wuliao && result.data[i].gy_num == result.process){
|
|
|
- console.log(result.data[i].gy_num);
|
|
|
$(".material")[i].setAttribute('style','color:red');
|
|
|
error++;
|
|
|
}else if(result.data[i].material===wuliao){
|
|
|
@@ -296,7 +294,6 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form','jQuery.print','jquery
|
|
|
if(total>0){
|
|
|
$("#total").html(total.toFixed(2));
|
|
|
}
|
|
|
- // console.log(total);
|
|
|
if(!$("#c-pickor").val()){
|
|
|
status = 2;
|
|
|
}
|