Commit 1af4b104 authored by smestry's avatar smestry

Updated the js for PO Autosave


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@103084 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 25c3810e
...@@ -1438,7 +1438,6 @@ function run(x) ...@@ -1438,7 +1438,6 @@ function run(x)
function isNumberKey(evt) function isNumberKey(evt)
{ {
var charCode = (evt.which) ? evt.which : event.keyCode var charCode = (evt.which) ? evt.which : event.keyCode
if(charCode == 46)//for point if(charCode == 46)//for point
{ {
...@@ -1518,7 +1517,6 @@ function Limit(id) ...@@ -1518,7 +1517,6 @@ function Limit(id)
} }
} }
function Round(id) function Round(id)
{ {
// Changed BY Sneha on 16-08-2016, to replace NaN value with blank [Start] // Changed BY Sneha on 16-08-2016, to replace NaN value with blank [Start]
...@@ -1527,7 +1525,6 @@ function Round(id) ...@@ -1527,7 +1525,6 @@ function Round(id)
document.getElementById(id).value = num.toFixed(2);*/ document.getElementById(id).value = num.toFixed(2);*/
if(document.getElementById(id).value == "") if(document.getElementById(id).value == "")
{ {
//alert("11111111111");
document.getElementById(id).value == "" document.getElementById(id).value == ""
} }
else else
...@@ -3182,7 +3179,7 @@ function validatePurcOrder() ...@@ -3182,7 +3179,7 @@ function validatePurcOrder()
var purcOrder = document.getElementById("purc_order").value; var purcOrder = document.getElementById("purc_order").value;
alert("purcOrder====>>"+purcOrder); //alert("purcOrder====>>"+purcOrder);
var action = "VALIDATE_PO"; var action = "VALIDATE_PO";
var url = "/ibase/ProdWizItemChangeServlet?PURCHORDER="+purcOrder+"&ACTION="+action; var url = "/ibase/ProdWizItemChangeServlet?PURCHORDER="+purcOrder+"&ACTION="+action;
makeRequestNew( url, "poDetail1"); makeRequestNew( url, "poDetail1");
......
Markdown is supported
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