增加其他单据的非空提示框

This commit is contained in:
季圣华 2017-06-29 23:37:25 +08:00
parent 7e4cb15eb5
commit 8b1dc817f2
4 changed files with 17 additions and 2 deletions

View File

@ -375,6 +375,10 @@
return;
else
{
if(!$("#Type").val()){
$.messager.alert('提示','请选择类型!','warning');
return;
}
$.ajax({
type:"post",
url: url,

View File

@ -363,7 +363,10 @@
{
if(checkInOutItemName())
return;
if(!$("#type").val()){
$.messager.alert('提示','请选择类型!','warning');
return;
}
$('#inOutItemFM').form('submit',{
url: url,
onSubmit: function()

View File

@ -418,6 +418,10 @@
if(checkSupplierName())
return;
if(!$("#type").val()){
$.messager.alert('提示','请选择类型!','warning');
return;
}
var reg = /^([0-9])+$/;
var phonenum = $.trim($("#phonenum").val());
if(phonenum.length>0 && !reg.test(phonenum))

View File

@ -390,6 +390,10 @@
return;
else
{
if(!$("#Type").val()){
$.messager.alert('提示','请选择类型!','warning');
return;
}
$.ajax({
type:"post",
url: url,