store issues fixed
This commit is contained in:
parent
5a8a78cfc6
commit
8b905a60d5
@ -712,11 +712,7 @@ function validate()
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
else if($("option:selected", $("#MaterialCode")).val() == '-1')
|
|
||||||
{
|
|
||||||
alert('Please Select MaterialCode');
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
|
|
||||||
else if($("#txtRowCount").val().length < 1)
|
else if($("#txtRowCount").val().length < 1)
|
||||||
{
|
{
|
||||||
@ -752,3 +748,4 @@ function validate()
|
|||||||
});
|
});
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
|||||||
@ -552,7 +552,8 @@ $("#mypo").on("shown.bs.modal", function(e) {
|
|||||||
$('.addClick').click(function()
|
$('.addClick').click(function()
|
||||||
{
|
{
|
||||||
|
|
||||||
if ($("#MaterialCode option:selected").val() =='-1' )
|
|
||||||
|
if ($("#MaterialCode option:selected").val() =='-1' || $("#MaterialCode").val() == "0" )
|
||||||
{
|
{
|
||||||
alert('Please Select the MaterialCode ');
|
alert('Please Select the MaterialCode ');
|
||||||
return false;
|
return false;
|
||||||
@ -607,7 +608,7 @@ $("#mypo").on("shown.bs.modal", function(e) {
|
|||||||
|
|
||||||
function clear()
|
function clear()
|
||||||
{
|
{
|
||||||
$('#MaterialCode').val('');
|
|
||||||
$('#Description').val('');
|
$('#Description').val('');
|
||||||
$('#UOM').val('');
|
$('#UOM').val('');
|
||||||
$('#Quantity').val('');
|
$('#Quantity').val('');
|
||||||
@ -1003,3 +1004,4 @@ function validate()
|
|||||||
});
|
});
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user