Guest User

Untitled

a guest
Jun 24th, 2018
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 53.75 KB | None | 0 0
  1. <% var colour = "red".When((long)State["type"] == 0).Otherwise("green"); %>
  2. <% var flow = (Flow)State["flow"]; %>
  3.  
  4. <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;">
  5. <div class="crm-section">
  6. <h1 class="blue">
  7. <span>Actions</span>
  8. </h1>
  9. <div style="text-align:right;padding:8px;border:1px solid">
  10. <input type="submit" value="Save" style="width:125px;" onclick="post_update_flow($('#form'), <%= flow.Id %>);return false;" />
  11. &nbsp;
  12. <input type="submit" value="Cancel" style="width:75px;" onclick="cancel_flow();return false;" />
  13. </div>
  14. </div>
  15.  
  16. <div class="crm-section">
  17. <h1 class="<%= colour %>">
  18. <span>Flow Analysis 流向分析</span>
  19. </h1>
  20. <table cellpadding="0" cellspacing="0" border="0" width="100%" class="<%= "red".When((long)State["type"] == 0).Otherwise("green") %>">
  21. <tr>
  22. <th><%= Flow.ExactProductNameTitle %></th>
  23. <th><%= Flow.FromDistribtionPointTitle %></th>
  24. <th><%= Flow.ToDistributionPointTitle %></th>
  25. <th><%= Flow.DurationOfFlowInYearsTitle %></th>
  26. <th><%= Flow.SelectTransportModeTitle %></th>
  27. <th><%= Flow.ProductWeightKGTitle %></th>
  28. <th><%= Flow.ProductQuantityPerYearTitle %></th>
  29. <th><%= Flow.MinimumOrderQuantityTitle %></th>
  30. <th><%= Flow.FreightCostTitle %></th>
  31. </tr>
  32.  
  33. <tr>
  34. <td style="width:auto;">
  35. <input type="text" name="flow[ExactProductName]" value="<%= flow.ExactProductName %>" class="form-field value" style="margin-top:4px;" />
  36. </td>
  37. <td style="width:auto;">
  38. <input type="text" name="flow[FromDistribtionPoint]" value="<%= flow.FromDistribtionPoint %>" class="form-field value" style="margin-top:4px;" />
  39. </td>
  40. <td style="width:auto;">
  41. <input type="text" name="flow[ToDistributionPoint]" value="<%= flow.ToDistributionPoint %>" class="form-field value" style="margin-top:4px;" />
  42. </td>
  43. <td style="width:auto;">
  44. <input type="text" name="flow[DurationOfFlowInYears]" value="<%= flow.DurationOfFlowInYears %>" class="form-field value" style="margin-top:4px;" dataType="float" />
  45. </td>
  46. <td style="width:auto;">
  47. <select name="flow[SelectTransportMode]" class="form-field value" style="margin-top:4px;width:90%;">
  48. <option value="">-</option>
  49. <option value="air" <%= "selected".When(flow.SelectTransportMode.Equals("air")) %>>Air</option>
  50. <option value="sea" <%= "selected".When(flow.SelectTransportMode.Equals("sea")) %>>Sea</option>
  51. <option value="land" <%= "selected".When(flow.SelectTransportMode.Equals("land")) %>>Land</option>
  52. </select>
  53. <select name="flow[TransportContainerType]" class="form-field value" style="margin-top:0px;width:90%;">
  54. <option value="">-</option>
  55. </select>
  56. </td>
  57. <td style="width:auto;">
  58. <input type="text" name="flow[ProductWeightKG]" value="<%= flow.ProductWeightKG %>" class="form-field value" style="margin-top:4px;" />
  59. </td>
  60. <td style="width:auto;">
  61. <input type="text" name="flow[ProductQuantityPerYear]" value="<%= flow.ProductQuantityPerYear %>" class="form-field value" style="margin-top:4px;" />
  62. </td>
  63. <td style="width:auto;">
  64. <input type="text" name="flow[MinimumOrderQuantity]" value="<%= flow.MinimumOrderQuantity %>" class="form-field value" style="margin-top:4px;" dataType="int" />
  65. </td>
  66. <td style="width:auto;">
  67. <input type="text" name="flow[FreightCost]" value="<%= flow.FreightCost %>" id="flow_FreightCost" class="form-field value" style="margin-top:4px;" dataType="int" />
  68. <select name="flow[CostType]" class="form-field value" style="margin-top:0px;width:85%;">
  69. <option value="">-</option>
  70. <option value="m3" <%= "selected".When(flow.CostType.Equals("m3")) %>>m3</option>
  71. <option value="kg" <%= "selected".When(flow.CostType.Equals("kg")) %>>kg</option>
  72. </select>
  73. </td>
  74. </tr>
  75. </table>
  76. </div>
  77.  
  78. <div class="crm-section">
  79. <h1 class="<%= colour %>">
  80. <span>Analysis of Current Packaging包装分析</span>
  81. </h1>
  82. <table cellpadding="0" cellspacing="0" border="0" width="100%" class="<%= colour %>">
  83. <tr>
  84. <th><%= Flow.ExistingPackagingDescriptionTitle %></th>
  85. <th width="175">Size of kit<br />(LxWxH mm)</th>
  86. <th><%= Flow.MaxNumberOfKitsPerTransportTitle %></th>
  87. <th><%= Flow.ProductsPerKitTitle %></th>
  88. <th><%= Flow.QuantityOfKitsTitle %></th>
  89. <th width="150"><%= Flow.TotalPriceOfKitTitle %></th>
  90. </tr>
  91.  
  92. <tr>
  93. <td style="width:auto;">
  94. <input type="text" name="flow[ExistingPackagingDescription]" value="<%= flow.ExistingPackagingDescription %>" class="form-field value" style="margin-top:4px;" />
  95. </td>
  96. <td style="width:auto;">
  97. <div class="value" style="margin-top:4px;text-align:center;">
  98. <input type="radio" name="flow[Od]" style="vertical-align:middle;" <%= "checked".When(flow.Od) %> />OD
  99. <input type="radio" name="flow[Od]" style="vertical-align:middle;" <%= "checked".When(!flow.Od) %> />ID
  100. <br />
  101. <input type="text" name="flow[Length]" value="<%= flow.Length %>" id="flow_Length" class="form-field value" style="margin:0px;width:27%;" dataType="float" /> *
  102. <input type="text" name="flow[Width]" value="<%= flow.Width %>" id="flow_Width" class="form-field value" style="margin:0px;width:27%;" dataType="float" /> *
  103. <input type="text" name="flow[Height]" value="<%= flow.Height %>" id="flow_Height" class="form-field value" style="margin:0px;width:27%;" dataType="float" />
  104. </div>
  105. </td>
  106. <td style="width:auto;">
  107. <input type="text" name="flow[MaxNumberOfKitsPerTransport]" value="<%= flow.MaxNumberOfKitsPerTransport %>" class="form-field value" style="margin-top:4px;" />
  108. </td>
  109. <td style="width:auto;">
  110. <input type="text" name="flow[ProductsPerKit]" id="flow_ProductsPerKit" value="<%= flow.ProductsPerKit %>" class="form-field value" style="margin-top:4px;" dataType="int" />
  111. </td>
  112. <td style="width:auto;">
  113. <input type="text" name="flow[QuantityOfKits]" value="<%= flow.QuantityOfKits %>" class="form-field value" style="margin-top:4px;" dataType="int" />
  114. </td>
  115. <td style="width:auto;">
  116. <div class="value" style="margin-top:4px;text-align:center;">
  117. <input type="text" name="flow[TotalPriceOfKit]" id="flow_TotalPriceOfKit" value="<%= flow.TotalPriceOfKit %>" class="form-field value" style="margin:0px;width:27%;" dataType="int" /> /
  118. <input type="text" class="value" id="flow_PPK" value="<%= flow.ProductsPerKit %>" disabled="disabled" style="margin:0px;width:27%;" /> =
  119. <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%;" />
  120. </div>
  121. </td>
  122. </tr>
  123. </table>
  124. </div>
  125.  
  126. <div class="crm-section">
  127. <h1 class="<%= colour %>">
  128. <span>Pictures from flow 流向图片</span>
  129. </h1>
  130. <table cellpadding="0" cellspacing="0" border="0" width="100%" class="<%= colour %>">
  131. <tr>
  132. <th width="50%">Picture of product 产品图片</th>
  133. <th width="50%">Picture of packaging 包装图片</th>
  134. </tr>
  135. </table>
  136. </div>
  137.  
  138. <div class="crm-section">
  139. <h1 class="<%= colour %>">
  140. <span><%= Flow.OtherInformationAboutFlowTitle %></span>
  141. </h1>
  142. <table cellpadding="0" cellspacing="0" border="0" width="100%" class="<%= colour %>">
  143. <tr>
  144. <%= Html.FormTextField(Flow.ProblemsWithFlowTitle, "flow", "ProblemsWithFlow", flow.ProblemsWithFlow) %>
  145. <%= Html.FormTextField(Flow.OtherInformationAboutFlowTitle, "flow", "OtherInformationAboutFlow", flow.OtherInformationAboutFlow) %>
  146. </tr>
  147. </table>
  148. </div>
  149.  
  150. <div class="crm-section">
  151. <h1 class="blue">
  152. <span><%= Flow.RecommendationTitle %></span>
  153. </h1>
  154. <table cellpadding="0" cellspacing="0" border="0" width="100%">
  155. <tr>
  156. <td colspan="2">
  157. <span class="key"><%= Flow.RecommendationOfWhatToDoWithFlowTitle %></span>
  158. <input type="text" name="flow[RecommendationOfWhatToDoWithFlow]" value="<%= flow.RecommendationOfWhatToDoWithFlow %>" class="form-field value" />
  159. </td>
  160. </tr>
  161. <tr>
  162. <%= Html.FormSelectField(Flow.PriorityTitle, "flow", "Priority", Enum.GetNames(typeof(Flow.PriorityEnum)).ToDictionary(key => key, value => value), flow.Priority.ToString()) %>
  163. <%= Html.FormSelectField(Flow.ComplexityTitle, "flow", "Complexity", Enum.GetNames(typeof(Flow.ComplexityEnum)).ToDictionary(key => key, value => value), flow.Complexity.ToString()) %>
  164. </tr>
  165. </table>
  166. </div>
  167.  
  168. <div class="crm-section">
  169. <h1 class="gray">
  170. <span><%= "Customer Product Information 客户产品信息" %></span>
  171. </h1>
  172. <table cellpadding="0" cellspacing="0" border="0" width="100%">
  173. <tr>
  174. <td style="width:33%;">
  175. <span class="key">Upload Drawing of product</span>
  176. <div class="value" style="padding-top:4px;">
  177. <input type="button" value="Upload" />
  178. </div>
  179. </td>
  180. <td style="width:33%;">
  181. <span class="key"><%= Flow.CanBeFixedString %></span>
  182. <div class="value" style="padding-top:4px;">
  183. <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
  184. <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
  185. <br />
  186. <%= Flow.DescribeFixationPointsStringTitle %>:
  187. <input type="text" name="flow[DescribeFixationPoints]" value="<%= flow.DescribeFixationPoints %>" class="form-field value" style="margin-top:0;width:auto;vertical-align:middle;" />
  188. </div>
  189. </td>
  190. <td style="width:33%;" rowspan="3">
  191. <span class="key"><%= Flow.SensitiveToTitle %></span>
  192. <div class="value" style="padding-top:4px;">
  193. <input type="checkbox" name="flow[SensitiveMoistureorCorrosion]" <%= "checked".When(flow.SensitiveMoistureorCorrosion) %> class="form-field" style="margin-top:0;width:auto;vertical-align:middle;" />
  194. <span style="margin-left:-3px;width:125px;"><%= Flow.SensitiveMoistureorCorrosionTitle %>:</span>
  195. <input type="text" name="flow[SensitiveMoistureorCorrosionComments]" value="<%= flow.SensitiveMoistureorCorrosionComments %>" class="form-field value" style="margin-top:0;width:auto;vertical-align:middle;" />
  196. <br />
  197.  
  198. <input type="checkbox" name="flow[ESDRequirements]" <%= "checked".When(flow.ESDRequirements) %> class="form-field" style="margin-top:0;width:auto;vertical-align:middle;" />
  199. <span style="width:125px;"><%= Flow.ESDRequirementsTitle %>:</span>
  200. <input type="text" name="flow[ESDRequirementsComments]" value="<%= flow.ESDRequirementsComments %>" class="form-field value" style="margin-top:0;width:auto;vertical-align:middle;" />
  201. <br />
  202.  
  203. <input type="checkbox" name="flow[SensitiveShock]" <%= "checked".When(flow.SensitiveShock) %> class="form-field" style="margin-top:0;width:auto;vertical-align:middle;" />
  204. <span style="width:125px;"><%= Flow.SensitiveShockTitle %>:</span>
  205. <input type="text" name="flow[SensitiveShockComments]" value="<%= flow.SensitiveShockComments %>" class="form-field value" style="margin-top:0;width:auto;vertical-align:middle;" />
  206. <br />
  207.  
  208. <input type="checkbox" name="flow[SensitiveDust]" <%= "checked".When(flow.SensitiveDust) %> class="form-field" style="margin-top:0;width:auto;vertical-align:middle;" />
  209. <span style="width:125px;"><%= Flow.SensitiveDustTitle %>:</span>
  210. <input type="text" name="flow[SensitiveDustComments]" value="<%= flow.SensitiveDustComments %>" class="form-field value" style="margin-top:0;width:auto;vertical-align:middle;" />
  211. <br />
  212.  
  213. <input type="checkbox" name="flow[SensitiveScratch]" <%= "checked".When(flow.SensitiveScratch) %> class="form-field" style="margin-top:0;width:auto;vertical-align:middle;" />
  214. <span style="width:125px;"><%= Flow.SensitiveScratchTitle %>:</span>
  215. <input type="text" name="flow[SensitiveScratchComments]" value="<%= flow.SensitiveScratchComments %>" class="form-field value" style="margin-top:0;width:auto;vertical-align:middle;" />
  216. <br />
  217.  
  218. <input type="checkbox" name="flow[SensitiveVibration]" <%= "checked".When(flow.SensitiveVibration) %> class="form-field" style="margin-top:0;width:auto;vertical-align:middle;" />
  219. <span style="width:125px;"><%= Flow.SensitiveVibrationTitle %>:</span>
  220. <input type="text" name="flow[SensitiveVibrationComments]" value="<%= flow.SensitiveVibrationComments %>" class="form-field value" style="margin-top:0;width:auto;vertical-align:middle;" />
  221. <br />
  222. </div>
  223. </td>
  224. </tr>
  225. <tr>
  226. <td style="width:33%;">
  227. <span class="key"><%= Flow.DimensionOfProductTitle %></span>
  228. <div class="value" style="padding-top:4px;">
  229. <input type="text" name="flow[LengthOfProduct]" class="form-field value" style="margin-top:0;width:32px;vertical-align:middle;" value="<%= flow.LengthOfProduct %>" dataType="int" />*
  230. <input type="text" name="flow[WidthOfProduct]" class="form-field value" style="margin-top:0;width:32px;vertical-align:middle;" value="<%= flow.WidthOfProduct %>" dataType="int" />*
  231. <input type="text" name="flow[HeightOfProduct]" class="form-field value" style="margin-top:0;width:32px;vertical-align:middle;" value="<%= flow.HeightOfProduct %>" dataType="int" />
  232. </div>
  233. </td>
  234. <td style="width:33%;">
  235. <span class="key"><%= Flow.RequiredProductNoPerBoxTitle %></span>
  236. <input type="text" name="flow[RequiredProductNoPerBox]" value="<%= flow.RequiredProductNoPerBox %>" class="form-field value" />
  237. </td>
  238. </tr>
  239. <tr>
  240. <td style="width:33%;">
  241. <span class="key"><%= Flow.WeightOfProductTitle %></span>
  242. <div class="value" style="padding-top:4px;">
  243. <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
  244. </div>
  245. </td>
  246. <td style="width:33%;">
  247. <span class="key"><%= Flow.ProductValueTitle %></span>
  248. <div class="value" style="padding-top:4px;">
  249. <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
  250. </div>
  251. </td>
  252. </tr>
  253. <tr>
  254. <td style="width:33%;">
  255. <span class="key"><%= Flow.WeightSpreadingTitle %></span>
  256. <div class="value" style="padding-top:4px;">
  257. <input type="checkbox" name="flow[WeightSpreadingEven]" <%= "checked".When(flow.WeightSpreadingEven) %> class="form-field" style="margin-top:0;width:auto;vertical-align:middle;" />
  258. <%= Flow.WeightSpreadingEvenTitle %>
  259. <br />
  260. <input type="checkbox" name="flow[WeightSpreadingPoint]" <%= "checked".When(flow.WeightSpreadingPoint) %> class="form-field" style="margin-top:0;width:auto;vertical-align:middle;" />
  261. <%= Flow.WeightSpreadingPointTitle %>
  262. <br />
  263. <input type="checkbox" name="flow[WeightSpreadingUneven]" <%= "checked".When(flow.WeightSpreadingUneven) %> class="form-field" style="margin-top:0;width:auto;vertical-align:middle;" />
  264. <%= Flow.WeightSpreadingUnevenTitle %>
  265. <input type="text" name="flow[WeightSpreadingComment]" value="<%= flow.WeightSpreadingComment %>" class="form-field value" style="margin-top:0;width:200px;vertical-align:middle;" />
  266. </div>
  267. </td>
  268. <td style="width:33%;">
  269. <span class="key"><%= Flow.DesignFixedTitle %></span>
  270. <div class="value" style="padding-top:4px;">
  271. <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;" />
  272. Yes
  273. <br />
  274. <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;" />
  275. No
  276. <br />
  277. &nbsp;
  278. <%= Flow.EstimateLifetimeTitle %>
  279. <input type="text" name="flow[EstimateLifetime]" value="<%= flow.EstimateLifetime %>" class="form-field value" style="margin-top:0;width:150px;vertical-align:middle;" />
  280. </div>
  281. </td>
  282. <td style="width:33%;">
  283. <span class="key"><%= Flow.DangerousGoodsTitle %></span>
  284. <div class="value" style="padding-top:4px;">
  285. <input type="radio" name="flow[DangerousGoods]" value="true" <%= "checked".When(flow.DangerousGoods) %> class="form-field" style="margin-top:0;width:auto;vertical-align:middle;" />
  286. Yes
  287. <br />
  288. <input type="radio" name="flow[DangerousGoods]" value="false" <%= "checked".When(!flow.DangerousGoods) %> class="form-field" style="margin-top:0;width:auto;vertical-align:middle;" />
  289. No
  290. <br />
  291. &nbsp;
  292. If yes what UN class
  293. <select name="flow[UNClass]" class="form-field value" style="margin-top:0;width:150px;vertical-align:middle;" >
  294. <% foreach (UNClass un in UNClass.FindAll()) { %>
  295. <option value="<%= un.Id %>" <%= "selected".When(flow.UNClass == un.Id) %>><%= un.Title %></option>
  296. <% } %>
  297. </select>
  298. </div>
  299. </td>
  300. </tr>
  301. <tr>
  302. <td style="width:33%;">
  303. <span class="key"><%= Flow.SupportOwnWeightTitle %></span>
  304. <div class="value" style="padding-top:4px;">
  305. <input type="radio" name="flow[SupportOwnWeight]" value="true" <%= "checked".When(flow.SupportOwnWeight) %> class="form-field" style="margin-top:0;width:auto;vertical-align:middle;" />
  306. Yes
  307. <br />
  308. <input type="radio" name="flow[SupportOwnWeight]" value="false" <%= "checked".When(!flow.SupportOwnWeight) %> class="form-field" style="margin-top:0;width:auto;vertical-align:middle;" />
  309. &nbsp;No
  310. <input type="text" name="flow[SupportOwnWeightComments]" value="<%= flow.SupportOwnWeightComments %>" class="form-field value" style="margin-top:0;width:150px;vertical-align:middle;" />
  311. </div>
  312. </td>
  313. <td style="width:33%;">
  314. <span class="key"><%= Flow.SentivePartTitle %></span>
  315. <div class="value" style="padding-top:4px;">
  316. <input type="radio" name="flow[SentivePart]" value="true" <%= "checked".When(flow.SentivePart) %> class="form-field" style="margin-top:0;width:auto;vertical-align:middle;" />
  317. Yes
  318. <br />
  319. <input type="radio" name="flow[SentivePart]" value="false" <%= "checked".When(!flow.SentivePart) %> class="form-field" style="margin-top:0;width:auto;vertical-align:middle;" />
  320. &nbsp;No
  321. <input type="text" name="flow[SentivePartComments]" value="<%= flow.SentivePartComments %>" class="form-field value" style="margin-top:0;width:150px;vertical-align:middle;" />
  322. </div>
  323. </td>
  324. <td style="width:33%;">
  325. <span class="key"><%= Flow.RequiredOnLabelingTitle %></span>
  326. <div class="value" style="padding-top:4px;">
  327. <input type="text" name="flow[RequiredOnLabeling]" value="true" value="<%= flow.RequiredOnLabeling %>" class="form-field value" style="margin-top:0;width:150px;vertical-align:middle;" />
  328. <br />
  329. &nbsp;
  330. <input type="checkbox" name="flow[RequiredArrow]" value="true" <%= "checked".When(flow.RequiredArrow) %> class="form-field" style="margin-top:0;width:auto;vertical-align:middle;" />
  331. <span style="margin-left:-3px;width:75px;"><%= Flow.RequiredArrowTitle %></span>
  332. <br />
  333. &nbsp;
  334. <input type="checkbox" name="flow[RequiredGlass]" value="true" <%= "checked".When(flow.RequiredGlass) %> class="form-field" style="margin-top:0;width:auto;vertical-align:middle;" />
  335. <span style="margin-left:-3px;width:75px;"><%= Flow.RequiredGlassTitle %></span>
  336. <br />
  337. &nbsp;
  338. <input type="checkbox" name="flow[RequiredUmbrella]" value="true" <%= "checked".When(flow.RequiredUmbrella) %> class="form-field" style="margin-top:0;width:auto;vertical-align:middle;" />
  339. <span style="margin-left:-3px;width:75px;"><%= Flow.RequiredUmbrellaTitle %></span>
  340. <br />
  341. &nbsp;
  342. <span style="margin-left:4px;width:75px;"><%= "Other" %>:</span>
  343. <input type="text" name="flow[RequiredComments]" value="<%= flow.RequiredComments %>" class="form-field value" style="margin-top:0;width:auto;vertical-align:middle;" />
  344. </div>
  345. </td>
  346. </tr>
  347. <tr>
  348. <td colspan="3">
  349. <span class="key"><%= Flow.ProductGeneralCommentsTitle %></span>
  350. <input type="text" name="flow[ProductGeneralComments]" value="<%= flow.ProductGeneralComments %>" class="form-field value" />
  351. </td>
  352. </tr>
  353. </table>
  354. </div>
  355.  
  356. <!-- Further logistics information -->
  357. <div class="crm-section">
  358. <h1 class="gray">
  359. <span><%= Flow.FurtherLogisticsInformationTitle %></span>
  360. </h1>
  361. <table cellpadding="0" cellspacing="0" border="0" width="100%" class="gray">
  362. <tr>
  363. <th colspan="2"><%= Flow.StackingAndStoringTitle %></th>
  364. <th><%= Flow.HandlingTitle %></th>
  365. <th><%= Flow.PackingTitle %></th>
  366. </tr>
  367. <tr>
  368. <td style="width:16%;">
  369. <span class="key"><%= Flow.StaticStackingTitle %></span>
  370. <div class="value" style="padding-top:4px;">
  371. <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;" />
  372. Yes
  373. &nbsp;
  374. <input type="radio" name="flow[StaticStacking]" value="false" <%= "checked".When(!flow.StaticStacking) %> class="form-field" style="margin-top:0;width:auto;vertical-align:middle;" />
  375. &nbsp;No
  376. </div>
  377. </td>
  378. <td style="width:17%;">
  379. <span class="key"><%= Flow.NumberInHeightTitle %></span>
  380. <input type="text" name="flow[NumberInHeight]" value="<%= flow.NumberInHeight %>" class="form-field value" dataType="int" />
  381. </td>
  382. <td style="width:33%;" rowspan="2">
  383. <span class="key"><%= Flow.HandlingToolsUsedTitle %></span>
  384. <div class="value" style="padding-top:4px;">
  385. <span>1.</span>
  386. <select class="form-field value" name="flow[HandlingToolsUsed1]" style="margin-top:0;vertical-align:middle;width:90%;"><option>Select...</option></select>
  387. <br />
  388. <span>2.</span>
  389. <select class="form-field value" name="flow[HandlingToolsUsed2]" style="margin-top:0;vertical-align:middle;width:90%;"><option>Select...</option></select>
  390. <br />
  391. <span>3.</span>
  392. <select class="form-field value" name="flow[HandlingToolsUsed3]" style="margin-top:0;vertical-align:middle;width:90%;"><option>Select...</option></select>
  393. </div>
  394. </td>
  395. <td style="width:33%;" rowspan="2">
  396. <span class="key"><%= Flow.PackingUsedTitle %></span>
  397. <div class="value" style="padding-top:4px;">
  398. <input type="checkbox" name="flow[PackingAssemblyLine]" <%= "checked".When(flow.PackingAssemblyLine) %> class="form-field" style="margin-top:0;width:auto;vertical-align:middle;" />
  399. <span style="width:125px;"><%= Flow.PackingAssemblyLineTitle %></span>
  400. <br />
  401. <input type="checkbox" name="flow[PackingArea]" <%= "checked".When(flow.PackingArea) %> class="form-field" style="margin-top:0;width:auto;vertical-align:middle;" />
  402. <span style="width:125px;"><%= Flow.PackingAreaTitle %></span>
  403. <br />
  404. <input type="checkbox" name="flow[PackingOther]" <%= "checked".When(flow.PackingOther) %> class="form-field" style="margin-top:0;width:auto;vertical-align:middle;" />
  405. <span style="width:125px;"><%= Flow.PackingOtherTitle %></span>
  406. <br />
  407. <span style="width:100px;margin-left:5px;"><%= Flow.PackingDescribeTitle %></span>
  408. <input type="text" name="flow[PackingDescribe]" value="<%= flow.PackingDescribe %>" class="form-field value" style="margin-top:0;width:165px;vertical-align:middle;" />
  409. </div>
  410. </td>
  411. </tr>
  412. <tr>
  413. <td style="width:33%;" colspan="2">
  414. <span class="key"><%= Flow.StorageConditionTitle %></span>
  415. <select name="flow[StorageCondition]" class="form-field value" style="width:95%;">
  416. <option value="0">-</option>
  417. <option value="1" <%= "selected".When(flow.StorageCondition == 1) %>><%= Flow.StorageCondition1Title %></option>
  418. <option value="2" <%= "selected".When(flow.StorageCondition == 2) %>><%= Flow.StorageCondition2Title %></option>
  419. <option value="3" <%= "selected".When(flow.StorageCondition == 3) %>><%= Flow.StorageCondition3Title %></option>
  420. <option value="4" <%= "selected".When(flow.StorageCondition == 4) %>><%= Flow.StorageCondition4Title %></option>
  421. </select>
  422. </td>
  423. </tr>
  424. <tr>
  425. <td style="width:33%;border-bottom:none;" colspan="2">
  426. <span class="key"><%= Flow.ProductsPlacedInRackTitle %></span>
  427. <div class="value" style="padding-top:4px;">
  428. <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;" />
  429. Yes
  430. &nbsp;
  431. <input type="radio" name="flow[ProductsPlacedInRack]" value="false" <%= "checked".When(!flow.ProductsPlacedInRack) %> class="form-field" style="margin-top:0;width:auto;vertical-align:middle;" />
  432. &nbsp;No
  433. </div>
  434. </td>
  435. <td style="width:33%;" rowspan="2">
  436. <span class="key"><%= Flow.PackagingAssemblyTimeRequiredTitle %></span>
  437. <input type="text" name="flow[PackagingAssemblyTimeRequired]" value="<%= flow.PackagingAssemblyTimeRequired %>" class="form-field value" />
  438. </td>
  439. <td style="width:33%;" rowspan="2">
  440. <span class="key"><%= Flow.ProductLoadedTitle %></span>
  441. <div class="value" style="padding-top:4px;">
  442. <input type="checkbox" name="flow[ProductLoadedTop]" <%= "checked".When(flow.ProductLoadedTop) %> class="form-field" style="margin-top:0;width:auto;vertical-align:middle;" />
  443. <span style="width:125px;"><%= Flow.ProductLoadedTopTitle %></span>
  444. <br />
  445. <input type="checkbox" name="flow[ProductLoadedSide]" <%= "checked".When(flow.ProductLoadedSide) %> class="form-field" style="margin-top:0;width:auto;vertical-align:middle;" />
  446. <span style="width:125px;"><%= Flow.ProductLoadedSideTitle %></span>
  447. <br />
  448. <input type="checkbox" name="flow[ProductLoadedEnd]" <%= "checked".When(flow.ProductLoadedEnd) %> class="form-field" style="margin-top:0;width:auto;vertical-align:middle;" />
  449. <span style="width:125px;"><%= Flow.ProductLoadedEndTitle %></span>
  450. <br />
  451. <span style="width:100px;margin-left:5px;"><%= Flow.ProductLoadedDescribeTitle %></span>
  452. <input type="text" name="flow[ProductLoadedDescribe]" value="<%= flow.ProductLoadedDescribe %>" class="form-field value" style="margin-top:0;width:165px;vertical-align:middle;" />
  453. </div>
  454. </td>
  455. </tr>
  456. <tr>
  457. <td style="width:33%;" colspan="2">
  458. <span class="key"><%= "Dimension of rack 货架尺寸" %></span>
  459. <div class="value" style="padding-top:4px;">
  460. <input type="text" name="flow[RackLength]" value="<%= flow.RackLength %>" class="form-field value" style="margin-top:0;width:40px;vertical-align:middle;" dataType="int" />*
  461. <input type="text" name="flow[RackWidth]" value="<%= flow.RackWidth %>" class="form-field value" style="margin-top:0;width:40px;vertical-align:middle;" dataType="int" />*
  462. <input type="text" name="flow[RackHeight]" value="<%= flow.RackHeight %>" class="form-field value" style="margin-top:0;width:40px;vertical-align:middle;" dataType="int" />
  463. </div>
  464. </td>
  465. </tr>
  466. <tr>
  467. <td style="width:33%;" colspan="2">
  468. <span class="key"><%= Flow.DynamicStackingTitle %></span>
  469. <div class="value" style="padding-top:4px;">
  470. <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;" />
  471. Yes
  472. &nbsp;
  473. <input type="radio" name="flow[DynamicStacking]" value="false" <%= "checked".When(!flow.DynamicStacking) %> class="form-field" style="margin-top:0;width:auto;vertical-align:middle;" />
  474. &nbsp;No
  475. </div>
  476. </td>
  477. <td style="width:33%;" rowspan="2">
  478. <span class="key"><%= Flow.PalletRequiredTitle %></span>
  479. <div class="value" style="padding-top:4px;">
  480. <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;" />
  481. Yes
  482. <br />
  483. <input type="radio" name="flow[PalletRequired]" value="false" <%= "checked".When(!flow.PalletRequired) %> class="form-field" style="margin-top:0;width:auto;vertical-align:middle;" />
  484. &nbsp;No
  485. </div>
  486. </td>
  487. <td style="width:33%;" rowspan="2">
  488. <span class="key"><%= Flow.RepackedNeededTitle %></span>
  489. <div class="value" style="padding-top:4px;margin-top:32px;">
  490. <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;" />
  491. <%= Flow.RepackedNeededTitle1 %>
  492. &nbsp;
  493. <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;" />
  494. &nbsp;<%= Flow.RepackedNeededTitle2 %>
  495. &nbsp;
  496. <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;" />
  497. &nbsp;<%= Flow.RepackedNeededTitle3 %>
  498. <br />
  499. <span style="width:100px;margin-left:5px;"><%= Flow.DescribeRepackedTitle %></span>
  500. <input type="text" name="flow[DescribeRepacked]" value="<%= flow.DescribeRepacked %>" class="form-field value" style="margin-top:0;width:165px;vertical-align:middle;" />
  501. </div>
  502. </td>
  503. </tr>
  504. <tr>
  505. <td style="width:33%;" colspan="2">
  506. <span class="key"><%= Flow.NumberInHeightDynamicTitle %></span>
  507. <div class="value" style="padding-top:4px;">
  508. <input type="text" name="flow[NumberInHeightDynamic]" value="<%= flow.NumberInHeightDynamic %>" class="form-field value" style="margin-top:0;vertical-align:middle;" dataType="int" />
  509. &nbsp;<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;" />
  510. <%= Flow.UnitizedLoadingTitle %>
  511. <br />
  512. &nbsp;<input type="radio" name="flow[UnitizedLoading]" value="false" <%= "checked".When(!flow.UnitizedLoading) %> class="form-field" style="margin-top:0;width:auto;vertical-align:middle;" />
  513. <%= Flow.NonUnitizedLoadingTitle %>
  514. </div>
  515. </td>
  516. </tr>
  517. </table>
  518. </div>
  519.  
  520. <!-- Customer preferences -->
  521. <div class="crm-section">
  522. <h1 class="gray">
  523. <span><%= Flow.CustomerPreferencesTitle %></span>
  524. </h1>
  525. <table cellpadding="0" cellspacing="0" border="0" width="100%" class="gray">
  526. <tr>
  527. <td style="width:60%;">
  528. <span class="key"><%= Flow.PackagingMaterialFromCustomerTitle %></span>
  529. <input type="text" name="flow[PackagingMaterialFromCustomer]" value="<%= flow.PackagingMaterialFromCustomer %>" class="form-field value" />
  530. </td>
  531. <td style="width:40%;">
  532. <span class="key"><%= Flow.BannedMaterialFromCustomerTitle %></span>
  533. <input type="text" name="flow[BannedMaterialFromCustomer]" value="<%= flow.BannedMaterialFromCustomer %>" class="form-field value" />
  534. </td>
  535. </tr>
  536. <tr>
  537. <th style="width:60%;"><%= Flow.PackagingApprovalProcedureTitle %></th>
  538. <th style="width:40%;"><%= Flow.EnvironmentalRegulationsTitle %></th>
  539. </tr>
  540. <tr>
  541. <td style="width:60%;">
  542. <div class="value" style="padding-top:4px;margin-top:4px;">
  543. <input type="checkbox" name="flow[RealTrial]" <%= "checked".When(flow.RealTrial) %> class="form-field" style="margin-top:0;width:auto;vertical-align:middle;" />
  544. &nbsp;<span><%= Flow.RealTrialTitle %></span>
  545. <br />
  546. <input type="checkbox" name="flow[TestPackaging]" <%= "checked".When(flow.TestPackaging) %> class="form-field" style="margin-top:0;width:auto;vertical-align:middle;" />
  547. <span><%= Flow.TestPackagingTitle %></span>
  548. <br />
  549. <input type="checkbox" name="flow[SampleInspection]" <%= "checked".When(flow.SampleInspection) %> class="form-field" style="margin-top:0;width:auto;vertical-align:middle;" />
  550. <span><%= Flow.SampleInspectionTitle %></span>
  551. <br />
  552. <input type="checkbox" name="flow[TestNorm]" <%= "checked".When(flow.TestNorm) %> class="form-field" style="margin-top:0;width:auto;vertical-align:middle;" />
  553. <span><%= Flow.TestNormTitle %></span>
  554. <br />
  555. <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;" />
  556. No&nbsp;
  557. <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;" />
  558. Yes&nbsp;
  559. <input type="text" name="flow[TestingNeedingComments]" value="<%= flow.TestingNeedingComments %>" class="form-field value" style="margin-top:0;width:430px;vertical-align:middle;" />
  560. <br />
  561. <span style="margin-left:52px;">-</span>
  562. <input type="checkbox" name="flow[TestVibration]" <%= "checked".When(flow.TestVibration) %> class="form-field" style="margin-top:0;width:auto;vertical-align:middle;" />
  563. <%= Flow.TestVibrationTitle %>&nbsp;
  564. <input type="checkbox" name="flow[TestImpact]" <%= "checked".When(flow.TestImpact) %> class="form-field" style="margin-top:0;width:auto;vertical-align:middle;" />
  565. <%= Flow.TestImpactTitle %>&nbsp;
  566. <input type="checkbox" name="flow[TestDrop]" <%= "checked".When(flow.TestDrop) %> class="form-field" style="margin-top:0;width:auto;vertical-align:middle;" />
  567. <%= Flow.TestDropTitle %>&nbsp;
  568. <input type="checkbox" name="flow[TestStackingCompression]" <%= "checked".When(flow.TestStackingCompression) %> class="form-field" style="margin-top:0;width:auto;vertical-align:middle;" />
  569. <%= Flow.TestStackingCompressionTitle %>&nbsp;
  570. <input type="checkbox" name="flow[OtherForTesting]" <%= "checked".When(flow.OtherForTesting) %> class="form-field" style="margin-top:0;width:auto;vertical-align:middle;" />
  571. <%= Flow.OtherForTestingTitle %>:
  572. <br />
  573. <input type="text" name="flow[OtherForTestingNorm]" value="<%= flow.OtherForTestingNorm %>" class="form-field value" style="margin-top:0;vertical-align:middle;" />
  574. </div>
  575. </td>
  576. <td style="width:40%;">
  577. <span class="key"><%= Flow.EnvironmentConsiderationsTitle %></span>
  578. <div class="value" style="padding-top:4px;">
  579. <input type="checkbox" name="flow[EnvironmentIPPC]" <%= "checked".When(flow.EnvironmentIPPC) %> class="form-field" style="margin-top:0;width:auto;vertical-align:middle;" />
  580. <span style="width:125px;"><%= Flow.EnvironmentIPPCTitle %></span>
  581. <br />
  582. <input type="checkbox" name="flow[EnvironmentROHS]" <%= "checked".When(flow.EnvironmentROHS) %> class="form-field" style="margin-top:0;width:auto;vertical-align:middle;" />
  583. <span style="width:125px;"><%= Flow.EnvironmentROHSTtitle %></span>
  584. <br />
  585. <input type="checkbox" name="flow[EnvironmentE1]" <%= "checked".When(flow.EnvironmentE1) %> class="form-field" style="margin-top:0;width:auto;vertical-align:middle;" />
  586. <span style="width:125px;"><%= Flow.EnvironmentE1Title %></span>
  587. <br />
  588. <input type="checkbox" name="flow[EnvironmentREACH]" <%= "checked".When(flow.EnvironmentREACH) %> class="form-field" style="margin-top:0;width:auto;vertical-align:middle;" />
  589. <span style="width:125px;"><%= Flow.EnvironmentREACHTitle %></span>
  590. <br />
  591. <input type="checkbox" name="flow[EnvironmentOther]" <%= "checked".When(flow.EnvironmentOther) %> class="form-field" style="margin-top:0;width:auto;vertical-align:middle;" />
  592. <span style="width:125px;"><%= Flow.EnvironmentOtherTitle %></span>
  593. <br />
  594. <input type="text" name="flow[EnvironmentComments]" value="<%= flow.EnvironmentComments %>" class="form-field value" style="margin-top:0;vertical-align:middle;" />
  595. </div>
  596. </td>
  597. </tr>
  598. </table>
  599. </div>
  600.  
  601. <!-- Project planning -->
  602. <div class="crm-section">
  603. <h1 class="gray">
  604. <span><%= Flow.ProjecPlanningTitle %></span>
  605. </h1>
  606. <table cellpadding="0" cellspacing="0" border="0" width="100%" class="gray">
  607. <tr>
  608. <th style="width:37%;"><%= Flow.ProjecPlanTitle %></th>
  609. <th style="width:37%;"><%= Flow.DesignInputTitle %></th>
  610. <th style="width:26%;"><%= Flow.ExpectationOnEngineerTitle %></th>
  611. </tr>
  612. <tr>
  613. <td style="width:37%;">
  614. <span class="key"><%= Flow.DateForConceptTitle %></span>
  615. <div class="value" style="padding-top:4px;">
  616. DateForConcept
  617. </div>
  618. </td>
  619. <td style="width:37%;" rowspan="2">
  620. <span class="key"><%= Flow.CadAvailableTitle %></span>
  621. <div class="value" style="padding-top:4px;">
  622. <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;" />
  623. Yes
  624. &nbsp;
  625. <input type="radio" name="flow[CadAvailable]" value="false" <%= "checked".When(!flow.CadAvailable) %> class="form-field" style="margin-top:0;width:auto;vertical-align:middle;" />
  626. &nbsp;No
  627. <br />
  628. <input type="checkbox" name="flow[Cad3d]" value="true" <%= "checked".When(flow.Cad3d) %> class="form-field" style="margin-top:0;width:auto;vertical-align:middle;" />
  629. <%= Flow.Cad3dTitle %>&nbsp;-&nbsp;
  630. <input type="checkbox" name="flow[CadStep]" value="true" <%= "checked".When(flow.CadStep) %> class="form-field" style="margin-top:0;width:auto;vertical-align:middle;" />
  631. <%= Flow.CadStepTitle %>&nbsp;
  632. <input type="checkbox" name="flow[CadXT]" value="true" <%= "checked".When(flow.CadXT) %> class="form-field" style="margin-top:0;width:auto;vertical-align:middle;" />
  633. <%= Flow.CadXTTitle %>&nbsp;
  634. <input type="checkbox" name="flow[CadAcis]" value="true" <%= "checked".When(flow.CadAcis) %> class="form-field" style="margin-top:0;width:auto;vertical-align:middle;" />
  635. <%= Flow.CadAcisTitle %>&nbsp;
  636. <input type="checkbox" name="flow[CadIgs]" value="true" <%= "checked".When(flow.CadIgs) %> class="form-field" style="margin-top:0;width:auto;vertical-align:middle;" />
  637. <%= Flow.CadIgsTitle %>&nbsp;
  638. <br />
  639. <input type="checkbox" name="flow[Cad2d]" value="true" <%= "checked".When(flow.Cad2d) %> class="form-field" style="margin-top:0;width:auto;vertical-align:middle;" />
  640. <%= Flow.Cad2dTitle %>&nbsp;-&nbsp;
  641. <input type="checkbox" name="flow[CadDwg]" value="true" <%= "checked".When(flow.CadDwg) %> class="form-field" style="margin-top:0;width:auto;vertical-align:middle;" />
  642. <%= Flow.CadDwgTitle %>&nbsp;
  643. <input type="checkbox" name="flow[CadDxf]" value="true" <%= "checked".When(flow.CadDxf) %> class="form-field" style="margin-top:0;width:auto;vertical-align:middle;" />
  644. <%= Flow.CadDxfTitle %>&nbsp;
  645. <input type="checkbox" name="flow[CadPdf]" value="true" <%= "checked".When(flow.CadPdf) %> class="form-field" style="margin-top:0;width:auto;vertical-align:middle;" />
  646. <%= Flow.CadPdfTitle %>&nbsp;
  647. </div>
  648. </td>
  649. <td style="width:26%;" rowspan="6">
  650. <span class="key"><%= Flow.SupportNeededTitle %></span>
  651. <div class="value" style="padding-top:4px;">
  652. <input type="checkbox" name="flow[ExpectationCadAvailable]" <%= "checked".When(flow.ExpectationCadAvailable) %> class="form-field" style="margin-top:0;width:auto;vertical-align:middle;" />
  653. <span style="width:125px;"><%= Flow.ExpectationCadAvailableTitle %></span>
  654. <br />
  655. <input type="checkbox" name="flow[Demo3d]" <%= "checked".When(flow.Demo3d) %> class="form-field" style="margin-top:0;width:auto;vertical-align:middle;" />
  656. <span style="width:125px;"><%= Flow.Demo3dTitle %></span>
  657. <br />
  658. <input type="checkbox" name="flow[DemoPPT]" <%= "checked".When(flow.DemoPPT) %> class="form-field" style="margin-top:0;width:auto;vertical-align:middle;" />
  659. <span style="width:125px;"><%= Flow.DemoPPTTitle %></span>
  660. <br />
  661. <input type="checkbox" name="flow[DemoAnimation]" <%= "checked".When(flow.DemoAnimation) %> class="form-field" style="margin-top:0;width:auto;vertical-align:middle;" />
  662. <span style="width:125px;"><%= Flow.DemoAnimationTitle %></span>
  663. <br />
  664. &nbsp;<%= Flow.OtherTitle %>
  665. <br />
  666. <input type="text" name="flow[Other]" value="<%= flow.Other %>" class="form-field value" style="margin-top:0;vertical-align:middle;" />
  667. </div>
  668. </td>
  669. </tr>
  670. <tr>
  671. <td style="width:37%;">
  672. <span class="key"><%= Flow.DateForReviewTitle %>&nbsp;</span>
  673. <div class="value" style="padding-top:4px;">
  674. DateForReview
  675. </div>
  676. </td>
  677. </tr>
  678. <tr>
  679. <td style="width:37%;">
  680. <span class="key"><%= Flow.DateForQuoteTitle %>&nbsp;</span>
  681. <div class="value" style="padding-top:4px;">
  682. DateForQuote
  683. </div>
  684. </td>
  685. <td style="width:37%;">
  686. <span class="key"><%= Flow.PicAvailableTitle %></span>
  687. <div class="value" style="padding-top:4px;">
  688. <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;" />
  689. Yes
  690. &nbsp;
  691. <input type="radio" name="flow[PicAvailable]" value="false" <%= "checked".When(!flow.PicAvailable) %> class="form-field" style="margin-top:0;width:auto;vertical-align:middle;" />
  692. &nbsp;No
  693. </div>
  694. </td>
  695. </tr>
  696. <tr>
  697. <td style="width:37%;">
  698. <span class="key"><%= Flow.DateForFinalSolutionTitle %></span>
  699. <div class="value" style="padding-top:4px;">
  700. DateForFinalSolution
  701. </div>
  702. </td>
  703. <td style="width:37%;">
  704. <span class="key"><%= Flow.ProductSampleTitle %></span>
  705. <div class="value" style="padding-top:4px;">
  706. <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;" />
  707. Yes
  708. &nbsp;
  709. <input type="radio" name="flow[ProductSample]" value="false" <%= "checked".When(!flow.ProductSample) %> class="form-field" style="margin-top:0;width:auto;vertical-align:middle;" />
  710. &nbsp;No
  711. </div>
  712. </td>
  713. </tr>
  714. <tr>
  715. <td style="width:37%;" rowspan="2">
  716. <span class="key"><%= Flow.DateForMassProductionTitle %></span>
  717. <div class="value" style="padding-top:4px;">
  718. DateForMassProduction
  719. </div>
  720. </td>
  721. <td style="width:37%;">
  722. <span class="key"><%= Flow.CurrentPackagingAvailableTitle %></span>
  723. <div class="value" style="padding-top:4px;">
  724. <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;" />
  725. <%= Flow.DrawingCurrPackTitle %>
  726. &nbsp;
  727. <input type="checkbox" name="flow[PicCurrPack]" value="true" <%= "checked".When(flow.PicCurrPack) %> class="form-field" style="margin-top:0;width:auto;vertical-align:middle;" />
  728. &nbsp;<%= Flow.PicCurrPackTitle %>
  729. </div>
  730. </td>
  731. </tr>
  732. <tr>
  733. <td style="width:37%;">
  734. <span class="key"><%= Flow.TargetPriceTitle %></span>
  735. <div class="value" style="padding-top:4px;">
  736. <input type="text" name="flow[TargetPrice]" value="<%= flow.TargetPrice %>" class="form-field value" style="margin-top:0;width:90%;vertical-align:middle;" />
  737. RMB
  738. </div>
  739. </td>
  740. </tr>
  741. </table>
  742. </div>
  743.  
  744. <!-- Rate importance -->
  745. <div class="crm-section">
  746. <h1 class="gray">
  747. <span><%= Flow.RateImportanceTitle %></span>
  748. </h1>
  749. <table cellpadding="0" cellspacing="0" border="0" width="100%">
  750. <tr>
  751. <%= Html.FormSelectField(Flow.TotalCostTitle, "flow", "TotalCost", 1.To(10).ToDictionary(key => key, value => value), flow.TotalCost) %>
  752. <%= Html.FormSelectField(Flow.PackagingCostTitle, "flow", "PackagingCost", 1.To(10).ToDictionary(key => key, value => value), flow.PackagingCost) %>
  753. </tr>
  754. <tr>
  755. <%= Html.FormSelectField(Flow.DamageFreeTitle, "flow", "DamageFree", 1.To(10).ToDictionary(key => key, value => value), flow.DamageFree) %>
  756. <%= Html.FormSelectField(Flow.TransportSavingTitle, "flow", "TransportSaving", 1.To(10).ToDictionary(key => key, value => value), flow.TransportSaving) %>
  757. </tr>
  758. <tr>
  759. <%= Html.FormSelectField(Flow.SpaceSavingTitle, "flow", "SpaceSaving", 1.To(10).ToDictionary(key => key, value => value), flow.SpaceSaving) %>
  760. <%= Html.FormSelectField(Flow.QuickPackingTitle, "flow", "QuickPacking", 1.To(10).ToDictionary(key => key, value => value), flow.QuickPacking) %>
  761. </tr>
  762. <tr>
  763. <%= Html.FormSelectField(Flow.ReusabilityTitle, "flow", "Reusability", 1.To(10).ToDictionary(key => key, value => value), flow.Reusability) %>
  764. <%= Html.FormSelectField(Flow.ImageTitle, "flow", "Image", 1.To(10).ToDictionary(key => key, value => value), flow.Image) %>
  765. </tr>
  766. <tr>
  767. <td colspan="2">
  768. <span class="key"><%= Flow.CommentsTitle %></span>
  769. <input type="text" name="flow[Comments]" value="<%= flow.Comments %>" class="form-field value" />
  770. </td>
  771. </tr>
  772. </table>
  773. </div>
  774. </form>
  775.  
  776. <script type="text/javascript">
  777. setTimeout(function()
  778. {
  779. setup_edit_links('<%= Html.RouteUrl("edit_site", new { id = State["site_id"] }) %>',
  780. '<%= Html.RouteUrl("site_flows", new { site_id = State["site_id"], type = 0 }) %>',
  781. '<%= Html.RouteUrl("site_flows", new { site_id = State["site_id"], type = 1 }) %>');
  782. setup_edit_fields();
  783. $('#flow_TotalPriceOfKit').change(function()
  784. {
  785. var a = parseFloat($('#flow_TotalPriceOfKit').val());
  786. var b = parseInt($('#flow_PPK').val());
  787. $('#flow_CalcSum').val(a / b);
  788. });
  789. $('#flow_ProductsPerKit').change(function()
  790. {
  791. $('#flow_PPK').val($(this).val());
  792. $('#flow_TotalPriceOfKit').change();
  793. });
  794. }, 250);
  795. </script>
Add Comment
Please, Sign In to add comment