Commit a648aa49 authored by caluka's avatar caluka

updated js for Pophelp in requirement wizard transaction


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@95690 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 306bc552
...@@ -191,6 +191,7 @@ function addRow(tableID) ...@@ -191,6 +191,7 @@ function addRow(tableID)
element4.id = "Detail2."+rowCount+".item_descr"; element4.id = "Detail2."+rowCount+".item_descr";
element4.name = "Detail2."+rowCount+".item_descr"; element4.name = "Detail2."+rowCount+".item_descr";
element4.setAttribute("value", ""); element4.setAttribute("value", "");
element4.setAttribute("readonly", "readonly");
element4.style.textAlign = "left"; element4.style.textAlign = "left";
element4.setAttribute("size", "20"); element4.setAttribute("size", "20");
cell4.appendChild(element4); cell4.appendChild(element4);
...@@ -202,6 +203,7 @@ function addRow(tableID) ...@@ -202,6 +203,7 @@ function addRow(tableID)
element5.id = "Detail2."+rowCount+".unit"; element5.id = "Detail2."+rowCount+".unit";
element5.name = "Detail2."+rowCount+".unit"; element5.name = "Detail2."+rowCount+".unit";
element5.setAttribute("value", ""); element5.setAttribute("value", "");
element5.setAttribute("readonly", "readonly");
element5.style.textAlign = "left"; element5.style.textAlign = "left";
element5.setAttribute("size", "5"); element5.setAttribute("size", "5");
cell5.appendChild(element5); cell5.appendChild(element5);
...@@ -324,6 +326,7 @@ function callPopHelpJSP( dbID, itemCode,siteCode ) ...@@ -324,6 +326,7 @@ function callPopHelpJSP( dbID, itemCode,siteCode )
var url = '/ibase/webitm/jsp/ReqITMWizardItemCode.jsp?item_code='+selectedItemCode+'&dbID='+dbID+'&site_code='+siteCode+'&SEARCH_ITEM=' ; var url = '/ibase/webitm/jsp/ReqITMWizardItemCode.jsp?item_code='+selectedItemCode+'&dbID='+dbID+'&site_code='+siteCode+'&SEARCH_ITEM=' ;
var win = window.open( url, 'Item Code', 'toolbar=no,status=yes,resizable=no,scrollbars=yes,left=100,top=50,width=500,height=406' ); var win = window.open( url, 'Item Code', 'toolbar=no,status=yes,resizable=no,scrollbars=yes,left=100,top=50,width=500,height=406' );
win.focus();
} }
...@@ -343,7 +346,7 @@ function setUnit(dbID, unit,detail2dom ) ...@@ -343,7 +346,7 @@ function setUnit(dbID, unit,detail2dom )
document.getElementById("Detail2."+detail2dom+".unit").value = unit; document.getElementById("Detail2."+detail2dom+".unit").value = unit;
} }
function setBatchReq(dbID, batchreq,detail2dom ) /*function setBatchReq(dbID, batchreq,detail2dom )
{ {
document.getElementById("Detail2."+detail2dom+".no_of_batch").value = batchreq; document.getElementById("Detail2."+detail2dom+".no_of_batch").value = batchreq;
...@@ -352,7 +355,7 @@ function setQuantity(dbID, quantity1,detail2dom ) ...@@ -352,7 +355,7 @@ function setQuantity(dbID, quantity1,detail2dom )
{ {
document.getElementById("Detail2."+detail2dom+".quantity").value = quantity1; document.getElementById("Detail2."+detail2dom+".quantity").value = quantity1;
} }*/
function setBomCode(dbID, bomCode,detail2dom ) function setBomCode(dbID, bomCode,detail2dom )
{ {
......
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