Commit 8b1dc817 authored by 季圣华's avatar 季圣华
Browse files

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

parent 7e4cb15e
......@@ -375,6 +375,10 @@
return;
else
{
if(!$("#Type").val()){
$.messager.alert('提示','请选择类型!','warning');
return;
}
$.ajax({
type:"post",
url: url,
......
......@@ -363,7 +363,10 @@
{
if(checkInOutItemName())
return;
if(!$("#type").val()){
$.messager.alert('提示','请选择类型!','warning');
return;
}
$('#inOutItemFM').form('submit',{
url: url,
onSubmit: function()
......
......@@ -417,7 +417,11 @@
{
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))
......
......@@ -390,6 +390,10 @@
return;
else
{
if(!$("#Type").val()){
$.messager.alert('提示','请选择类型!','warning');
return;
}
$.ajax({
type:"post",
url: url,
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment