Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <% var colour = "red".When((long)State["type"] == 0).Otherwise("green"); %>
- <% var flow = (Flow)State["flow"]; %>
- <form action="<%= Html.RouteUrl("update_site_flow", new { site_id = State["site_id"], type = State["type"], id = flow.Id }) %>" method="post" id="form" onsubmit="post_update_flow(this, <%= flow.Id %>);return false;">
- <div class="crm-section">
- <h1 class="blue">
- <span>Actions</span>
- </h1>
- <div style="text-align:right;padding:8px;border:1px solid">
- <input type="submit" value="Save" style="width:125px;" onclick="post_update_flow($('#form'), <%= flow.Id %>);return false;" />
-
- <input type="submit" value="Cancel" style="width:75px;" onclick="cancel_flow();return false;" />
- </div>
- </div>
- <div class="crm-section">
- <h1 class="<%= colour %>">
- <span>Flow Analysis 流向分析</span>
- </h1>
- <table cellpadding="0" cellspacing="0" border="0" width="100%" class="<%= "red".When((long)State["type"] == 0).Otherwise("green") %>">
- <tr>
- <th><%= Flow.ExactProductNameTitle %></th>
- <th><%= Flow.FromDistribtionPointTitle %></th>
- <th><%= Flow.ToDistributionPointTitle %></th>
- <th><%= Flow.DurationOfFlowInYearsTitle %></th>
- <th><%= Flow.SelectTransportModeTitle %></th>
- <th><%= Flow.ProductWeightKGTitle %></th>
- <th><%= Flow.ProductQuantityPerYearTitle %></th>
- <th><%= Flow.MinimumOrderQuantityTitle %></th>
- <th><%= Flow.FreightCostTitle %></th>
- </tr>
- <tr>
- <td style="width:auto;">
- <input type="text" name="flow[ExactProductName]" value="<%= flow.ExactProductName %>" class="form-field value" style="margin-top:4px;" />
- </td>
- <td style="width:auto;">
- <input type="text" name="flow[FromDistribtionPoint]" value="<%= flow.FromDistribtionPoint %>" class="form-field value" style="margin-top:4px;" />
- </td>
- <td style="width:auto;">
- <input type="text" name="flow[ToDistributionPoint]" value="<%= flow.ToDistributionPoint %>" class="form-field value" style="margin-top:4px;" />
- </td>
- <td style="width:auto;">
- <input type="text" name="flow[DurationOfFlowInYears]" value="<%= flow.DurationOfFlowInYears %>" class="form-field value" style="margin-top:4px;" dataType="float" />
- </td>
- <td style="width:auto;">
- <select name="flow[SelectTransportMode]" class="form-field value" style="margin-top:4px;width:90%;">
- <option value="">-</option>
- <option value="air" <%= "selected".When(flow.SelectTransportMode.Equals("air")) %>>Air</option>
- <option value="sea" <%= "selected".When(flow.SelectTransportMode.Equals("sea")) %>>Sea</option>
- <option value="land" <%= "selected".When(flow.SelectTransportMode.Equals("land")) %>>Land</option>
- </select>
- <select name="flow[TransportContainerType]" class="form-field value" style="margin-top:0px;width:90%;">
- <option value="">-</option>
- </select>
- </td>
- <td style="width:auto;">
- <input type="text" name="flow[ProductWeightKG]" value="<%= flow.ProductWeightKG %>" class="form-field value" style="margin-top:4px;" />
- </td>
- <td style="width:auto;">
- <input type="text" name="flow[ProductQuantityPerYear]" value="<%= flow.ProductQuantityPerYear %>" class="form-field value" style="margin-top:4px;" />
- </td>
- <td style="width:auto;">
- <input type="text" name="flow[MinimumOrderQuantity]" value="<%= flow.MinimumOrderQuantity %>" class="form-field value" style="margin-top:4px;" dataType="int" />
- </td>
- <td style="width:auto;">
- <input type="text" name="flow[FreightCost]" value="<%= flow.FreightCost %>" id="flow_FreightCost" class="form-field value" style="margin-top:4px;" dataType="int" />
- <select name="flow[CostType]" class="form-field value" style="margin-top:0px;width:85%;">
- <option value="">-</option>
- <option value="m3" <%= "selected".When(flow.CostType.Equals("m3")) %>>m3</option>
- <option value="kg" <%= "selected".When(flow.CostType.Equals("kg")) %>>kg</option>
- </select>
- </td>
- </tr>
- </table>
- </div>
- <div class="crm-section">
- <h1 class="<%= colour %>">
- <span>Analysis of Current Packaging包装分析</span>
- </h1>
- <table cellpadding="0" cellspacing="0" border="0" width="100%" class="<%= colour %>">
- <tr>
- <th><%= Flow.ExistingPackagingDescriptionTitle %></th>
- <th width="175">Size of kit<br />(LxWxH mm)</th>
- <th><%= Flow.MaxNumberOfKitsPerTransportTitle %></th>
- <th><%= Flow.ProductsPerKitTitle %></th>
- <th><%= Flow.QuantityOfKitsTitle %></th>
- <th width="150"><%= Flow.TotalPriceOfKitTitle %></th>
- </tr>
- <tr>
- <td style="width:auto;">
- <input type="text" name="flow[ExistingPackagingDescription]" value="<%= flow.ExistingPackagingDescription %>" class="form-field value" style="margin-top:4px;" />
- </td>
- <td style="width:auto;">
- <div class="value" style="margin-top:4px;text-align:center;">
- <input type="radio" name="flow[Od]" style="vertical-align:middle;" <%= "checked".When(flow.Od) %> />OD
- <input type="radio" name="flow[Od]" style="vertical-align:middle;" <%= "checked".When(!flow.Od) %> />ID
- <br />
- <input type="text" name="flow[Length]" value="<%= flow.Length %>" id="flow_Length" class="form-field value" style="margin:0px;width:27%;" dataType="float" /> *
- <input type="text" name="flow[Width]" value="<%= flow.Width %>" id="flow_Width" class="form-field value" style="margin:0px;width:27%;" dataType="float" /> *
- <input type="text" name="flow[Height]" value="<%= flow.Height %>" id="flow_Height" class="form-field value" style="margin:0px;width:27%;" dataType="float" />
- </div>
- </td>
- <td style="width:auto;">
- <input type="text" name="flow[MaxNumberOfKitsPerTransport]" value="<%= flow.MaxNumberOfKitsPerTransport %>" class="form-field value" style="margin-top:4px;" />
- </td>
- <td style="width:auto;">
- <input type="text" name="flow[ProductsPerKit]" id="flow_ProductsPerKit" value="<%= flow.ProductsPerKit %>" class="form-field value" style="margin-top:4px;" dataType="int" />
- </td>
- <td style="width:auto;">
- <input type="text" name="flow[QuantityOfKits]" value="<%= flow.QuantityOfKits %>" class="form-field value" style="margin-top:4px;" dataType="int" />
- </td>
- <td style="width:auto;">
- <div class="value" style="margin-top:4px;text-align:center;">
- <input type="text" name="flow[TotalPriceOfKit]" id="flow_TotalPriceOfKit" value="<%= flow.TotalPriceOfKit %>" class="form-field value" style="margin:0px;width:27%;" dataType="int" /> /
- <input type="text" class="value" id="flow_PPK" value="<%= flow.ProductsPerKit %>" disabled="disabled" style="margin:0px;width:27%;" /> =
- <input type="text" class="value" id="flow_CalcSum" value="<%= (flow.ProductsPerKit > 0) ? ((float)flow.TotalPriceOfKit / (float)flow.ProductsPerKit) : 0 %>" disabled="disabled" style="margin:0px;width:27%;" />
- </div>
- </td>
- </tr>
- </table>
- </div>
- <div class="crm-section">
- <h1 class="<%= colour %>">
- <span>Pictures from flow 流向图片</span>
- </h1>
- <table cellpadding="0" cellspacing="0" border="0" width="100%" class="<%= colour %>">
- <tr>
- <th width="50%">Picture of product 产品图片</th>
- <th width="50%">Picture of packaging 包装图片</th>
- </tr>
- </table>
- </div>
- <div class="crm-section">
- <h1 class="<%= colour %>">
- <span><%= Flow.OtherInformationAboutFlowTitle %></span>
- </h1>
- <table cellpadding="0" cellspacing="0" border="0" width="100%" class="<%= colour %>">
- <tr>
- <%= Html.FormTextField(Flow.ProblemsWithFlowTitle, "flow", "ProblemsWithFlow", flow.ProblemsWithFlow) %>
- <%= Html.FormTextField(Flow.OtherInformationAboutFlowTitle, "flow", "OtherInformationAboutFlow", flow.OtherInformationAboutFlow) %>
- </tr>
- </table>
- </div>
- <div class="crm-section">
- <h1 class="blue">
- <span><%= Flow.RecommendationTitle %></span>
- </h1>
- <table cellpadding="0" cellspacing="0" border="0" width="100%">
- <tr>
- <td colspan="2">
- <span class="key"><%= Flow.RecommendationOfWhatToDoWithFlowTitle %></span>
- <input type="text" name="flow[RecommendationOfWhatToDoWithFlow]" value="<%= flow.RecommendationOfWhatToDoWithFlow %>" class="form-field value" />
- </td>
- </tr>
- <tr>
- <%= Html.FormSelectField(Flow.PriorityTitle, "flow", "Priority", Enum.GetNames(typeof(Flow.PriorityEnum)).ToDictionary(key => key, value => value), flow.Priority.ToString()) %>
- <%= Html.FormSelectField(Flow.ComplexityTitle, "flow", "Complexity", Enum.GetNames(typeof(Flow.ComplexityEnum)).ToDictionary(key => key, value => value), flow.Complexity.ToString()) %>
- </tr>
- </table>
- </div>
- <div class="crm-section">
- <h1 class="gray">
- <span><%= "Customer Product Information 客户产品信息" %></span>
- </h1>
- <table cellpadding="0" cellspacing="0" border="0" width="100%">
- <tr>
- <td style="width:33%;">
- <span class="key">Upload Drawing of product</span>
- <div class="value" style="padding-top:4px;">
- <input type="button" value="Upload" />
- </div>
- </td>
- <td style="width:33%;">
- <span class="key"><%= Flow.CanBeFixedString %></span>
- <div class="value" style="padding-top:4px;">
- <input type="radio" name="flow[CanBeFixed]" value="true" class="form-field" style="margin-top:0;width:auto;vertical-align:middle;" <%= "checked".When(flow.CanBeFixed) %> />Yes
- <input type="radio" name="flow[CanBeFixed]" value="false" class="form-field" style="margin-top:0;width:auto;vertical-align:middle;" <%= "checked".When(!flow.CanBeFixed) %> />No
- <br />
- <%= Flow.DescribeFixationPointsStringTitle %>:
- <input type="text" name="flow[DescribeFixationPoints]" value="<%= flow.DescribeFixationPoints %>" class="form-field value" style="margin-top:0;width:auto;vertical-align:middle;" />
- </div>
- </td>
- <td style="width:33%;" rowspan="3">
- <span class="key"><%= Flow.SensitiveToTitle %></span>
- <div class="value" style="padding-top:4px;">
- <input type="checkbox" name="flow[SensitiveMoistureorCorrosion]" <%= "checked".When(flow.SensitiveMoistureorCorrosion) %> class="form-field" style="margin-top:0;width:auto;vertical-align:middle;" />
- <span style="margin-left:-3px;width:125px;"><%= Flow.SensitiveMoistureorCorrosionTitle %>:</span>
- <input type="text" name="flow[SensitiveMoistureorCorrosionComments]" value="<%= flow.SensitiveMoistureorCorrosionComments %>" class="form-field value" style="margin-top:0;width:auto;vertical-align:middle;" />
- <br />
- <input type="checkbox" name="flow[ESDRequirements]" <%= "checked".When(flow.ESDRequirements) %> class="form-field" style="margin-top:0;width:auto;vertical-align:middle;" />
- <span style="width:125px;"><%= Flow.ESDRequirementsTitle %>:</span>
- <input type="text" name="flow[ESDRequirementsComments]" value="<%= flow.ESDRequirementsComments %>" class="form-field value" style="margin-top:0;width:auto;vertical-align:middle;" />
- <br />
- <input type="checkbox" name="flow[SensitiveShock]" <%= "checked".When(flow.SensitiveShock) %> class="form-field" style="margin-top:0;width:auto;vertical-align:middle;" />
- <span style="width:125px;"><%= Flow.SensitiveShockTitle %>:</span>
- <input type="text" name="flow[SensitiveShockComments]" value="<%= flow.SensitiveShockComments %>" class="form-field value" style="margin-top:0;width:auto;vertical-align:middle;" />
- <br />
- <input type="checkbox" name="flow[SensitiveDust]" <%= "checked".When(flow.SensitiveDust) %> class="form-field" style="margin-top:0;width:auto;vertical-align:middle;" />
- <span style="width:125px;"><%= Flow.SensitiveDustTitle %>:</span>
- <input type="text" name="flow[SensitiveDustComments]" value="<%= flow.SensitiveDustComments %>" class="form-field value" style="margin-top:0;width:auto;vertical-align:middle;" />
- <br />
- <input type="checkbox" name="flow[SensitiveScratch]" <%= "checked".When(flow.SensitiveScratch) %> class="form-field" style="margin-top:0;width:auto;vertical-align:middle;" />
- <span style="width:125px;"><%= Flow.SensitiveScratchTitle %>:</span>
- <input type="text" name="flow[SensitiveScratchComments]" value="<%= flow.SensitiveScratchComments %>" class="form-field value" style="margin-top:0;width:auto;vertical-align:middle;" />
- <br />
- <input type="checkbox" name="flow[SensitiveVibration]" <%= "checked".When(flow.SensitiveVibration) %> class="form-field" style="margin-top:0;width:auto;vertical-align:middle;" />
- <span style="width:125px;"><%= Flow.SensitiveVibrationTitle %>:</span>
- <input type="text" name="flow[SensitiveVibrationComments]" value="<%= flow.SensitiveVibrationComments %>" class="form-field value" style="margin-top:0;width:auto;vertical-align:middle;" />
- <br />
- </div>
- </td>
- </tr>
- <tr>
- <td style="width:33%;">
- <span class="key"><%= Flow.DimensionOfProductTitle %></span>
- <div class="value" style="padding-top:4px;">
- <input type="text" name="flow[LengthOfProduct]" class="form-field value" style="margin-top:0;width:32px;vertical-align:middle;" value="<%= flow.LengthOfProduct %>" dataType="int" />*
- <input type="text" name="flow[WidthOfProduct]" class="form-field value" style="margin-top:0;width:32px;vertical-align:middle;" value="<%= flow.WidthOfProduct %>" dataType="int" />*
- <input type="text" name="flow[HeightOfProduct]" class="form-field value" style="margin-top:0;width:32px;vertical-align:middle;" value="<%= flow.HeightOfProduct %>" dataType="int" />
- </div>
- </td>
- <td style="width:33%;">
- <span class="key"><%= Flow.RequiredProductNoPerBoxTitle %></span>
- <input type="text" name="flow[RequiredProductNoPerBox]" value="<%= flow.RequiredProductNoPerBox %>" class="form-field value" />
- </td>
- </tr>
- <tr>
- <td style="width:33%;">
- <span class="key"><%= Flow.WeightOfProductTitle %></span>
- <div class="value" style="padding-top:4px;">
- <input type="text" name="flow[WeightOfProduct]" value="<%= flow.WeightOfProduct %>" class="form-field value" style="margin-top:0;width:200px;vertical-align:middle;" dataType="int" />kg
- </div>
- </td>
- <td style="width:33%;">
- <span class="key"><%= Flow.ProductValueTitle %></span>
- <div class="value" style="padding-top:4px;">
- <input type="text" name="flow[ProductValue]" value="<%= flow.ProductValue %>" class="form-field value" style="margin-top:0;width:200px;vertical-align:middle;" dataType="int" />RMB
- </div>
- </td>
- </tr>
- <tr>
- <td style="width:33%;">
- <span class="key"><%= Flow.WeightSpreadingTitle %></span>
- <div class="value" style="padding-top:4px;">
- <input type="checkbox" name="flow[WeightSpreadingEven]" <%= "checked".When(flow.WeightSpreadingEven) %> class="form-field" style="margin-top:0;width:auto;vertical-align:middle;" />
- <%= Flow.WeightSpreadingEvenTitle %>
- <br />
- <input type="checkbox" name="flow[WeightSpreadingPoint]" <%= "checked".When(flow.WeightSpreadingPoint) %> class="form-field" style="margin-top:0;width:auto;vertical-align:middle;" />
- <%= Flow.WeightSpreadingPointTitle %>
- <br />
- <input type="checkbox" name="flow[WeightSpreadingUneven]" <%= "checked".When(flow.WeightSpreadingUneven) %> class="form-field" style="margin-top:0;width:auto;vertical-align:middle;" />
- <%= Flow.WeightSpreadingUnevenTitle %>
- <input type="text" name="flow[WeightSpreadingComment]" value="<%= flow.WeightSpreadingComment %>" class="form-field value" style="margin-top:0;width:200px;vertical-align:middle;" />
- </div>
- </td>
- <td style="width:33%;">
- <span class="key"><%= Flow.DesignFixedTitle %></span>
- <div class="value" style="padding-top:4px;">
- <input type="radio" name="flow[DesignFixed]" value="true" <%= "checked".When(flow.DesignFixed) %> value="true" class="form-field" style="margin-top:0;width:auto;vertical-align:middle;" />
- Yes
- <br />
- <input type="radio" name="flow[DesignFixed]" value="false" <%= "checked".When(!flow.DesignFixed) %> value="false" class="form-field" style="margin-top:0;width:auto;vertical-align:middle;" />
- No
- <br />
-
- <%= Flow.EstimateLifetimeTitle %>
- <input type="text" name="flow[EstimateLifetime]" value="<%= flow.EstimateLifetime %>" class="form-field value" style="margin-top:0;width:150px;vertical-align:middle;" />
- </div>
- </td>
- <td style="width:33%;">
- <span class="key"><%= Flow.DangerousGoodsTitle %></span>
- <div class="value" style="padding-top:4px;">
- <input type="radio" name="flow[DangerousGoods]" value="true" <%= "checked".When(flow.DangerousGoods) %> class="form-field" style="margin-top:0;width:auto;vertical-align:middle;" />
- Yes
- <br />
- <input type="radio" name="flow[DangerousGoods]" value="false" <%= "checked".When(!flow.DangerousGoods) %> class="form-field" style="margin-top:0;width:auto;vertical-align:middle;" />
- No
- <br />
-
- If yes what UN class
- <select name="flow[UNClass]" class="form-field value" style="margin-top:0;width:150px;vertical-align:middle;" >
- <% foreach (UNClass un in UNClass.FindAll()) { %>
- <option value="<%= un.Id %>" <%= "selected".When(flow.UNClass == un.Id) %>><%= un.Title %></option>
- <% } %>
- </select>
- </div>
- </td>
- </tr>
- <tr>
- <td style="width:33%;">
- <span class="key"><%= Flow.SupportOwnWeightTitle %></span>
- <div class="value" style="padding-top:4px;">
- <input type="radio" name="flow[SupportOwnWeight]" value="true" <%= "checked".When(flow.SupportOwnWeight) %> class="form-field" style="margin-top:0;width:auto;vertical-align:middle;" />
- Yes
- <br />
- <input type="radio" name="flow[SupportOwnWeight]" value="false" <%= "checked".When(!flow.SupportOwnWeight) %> class="form-field" style="margin-top:0;width:auto;vertical-align:middle;" />
- No
- <input type="text" name="flow[SupportOwnWeightComments]" value="<%= flow.SupportOwnWeightComments %>" class="form-field value" style="margin-top:0;width:150px;vertical-align:middle;" />
- </div>
- </td>
- <td style="width:33%;">
- <span class="key"><%= Flow.SentivePartTitle %></span>
- <div class="value" style="padding-top:4px;">
- <input type="radio" name="flow[SentivePart]" value="true" <%= "checked".When(flow.SentivePart) %> class="form-field" style="margin-top:0;width:auto;vertical-align:middle;" />
- Yes
- <br />
- <input type="radio" name="flow[SentivePart]" value="false" <%= "checked".When(!flow.SentivePart) %> class="form-field" style="margin-top:0;width:auto;vertical-align:middle;" />
- No
- <input type="text" name="flow[SentivePartComments]" value="<%= flow.SentivePartComments %>" class="form-field value" style="margin-top:0;width:150px;vertical-align:middle;" />
- </div>
- </td>
- <td style="width:33%;">
- <span class="key"><%= Flow.RequiredOnLabelingTitle %></span>
- <div class="value" style="padding-top:4px;">
- <input type="text" name="flow[RequiredOnLabeling]" value="true" value="<%= flow.RequiredOnLabeling %>" class="form-field value" style="margin-top:0;width:150px;vertical-align:middle;" />
- <br />
-
- <input type="checkbox" name="flow[RequiredArrow]" value="true" <%= "checked".When(flow.RequiredArrow) %> class="form-field" style="margin-top:0;width:auto;vertical-align:middle;" />
- <span style="margin-left:-3px;width:75px;"><%= Flow.RequiredArrowTitle %></span>
- <br />
-
- <input type="checkbox" name="flow[RequiredGlass]" value="true" <%= "checked".When(flow.RequiredGlass) %> class="form-field" style="margin-top:0;width:auto;vertical-align:middle;" />
- <span style="margin-left:-3px;width:75px;"><%= Flow.RequiredGlassTitle %></span>
- <br />
-
- <input type="checkbox" name="flow[RequiredUmbrella]" value="true" <%= "checked".When(flow.RequiredUmbrella) %> class="form-field" style="margin-top:0;width:auto;vertical-align:middle;" />
- <span style="margin-left:-3px;width:75px;"><%= Flow.RequiredUmbrellaTitle %></span>
- <br />
-
- <span style="margin-left:4px;width:75px;"><%= "Other" %>:</span>
- <input type="text" name="flow[RequiredComments]" value="<%= flow.RequiredComments %>" class="form-field value" style="margin-top:0;width:auto;vertical-align:middle;" />
- </div>
- </td>
- </tr>
- <tr>
- <td colspan="3">
- <span class="key"><%= Flow.ProductGeneralCommentsTitle %></span>
- <input type="text" name="flow[ProductGeneralComments]" value="<%= flow.ProductGeneralComments %>" class="form-field value" />
- </td>
- </tr>
- </table>
- </div>
- <!-- Further logistics information -->
- <div class="crm-section">
- <h1 class="gray">
- <span><%= Flow.FurtherLogisticsInformationTitle %></span>
- </h1>
- <table cellpadding="0" cellspacing="0" border="0" width="100%" class="gray">
- <tr>
- <th colspan="2"><%= Flow.StackingAndStoringTitle %></th>
- <th><%= Flow.HandlingTitle %></th>
- <th><%= Flow.PackingTitle %></th>
- </tr>
- <tr>
- <td style="width:16%;">
- <span class="key"><%= Flow.StaticStackingTitle %></span>
- <div class="value" style="padding-top:4px;">
- <input type="radio" name="flow[StaticStacking]" value="true" <%= "checked".When(flow.StaticStacking) %> class="form-field" style="margin-top:0;margin-right:0;width:auto;vertical-align:middle;" />
- Yes
-
- <input type="radio" name="flow[StaticStacking]" value="false" <%= "checked".When(!flow.StaticStacking) %> class="form-field" style="margin-top:0;width:auto;vertical-align:middle;" />
- No
- </div>
- </td>
- <td style="width:17%;">
- <span class="key"><%= Flow.NumberInHeightTitle %></span>
- <input type="text" name="flow[NumberInHeight]" value="<%= flow.NumberInHeight %>" class="form-field value" dataType="int" />
- </td>
- <td style="width:33%;" rowspan="2">
- <span class="key"><%= Flow.HandlingToolsUsedTitle %></span>
- <div class="value" style="padding-top:4px;">
- <span>1.</span>
- <select class="form-field value" name="flow[HandlingToolsUsed1]" style="margin-top:0;vertical-align:middle;width:90%;"><option>Select...</option></select>
- <br />
- <span>2.</span>
- <select class="form-field value" name="flow[HandlingToolsUsed2]" style="margin-top:0;vertical-align:middle;width:90%;"><option>Select...</option></select>
- <br />
- <span>3.</span>
- <select class="form-field value" name="flow[HandlingToolsUsed3]" style="margin-top:0;vertical-align:middle;width:90%;"><option>Select...</option></select>
- </div>
- </td>
- <td style="width:33%;" rowspan="2">
- <span class="key"><%= Flow.PackingUsedTitle %></span>
- <div class="value" style="padding-top:4px;">
- <input type="checkbox" name="flow[PackingAssemblyLine]" <%= "checked".When(flow.PackingAssemblyLine) %> class="form-field" style="margin-top:0;width:auto;vertical-align:middle;" />
- <span style="width:125px;"><%= Flow.PackingAssemblyLineTitle %></span>
- <br />
- <input type="checkbox" name="flow[PackingArea]" <%= "checked".When(flow.PackingArea) %> class="form-field" style="margin-top:0;width:auto;vertical-align:middle;" />
- <span style="width:125px;"><%= Flow.PackingAreaTitle %></span>
- <br />
- <input type="checkbox" name="flow[PackingOther]" <%= "checked".When(flow.PackingOther) %> class="form-field" style="margin-top:0;width:auto;vertical-align:middle;" />
- <span style="width:125px;"><%= Flow.PackingOtherTitle %></span>
- <br />
- <span style="width:100px;margin-left:5px;"><%= Flow.PackingDescribeTitle %></span>
- <input type="text" name="flow[PackingDescribe]" value="<%= flow.PackingDescribe %>" class="form-field value" style="margin-top:0;width:165px;vertical-align:middle;" />
- </div>
- </td>
- </tr>
- <tr>
- <td style="width:33%;" colspan="2">
- <span class="key"><%= Flow.StorageConditionTitle %></span>
- <select name="flow[StorageCondition]" class="form-field value" style="width:95%;">
- <option value="0">-</option>
- <option value="1" <%= "selected".When(flow.StorageCondition == 1) %>><%= Flow.StorageCondition1Title %></option>
- <option value="2" <%= "selected".When(flow.StorageCondition == 2) %>><%= Flow.StorageCondition2Title %></option>
- <option value="3" <%= "selected".When(flow.StorageCondition == 3) %>><%= Flow.StorageCondition3Title %></option>
- <option value="4" <%= "selected".When(flow.StorageCondition == 4) %>><%= Flow.StorageCondition4Title %></option>
- </select>
- </td>
- </tr>
- <tr>
- <td style="width:33%;border-bottom:none;" colspan="2">
- <span class="key"><%= Flow.ProductsPlacedInRackTitle %></span>
- <div class="value" style="padding-top:4px;">
- <input type="radio" name="flow[ProductsPlacedInRack]" value="true" <%= "checked".When(flow.ProductsPlacedInRack) %> class="form-field" style="margin-top:0;margin-right:0;width:auto;vertical-align:middle;" />
- Yes
-
- <input type="radio" name="flow[ProductsPlacedInRack]" value="false" <%= "checked".When(!flow.ProductsPlacedInRack) %> class="form-field" style="margin-top:0;width:auto;vertical-align:middle;" />
- No
- </div>
- </td>
- <td style="width:33%;" rowspan="2">
- <span class="key"><%= Flow.PackagingAssemblyTimeRequiredTitle %></span>
- <input type="text" name="flow[PackagingAssemblyTimeRequired]" value="<%= flow.PackagingAssemblyTimeRequired %>" class="form-field value" />
- </td>
- <td style="width:33%;" rowspan="2">
- <span class="key"><%= Flow.ProductLoadedTitle %></span>
- <div class="value" style="padding-top:4px;">
- <input type="checkbox" name="flow[ProductLoadedTop]" <%= "checked".When(flow.ProductLoadedTop) %> class="form-field" style="margin-top:0;width:auto;vertical-align:middle;" />
- <span style="width:125px;"><%= Flow.ProductLoadedTopTitle %></span>
- <br />
- <input type="checkbox" name="flow[ProductLoadedSide]" <%= "checked".When(flow.ProductLoadedSide) %> class="form-field" style="margin-top:0;width:auto;vertical-align:middle;" />
- <span style="width:125px;"><%= Flow.ProductLoadedSideTitle %></span>
- <br />
- <input type="checkbox" name="flow[ProductLoadedEnd]" <%= "checked".When(flow.ProductLoadedEnd) %> class="form-field" style="margin-top:0;width:auto;vertical-align:middle;" />
- <span style="width:125px;"><%= Flow.ProductLoadedEndTitle %></span>
- <br />
- <span style="width:100px;margin-left:5px;"><%= Flow.ProductLoadedDescribeTitle %></span>
- <input type="text" name="flow[ProductLoadedDescribe]" value="<%= flow.ProductLoadedDescribe %>" class="form-field value" style="margin-top:0;width:165px;vertical-align:middle;" />
- </div>
- </td>
- </tr>
- <tr>
- <td style="width:33%;" colspan="2">
- <span class="key"><%= "Dimension of rack 货架尺寸" %></span>
- <div class="value" style="padding-top:4px;">
- <input type="text" name="flow[RackLength]" value="<%= flow.RackLength %>" class="form-field value" style="margin-top:0;width:40px;vertical-align:middle;" dataType="int" />*
- <input type="text" name="flow[RackWidth]" value="<%= flow.RackWidth %>" class="form-field value" style="margin-top:0;width:40px;vertical-align:middle;" dataType="int" />*
- <input type="text" name="flow[RackHeight]" value="<%= flow.RackHeight %>" class="form-field value" style="margin-top:0;width:40px;vertical-align:middle;" dataType="int" />
- </div>
- </td>
- </tr>
- <tr>
- <td style="width:33%;" colspan="2">
- <span class="key"><%= Flow.DynamicStackingTitle %></span>
- <div class="value" style="padding-top:4px;">
- <input type="radio" name="flow[DynamicStacking]" value="true" <%= "checked".When(flow.DynamicStacking) %> class="form-field" style="margin-top:0;margin-right:0;width:auto;vertical-align:middle;" />
- Yes
-
- <input type="radio" name="flow[DynamicStacking]" value="false" <%= "checked".When(!flow.DynamicStacking) %> class="form-field" style="margin-top:0;width:auto;vertical-align:middle;" />
- No
- </div>
- </td>
- <td style="width:33%;" rowspan="2">
- <span class="key"><%= Flow.PalletRequiredTitle %></span>
- <div class="value" style="padding-top:4px;">
- <input type="radio" name="flow[PalletRequired]" value="true" <%= "checked".When(flow.PalletRequired) %> class="form-field" style="margin-top:0;margin-right:0;width:auto;vertical-align:middle;" />
- Yes
- <br />
- <input type="radio" name="flow[PalletRequired]" value="false" <%= "checked".When(!flow.PalletRequired) %> class="form-field" style="margin-top:0;width:auto;vertical-align:middle;" />
- No
- </div>
- </td>
- <td style="width:33%;" rowspan="2">
- <span class="key"><%= Flow.RepackedNeededTitle %></span>
- <div class="value" style="padding-top:4px;margin-top:32px;">
- <input type="radio" name="flow[RepackedNeeded]" value="1" <%= "checked".When(flow.RepackedNeeded == 1) %> class="form-field" style="margin-top:0;margin-right:0;width:auto;vertical-align:middle;" />
- <%= Flow.RepackedNeededTitle1 %>
-
- <input type="radio" name="flow[RepackedNeeded]" value="2" <%= "checked".When(flow.RepackedNeeded == 2) %> class="form-field" style="margin-top:0;width:auto;vertical-align:middle;" />
- <%= Flow.RepackedNeededTitle2 %>
-
- <input type="radio" name="flow[RepackedNeeded]" value="3" <%= "checked".When(flow.RepackedNeeded == 3) %> class="form-field" style="margin-top:0;width:auto;vertical-align:middle;" />
- <%= Flow.RepackedNeededTitle3 %>
- <br />
- <span style="width:100px;margin-left:5px;"><%= Flow.DescribeRepackedTitle %></span>
- <input type="text" name="flow[DescribeRepacked]" value="<%= flow.DescribeRepacked %>" class="form-field value" style="margin-top:0;width:165px;vertical-align:middle;" />
- </div>
- </td>
- </tr>
- <tr>
- <td style="width:33%;" colspan="2">
- <span class="key"><%= Flow.NumberInHeightDynamicTitle %></span>
- <div class="value" style="padding-top:4px;">
- <input type="text" name="flow[NumberInHeightDynamic]" value="<%= flow.NumberInHeightDynamic %>" class="form-field value" style="margin-top:0;vertical-align:middle;" dataType="int" />
- <input type="radio" name="flow[UnitizedLoading]" value="true" <%= "checked".When(flow.UnitizedLoading) %> class="form-field" style="margin-top:0;margin-right:0;width:auto;vertical-align:middle;" />
- <%= Flow.UnitizedLoadingTitle %>
- <br />
- <input type="radio" name="flow[UnitizedLoading]" value="false" <%= "checked".When(!flow.UnitizedLoading) %> class="form-field" style="margin-top:0;width:auto;vertical-align:middle;" />
- <%= Flow.NonUnitizedLoadingTitle %>
- </div>
- </td>
- </tr>
- </table>
- </div>
- <!-- Customer preferences -->
- <div class="crm-section">
- <h1 class="gray">
- <span><%= Flow.CustomerPreferencesTitle %></span>
- </h1>
- <table cellpadding="0" cellspacing="0" border="0" width="100%" class="gray">
- <tr>
- <td style="width:60%;">
- <span class="key"><%= Flow.PackagingMaterialFromCustomerTitle %></span>
- <input type="text" name="flow[PackagingMaterialFromCustomer]" value="<%= flow.PackagingMaterialFromCustomer %>" class="form-field value" />
- </td>
- <td style="width:40%;">
- <span class="key"><%= Flow.BannedMaterialFromCustomerTitle %></span>
- <input type="text" name="flow[BannedMaterialFromCustomer]" value="<%= flow.BannedMaterialFromCustomer %>" class="form-field value" />
- </td>
- </tr>
- <tr>
- <th style="width:60%;"><%= Flow.PackagingApprovalProcedureTitle %></th>
- <th style="width:40%;"><%= Flow.EnvironmentalRegulationsTitle %></th>
- </tr>
- <tr>
- <td style="width:60%;">
- <div class="value" style="padding-top:4px;margin-top:4px;">
- <input type="checkbox" name="flow[RealTrial]" <%= "checked".When(flow.RealTrial) %> class="form-field" style="margin-top:0;width:auto;vertical-align:middle;" />
- <span><%= Flow.RealTrialTitle %></span>
- <br />
- <input type="checkbox" name="flow[TestPackaging]" <%= "checked".When(flow.TestPackaging) %> class="form-field" style="margin-top:0;width:auto;vertical-align:middle;" />
- <span><%= Flow.TestPackagingTitle %></span>
- <br />
- <input type="checkbox" name="flow[SampleInspection]" <%= "checked".When(flow.SampleInspection) %> class="form-field" style="margin-top:0;width:auto;vertical-align:middle;" />
- <span><%= Flow.SampleInspectionTitle %></span>
- <br />
- <input type="checkbox" name="flow[TestNorm]" <%= "checked".When(flow.TestNorm) %> class="form-field" style="margin-top:0;width:auto;vertical-align:middle;" />
- <span><%= Flow.TestNormTitle %></span>
- <br />
- <input type="radio" name="flow[TestingIdentify]" value="false" <%= "checked".When(!flow.TestingIdentify) %> class="form-field" style="margin-top:0;margin-right:0;width:auto;vertical-align:middle;" />
- No
- <input type="radio" name="flow[TestingIdentify]" value="true" <%= "checked".When(flow.TestingIdentify) %> class="form-field" style="margin-top:0;margin-right:0;width:auto;vertical-align:middle;" />
- Yes
- <input type="text" name="flow[TestingNeedingComments]" value="<%= flow.TestingNeedingComments %>" class="form-field value" style="margin-top:0;width:430px;vertical-align:middle;" />
- <br />
- <span style="margin-left:52px;">-</span>
- <input type="checkbox" name="flow[TestVibration]" <%= "checked".When(flow.TestVibration) %> class="form-field" style="margin-top:0;width:auto;vertical-align:middle;" />
- <%= Flow.TestVibrationTitle %>
- <input type="checkbox" name="flow[TestImpact]" <%= "checked".When(flow.TestImpact) %> class="form-field" style="margin-top:0;width:auto;vertical-align:middle;" />
- <%= Flow.TestImpactTitle %>
- <input type="checkbox" name="flow[TestDrop]" <%= "checked".When(flow.TestDrop) %> class="form-field" style="margin-top:0;width:auto;vertical-align:middle;" />
- <%= Flow.TestDropTitle %>
- <input type="checkbox" name="flow[TestStackingCompression]" <%= "checked".When(flow.TestStackingCompression) %> class="form-field" style="margin-top:0;width:auto;vertical-align:middle;" />
- <%= Flow.TestStackingCompressionTitle %>
- <input type="checkbox" name="flow[OtherForTesting]" <%= "checked".When(flow.OtherForTesting) %> class="form-field" style="margin-top:0;width:auto;vertical-align:middle;" />
- <%= Flow.OtherForTestingTitle %>:
- <br />
- <input type="text" name="flow[OtherForTestingNorm]" value="<%= flow.OtherForTestingNorm %>" class="form-field value" style="margin-top:0;vertical-align:middle;" />
- </div>
- </td>
- <td style="width:40%;">
- <span class="key"><%= Flow.EnvironmentConsiderationsTitle %></span>
- <div class="value" style="padding-top:4px;">
- <input type="checkbox" name="flow[EnvironmentIPPC]" <%= "checked".When(flow.EnvironmentIPPC) %> class="form-field" style="margin-top:0;width:auto;vertical-align:middle;" />
- <span style="width:125px;"><%= Flow.EnvironmentIPPCTitle %></span>
- <br />
- <input type="checkbox" name="flow[EnvironmentROHS]" <%= "checked".When(flow.EnvironmentROHS) %> class="form-field" style="margin-top:0;width:auto;vertical-align:middle;" />
- <span style="width:125px;"><%= Flow.EnvironmentROHSTtitle %></span>
- <br />
- <input type="checkbox" name="flow[EnvironmentE1]" <%= "checked".When(flow.EnvironmentE1) %> class="form-field" style="margin-top:0;width:auto;vertical-align:middle;" />
- <span style="width:125px;"><%= Flow.EnvironmentE1Title %></span>
- <br />
- <input type="checkbox" name="flow[EnvironmentREACH]" <%= "checked".When(flow.EnvironmentREACH) %> class="form-field" style="margin-top:0;width:auto;vertical-align:middle;" />
- <span style="width:125px;"><%= Flow.EnvironmentREACHTitle %></span>
- <br />
- <input type="checkbox" name="flow[EnvironmentOther]" <%= "checked".When(flow.EnvironmentOther) %> class="form-field" style="margin-top:0;width:auto;vertical-align:middle;" />
- <span style="width:125px;"><%= Flow.EnvironmentOtherTitle %></span>
- <br />
- <input type="text" name="flow[EnvironmentComments]" value="<%= flow.EnvironmentComments %>" class="form-field value" style="margin-top:0;vertical-align:middle;" />
- </div>
- </td>
- </tr>
- </table>
- </div>
- <!-- Project planning -->
- <div class="crm-section">
- <h1 class="gray">
- <span><%= Flow.ProjecPlanningTitle %></span>
- </h1>
- <table cellpadding="0" cellspacing="0" border="0" width="100%" class="gray">
- <tr>
- <th style="width:37%;"><%= Flow.ProjecPlanTitle %></th>
- <th style="width:37%;"><%= Flow.DesignInputTitle %></th>
- <th style="width:26%;"><%= Flow.ExpectationOnEngineerTitle %></th>
- </tr>
- <tr>
- <td style="width:37%;">
- <span class="key"><%= Flow.DateForConceptTitle %></span>
- <div class="value" style="padding-top:4px;">
- DateForConcept
- </div>
- </td>
- <td style="width:37%;" rowspan="2">
- <span class="key"><%= Flow.CadAvailableTitle %></span>
- <div class="value" style="padding-top:4px;">
- <input type="radio" name="flow[CadAvailable]" value="true" <%= "checked".When(flow.CadAvailable) %> class="form-field" style="margin-top:0;margin-right:0;width:auto;vertical-align:middle;" />
- Yes
-
- <input type="radio" name="flow[CadAvailable]" value="false" <%= "checked".When(!flow.CadAvailable) %> class="form-field" style="margin-top:0;width:auto;vertical-align:middle;" />
- No
- <br />
- <input type="checkbox" name="flow[Cad3d]" value="true" <%= "checked".When(flow.Cad3d) %> class="form-field" style="margin-top:0;width:auto;vertical-align:middle;" />
- <%= Flow.Cad3dTitle %> -
- <input type="checkbox" name="flow[CadStep]" value="true" <%= "checked".When(flow.CadStep) %> class="form-field" style="margin-top:0;width:auto;vertical-align:middle;" />
- <%= Flow.CadStepTitle %>
- <input type="checkbox" name="flow[CadXT]" value="true" <%= "checked".When(flow.CadXT) %> class="form-field" style="margin-top:0;width:auto;vertical-align:middle;" />
- <%= Flow.CadXTTitle %>
- <input type="checkbox" name="flow[CadAcis]" value="true" <%= "checked".When(flow.CadAcis) %> class="form-field" style="margin-top:0;width:auto;vertical-align:middle;" />
- <%= Flow.CadAcisTitle %>
- <input type="checkbox" name="flow[CadIgs]" value="true" <%= "checked".When(flow.CadIgs) %> class="form-field" style="margin-top:0;width:auto;vertical-align:middle;" />
- <%= Flow.CadIgsTitle %>
- <br />
- <input type="checkbox" name="flow[Cad2d]" value="true" <%= "checked".When(flow.Cad2d) %> class="form-field" style="margin-top:0;width:auto;vertical-align:middle;" />
- <%= Flow.Cad2dTitle %> -
- <input type="checkbox" name="flow[CadDwg]" value="true" <%= "checked".When(flow.CadDwg) %> class="form-field" style="margin-top:0;width:auto;vertical-align:middle;" />
- <%= Flow.CadDwgTitle %>
- <input type="checkbox" name="flow[CadDxf]" value="true" <%= "checked".When(flow.CadDxf) %> class="form-field" style="margin-top:0;width:auto;vertical-align:middle;" />
- <%= Flow.CadDxfTitle %>
- <input type="checkbox" name="flow[CadPdf]" value="true" <%= "checked".When(flow.CadPdf) %> class="form-field" style="margin-top:0;width:auto;vertical-align:middle;" />
- <%= Flow.CadPdfTitle %>
- </div>
- </td>
- <td style="width:26%;" rowspan="6">
- <span class="key"><%= Flow.SupportNeededTitle %></span>
- <div class="value" style="padding-top:4px;">
- <input type="checkbox" name="flow[ExpectationCadAvailable]" <%= "checked".When(flow.ExpectationCadAvailable) %> class="form-field" style="margin-top:0;width:auto;vertical-align:middle;" />
- <span style="width:125px;"><%= Flow.ExpectationCadAvailableTitle %></span>
- <br />
- <input type="checkbox" name="flow[Demo3d]" <%= "checked".When(flow.Demo3d) %> class="form-field" style="margin-top:0;width:auto;vertical-align:middle;" />
- <span style="width:125px;"><%= Flow.Demo3dTitle %></span>
- <br />
- <input type="checkbox" name="flow[DemoPPT]" <%= "checked".When(flow.DemoPPT) %> class="form-field" style="margin-top:0;width:auto;vertical-align:middle;" />
- <span style="width:125px;"><%= Flow.DemoPPTTitle %></span>
- <br />
- <input type="checkbox" name="flow[DemoAnimation]" <%= "checked".When(flow.DemoAnimation) %> class="form-field" style="margin-top:0;width:auto;vertical-align:middle;" />
- <span style="width:125px;"><%= Flow.DemoAnimationTitle %></span>
- <br />
- <%= Flow.OtherTitle %>
- <br />
- <input type="text" name="flow[Other]" value="<%= flow.Other %>" class="form-field value" style="margin-top:0;vertical-align:middle;" />
- </div>
- </td>
- </tr>
- <tr>
- <td style="width:37%;">
- <span class="key"><%= Flow.DateForReviewTitle %> </span>
- <div class="value" style="padding-top:4px;">
- DateForReview
- </div>
- </td>
- </tr>
- <tr>
- <td style="width:37%;">
- <span class="key"><%= Flow.DateForQuoteTitle %> </span>
- <div class="value" style="padding-top:4px;">
- DateForQuote
- </div>
- </td>
- <td style="width:37%;">
- <span class="key"><%= Flow.PicAvailableTitle %></span>
- <div class="value" style="padding-top:4px;">
- <input type="radio" name="flow[PicAvailable]" value="true" <%= "checked".When(flow.PicAvailable) %> class="form-field" style="margin-top:0;margin-right:0;width:auto;vertical-align:middle;" />
- Yes
-
- <input type="radio" name="flow[PicAvailable]" value="false" <%= "checked".When(!flow.PicAvailable) %> class="form-field" style="margin-top:0;width:auto;vertical-align:middle;" />
- No
- </div>
- </td>
- </tr>
- <tr>
- <td style="width:37%;">
- <span class="key"><%= Flow.DateForFinalSolutionTitle %></span>
- <div class="value" style="padding-top:4px;">
- DateForFinalSolution
- </div>
- </td>
- <td style="width:37%;">
- <span class="key"><%= Flow.ProductSampleTitle %></span>
- <div class="value" style="padding-top:4px;">
- <input type="radio" name="flow[ProductSample]" value="true" <%= "checked".When(flow.ProductSample) %> class="form-field" style="margin-top:0;margin-right:0;width:auto;vertical-align:middle;" />
- Yes
-
- <input type="radio" name="flow[ProductSample]" value="false" <%= "checked".When(!flow.ProductSample) %> class="form-field" style="margin-top:0;width:auto;vertical-align:middle;" />
- No
- </div>
- </td>
- </tr>
- <tr>
- <td style="width:37%;" rowspan="2">
- <span class="key"><%= Flow.DateForMassProductionTitle %></span>
- <div class="value" style="padding-top:4px;">
- DateForMassProduction
- </div>
- </td>
- <td style="width:37%;">
- <span class="key"><%= Flow.CurrentPackagingAvailableTitle %></span>
- <div class="value" style="padding-top:4px;">
- <input type="checkbox" name="flow[DrawingCurrPack]" value="true" <%= "checked".When(flow.DrawingCurrPack) %> class="form-field" style="margin-top:0;margin-right:0;width:auto;vertical-align:middle;" />
- <%= Flow.DrawingCurrPackTitle %>
-
- <input type="checkbox" name="flow[PicCurrPack]" value="true" <%= "checked".When(flow.PicCurrPack) %> class="form-field" style="margin-top:0;width:auto;vertical-align:middle;" />
- <%= Flow.PicCurrPackTitle %>
- </div>
- </td>
- </tr>
- <tr>
- <td style="width:37%;">
- <span class="key"><%= Flow.TargetPriceTitle %></span>
- <div class="value" style="padding-top:4px;">
- <input type="text" name="flow[TargetPrice]" value="<%= flow.TargetPrice %>" class="form-field value" style="margin-top:0;width:90%;vertical-align:middle;" />
- RMB
- </div>
- </td>
- </tr>
- </table>
- </div>
- <!-- Rate importance -->
- <div class="crm-section">
- <h1 class="gray">
- <span><%= Flow.RateImportanceTitle %></span>
- </h1>
- <table cellpadding="0" cellspacing="0" border="0" width="100%">
- <tr>
- <%= Html.FormSelectField(Flow.TotalCostTitle, "flow", "TotalCost", 1.To(10).ToDictionary(key => key, value => value), flow.TotalCost) %>
- <%= Html.FormSelectField(Flow.PackagingCostTitle, "flow", "PackagingCost", 1.To(10).ToDictionary(key => key, value => value), flow.PackagingCost) %>
- </tr>
- <tr>
- <%= Html.FormSelectField(Flow.DamageFreeTitle, "flow", "DamageFree", 1.To(10).ToDictionary(key => key, value => value), flow.DamageFree) %>
- <%= Html.FormSelectField(Flow.TransportSavingTitle, "flow", "TransportSaving", 1.To(10).ToDictionary(key => key, value => value), flow.TransportSaving) %>
- </tr>
- <tr>
- <%= Html.FormSelectField(Flow.SpaceSavingTitle, "flow", "SpaceSaving", 1.To(10).ToDictionary(key => key, value => value), flow.SpaceSaving) %>
- <%= Html.FormSelectField(Flow.QuickPackingTitle, "flow", "QuickPacking", 1.To(10).ToDictionary(key => key, value => value), flow.QuickPacking) %>
- </tr>
- <tr>
- <%= Html.FormSelectField(Flow.ReusabilityTitle, "flow", "Reusability", 1.To(10).ToDictionary(key => key, value => value), flow.Reusability) %>
- <%= Html.FormSelectField(Flow.ImageTitle, "flow", "Image", 1.To(10).ToDictionary(key => key, value => value), flow.Image) %>
- </tr>
- <tr>
- <td colspan="2">
- <span class="key"><%= Flow.CommentsTitle %></span>
- <input type="text" name="flow[Comments]" value="<%= flow.Comments %>" class="form-field value" />
- </td>
- </tr>
- </table>
- </div>
- </form>
- <script type="text/javascript">
- setTimeout(function()
- {
- setup_edit_links('<%= Html.RouteUrl("edit_site", new { id = State["site_id"] }) %>',
- '<%= Html.RouteUrl("site_flows", new { site_id = State["site_id"], type = 0 }) %>',
- '<%= Html.RouteUrl("site_flows", new { site_id = State["site_id"], type = 1 }) %>');
- setup_edit_fields();
- $('#flow_TotalPriceOfKit').change(function()
- {
- var a = parseFloat($('#flow_TotalPriceOfKit').val());
- var b = parseInt($('#flow_PPK').val());
- $('#flow_CalcSum').val(a / b);
- });
- $('#flow_ProductsPerKit').change(function()
- {
- $('#flow_PPK').val($(this).val());
- $('#flow_TotalPriceOfKit').change();
- });
- }, 250);
- </script>
Add Comment
Please, Sign In to add comment