Commit 2ba13d32 authored by caluka's avatar caluka

JS updated for MRC hold quantity filed display in screen


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@98448 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 9146f3b5
......@@ -963,12 +963,12 @@ function callExportJSP( )
var pendingIndent="";
var pendingDr="";
var QuarntineStk="";
var runningPlanSupply = "";
var dateFrom="";
var dateTo="";
var siteCodeFrom="";
var siteCodeTo="";
var holdQty = "";
var selectedSampleItem = "";
var issError = false;
var samplItem = [];
......@@ -987,10 +987,22 @@ function callExportJSP( )
suppSour = document.getElementById("Detail3."+dbID+".supp_sour").value;
demand = document.getElementById("Detail3."+dbID+".demand").value;
supply = document.getElementById("Detail3."+dbID+".supply").value;
if( document.getElementById("Detail3."+dbID+".plan_supply") != null)
{
planSupply = document.getElementById("Detail3."+dbID+".plan_supply").value;
}
if( document.getElementById("Detail3."+dbID+".running_plan_supply") != null)
{
runningPlanSupply = document.getElementById("Detail3."+dbID+".running_plan_supply").value;
}
if( document.getElementById("Detail3."+dbID+".running_demand") != null)
{
runningDemand = document.getElementById("Detail3."+dbID+".running_demand").value;
}
if( document.getElementById("Detail3."+dbID+".running_supply") != null)
{
runningSupply = document.getElementById("Detail3."+dbID+".running_supply").value;
runningPlanSupply = document.getElementById("Detail3."+dbID+".running_plan_supply").value;
}
unit = document.getElementById("Detail3."+dbID+".unit").value;
reorderQty = document.getElementById("Detail3."+dbID+".reorder_qty").value;
yieldPerc = document.getElementById("Detail3."+dbID+".yield_perc").value;
......@@ -1002,7 +1014,10 @@ function callExportJSP( )
pendingPo = document.getElementById("Detail3."+dbID+".pending_po").value;
pendingIndent = document.getElementById("Detail3."+dbID+".pending_indent").value;
QuarntineStk = document.getElementById("Detail3."+dbID+".quarntine_stk").value;
if( document.getElementById("Detail3."+dbID+".hold_qty") != null)
{
holdQty = document.getElementById("Detail3."+dbID+".hold_qty").value;
}
if( document.getElementById("Detail2.siteCodeFr_argdata") != null)
{
siteCodeFrom = document.getElementById("Detail2.siteCodeFr_argdata").value;
......@@ -1016,7 +1031,7 @@ function callExportJSP( )
selectedSampleItem = selectedSampleItem + "<Detail3 domID='" + dbID + "'>" +
"<site_code>" + siteCode + "</site_code><item_code>" + itemCode + "</item_code><supp_sour>" + suppSour + "</supp_sour>" +
"<demand>" + demand + "</demand><supply>" + supply + "</supply>" +
"<quarntine_stk>" + QuarntineStk + "</quarntine_stk>" +
"<quarntine_stk>" + QuarntineStk + "</quarntine_stk><hold_qty>" + holdQty + "</hold_qty>" +
"<plan_supply>" + planSupply + "</plan_supply>" +
"<running_demand>" + runningDemand + "</running_demand><running_plan_supply>" + runningPlanSupply + "</running_plan_supply><running_supply>" + runningSupply + "</running_supply>" +
"<unit>" + unit + "</unit>" +
......
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