onhand-update.jsp 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  1. <%@ page language="java" import="java.util.*" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
  2. <%@include file="/context/mytags.jsp"%>
  3. <!DOCTYPE html>
  4. <html>
  5. <head>
  6. <title>项目库</title>
  7. <t:base type="jquery,easyui,tools,DatePicker"></t:base>
  8. <script type="text/javascript">
  9. $(document).ready(function(){
  10. //编写自定义JS代码
  11. });
  12. function beforeSave(){
  13. return true;
  14. }
  15. </script>
  16. </head>
  17. <body>
  18. <t:formvalid formid="formobj" dialog="true" usePlugin="password" layout="table" action="onhandController.do?doUpdate" beforeSubmit="beforeSave">
  19. <input id="id" name="id" type="hidden" value="${onhand.id }"/>
  20. <table cellpadding="0" cellspacing="1" class="formtable">
  21. <tr>
  22. <td align="right">
  23. <label class="Validform_label">
  24. 仓库:
  25. </label>
  26. </td>
  27. <td class="value">
  28. <input id="wname" name="wname" type="text" style="width: 150px" class="inputxt" readonly="readonly" value='${wname}'/>
  29. <%-- <t:dictSelect field="warehouseId" id= 'warehouseId' type="list" extendJson="{class:'form-control'}"
  30. dictTable="t_b_warehouse" dictField="id" dictText="warehouse_name" defaultVal="${onhand.warehouseId}" hasLabel="false" title="仓库"></t:dictSelect> --%>
  31. <span class="Validform_checktip"></span>
  32. <label class="Validform_label" style="display: none;">仓库</label>
  33. </td>
  34. </tr>
  35. <tr>
  36. <td align="right">
  37. <label class="Validform_label">
  38. 货品:
  39. </label>
  40. </td>
  41. <td class="value">
  42. <input id="gname" name="gname" type="text" style="width: 150px" class="inputxt" readonly="readonly" value='${gname}'/>
  43. <%-- <t:dictSelect field="goodsId" id= 'goodsId' type="list" extendJson="{class:'form-control'}"
  44. dictTable="t_b_goods_info" dictField="id" dictText="goods_name" defaultVal="${onhand.goodsId}" hasLabel="false" title="存货"></t:dictSelect> --%>
  45. <span class="Validform_checktip"></span>
  46. <label class="Validform_label" style="display: none;">货品</label>
  47. </td>
  48. </tr>
  49. <tr>
  50. <td align="right">
  51. <label class="Validform_label">
  52. 型号:
  53. </label>
  54. </td>
  55. <td class="value">
  56. <input id="specType" name="specType" type="text" style="width: 150px" class="inputxt" readonly="readonly" value='${onhand.specType}'/>
  57. <span class="Validform_checktip"></span>
  58. <label class="Validform_label" style="display: none;">型号</label>
  59. </td>
  60. </tr>
  61. <tr>
  62. <td align="right">
  63. <label class="Validform_label">
  64. <span color="red" class="requiredIcon">*</span>数量:
  65. </label>
  66. </td>
  67. <td class="value">
  68. <input id="quantity" name="quantity" type="text" style="width: 150px" class="inputxt" datatype="*" ignore="chack" value='${onhand.quantity}'/>
  69. <span class="Validform_checktip"></span>
  70. <label class="Validform_label" style="display: none;">数量</label>
  71. </td>
  72. </tr>
  73. </table>
  74. </t:formvalid>
  75. </body>