验证中...
Languages: Java
Categories: CSS 技巧
Latest update 2019-08-14 11:15
一丁点
Raw Copy
function **(){
var gwh = $('#xx').val();
var bh = $('#xxx').val();
var reg = /^\d*$/;
if(gwh==''){
alert('请输入工位号');
}else if(!reg.test(gwh)){
alert('工位号必须是数字');
}else if(bh==''){
alert('请输入AGV编号');
}else if(!reg.test(bh)){
alert('AGV编号必须是数字');
}else{
$.ajax({
url:'${ctx}/car/setAgvCarl',
type:'post',
data:{'gweihao':gwh,'bianhao':bh},
dataType:'text',
success:function(data){
},
error:function(){
}
});
}
}

Comment list( 0 )

You need to Sign in for post a comment

Help Search