clothingUser-add.jsp 4.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
  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. //编写自定义JS代码
  10. </script>
  11. </head>
  12. <body>
  13. <t:formvalid formid="formobj" dialog="true" usePlugin="password" layout="table" action="clothingUserController.do?doAdd" beforeSubmit="setEditable">
  14. <input id="id" name="id" type="hidden" value="${clothingUserPage.id }"/>
  15. <input id="userid" name="userid" type="hidden" value="${clothingUserPage.userid }"/>
  16. <!-- <input id="quantity" name="quantity" type="hidden" value="1"/> -->
  17. <input id="status" name="status" type="hidden" value="1"/>
  18. <input id="sourcetype" name="sourcetype" type="hidden" value="2"/>
  19. <table style="width: 600px;" cellpadding="0" cellspacing="1" class="formtable">
  20. <tr>
  21. <td align="right">
  22. <label class="Validform_label">
  23. 服装名称:
  24. </label>
  25. </td>
  26. <td class="value">
  27. <input id="clothingname" name="clothingname" type="text" style="width: 150px" class="inputxt" readonly="readonly" placeholder="请选择服装"
  28. datatype="*" ignore="checked" onclick="openClothingSelect()" />
  29. <input id="clothingid" name="clothingid" type="hidden" value="">
  30. <a href="#" class="easyui-linkbutton" plain="true" icon="icon-select" id="clothingSearch" onclick="openClothingSelect()">选择</a>
  31. <a href="#" class="easyui-linkbutton" plain="true" icon="icon-clean" id="clothingRedo" onclick="callbackCleanClothing()">清空</a>
  32. </td>
  33. </tr>
  34. <tr>
  35. <td align="right">
  36. <label class="Validform_label">
  37. 领料点名称:
  38. </label>
  39. </td>
  40. <td class="value">
  41. <input id="warehousename" name="warehousename" type="text" style="width: 150px" class="inputxt" readonly="readonly" />
  42. <input id="warehouseid" name="warehouseid" type="hidden" value="">
  43. <!-- <a href="#" class="easyui-linkbutton" plain="true" icon="icon-select" id="warehouseSearch" onclick="openWarehouseSelect()">选择</a>
  44. <a href="#" class="easyui-linkbutton" plain="true" icon="icon-clean" id="warehouseRedo" onclick="callbackCleanWarehouse()">清空</a> -->
  45. </td>
  46. </tr>
  47. <tr>
  48. <td align="right">
  49. <label class="Validform_label">
  50. 服装类型:
  51. </label>
  52. </td>
  53. <td class="value">
  54. <t:dictSelect field="type" type="list" typeGroupCode="clothingtype" readonly="readonly" defaultVal="${clothingUserPage.type}" hasLabel="false" title="服装类型" ></t:dictSelect>
  55. <span class="Validform_checktip"></span>
  56. <label class="Validform_label" style="display: none;">服装类型</label>
  57. </td>
  58. </tr>
  59. <tr>
  60. <td align="right">
  61. <label class="Validform_label">
  62. 计量单位:
  63. </label>
  64. </td>
  65. <td class="value">
  66. <t:dictSelect field="unit" type="list" typeGroupCode="metering_calcu_unit" readonly="readonly" defaultVal="${clothingUserPage.unit}" hasLabel="false" title="计量单位" ></t:dictSelect>
  67. <span class="Validform_checktip"></span>
  68. <label class="Validform_label" style="display: none;">计量单位</label>
  69. </td>
  70. </tr>
  71. <tr>
  72. <td align="right">
  73. <label class="Validform_label">
  74. 申领数量:
  75. </label>
  76. </td>
  77. <td class="value">
  78. <input id="quantity" name="quantity" type="text" style="width: 150px" class="input" datatype="n" ignore="checked" />
  79. <span class="Validform_checktip"></span>
  80. <label class="Validform_label" style="display: none;">申领数量</label>
  81. </td>
  82. </tr>
  83. <tr>
  84. <td align="right">
  85. <label class="Validform_label">
  86. 启用日期:
  87. </label>
  88. </td>
  89. <td class="value">
  90. <input id="startdate" name="startdate" type="text" style="width: 150px" class="Wdate" readonly="readonly" ignore="ignore" />
  91. <span class="Validform_checktip"></span>
  92. <label class="Validform_label" style="display: none;">启用日期</label>
  93. </td>
  94. </tr>
  95. </table>
  96. </t:formvalid>
  97. </body>
  98. <script src = "webpage/cn/com/lzt/clothing/user/clothingUser.js"></script>