SCgxsTgypTgypdjPageEdit.html 4.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  1. <!DOCTYPE html>
  2. <html lang="zh" xmlns:th="http://www.thymeleaf.org" >
  3. <head>
  4. <th:block th:include="include :: header('特管药品登记表修改')" />
  5. </head>
  6. <body>
  7. <div class="ui-layout-center">
  8. <form id="form-SCgxsTgypTgypdj-edit" class="customize-search-form">
  9. <div class="customize-form-group-container">
  10. </div>
  11. <div class="customize-form-group-container">
  12. </div>
  13. <div class="customize-form-group-container">
  14. <input type="hidden" id="id" name="id" th:value="${id}">
  15. <div class="customize-form-group">
  16. <label>创建人:</label>
  17. <input name="createdBy" placeholder="创建人" th:value="${createdBy}" class="styled-input" type="text">
  18. </div>
  19. <div class="customize-form-group">
  20. <label>创建日期:</label>
  21. <input name="createdDate" placeholder="创建日期" th:value="${createdDate}" class="styled-input" type="text">
  22. </div>
  23. <div class="customize-form-group">
  24. <label>销售日期:</label>
  25. <input name="saleDate" placeholder="销售日期" th:value="${saleDate}" class="styled-input" type="text">
  26. </div>
  27. <div class="customize-form-group">
  28. <label>销售单号:</label>
  29. <input name="saleOrderNumber" placeholder="销售单号" th:value="${saleOrderNumber}" class="styled-input" type="text">
  30. </div>
  31. <div class="customize-form-group">
  32. <label>登记时间:</label>
  33. <input name="registerTime" placeholder="登记时间" th:value="${registerTime}" class="styled-input" type="text">
  34. </div>
  35. <div class="customize-form-group">
  36. <label>顾客姓名:</label>
  37. <input name="customerName" placeholder="顾客姓名" th:value="${customerName}" class="styled-input" type="text">
  38. </div>
  39. <div class="customize-form-group">
  40. <label>性别:</label>
  41. <input name="gender" placeholder="性别" th:value="${gender}" class="styled-input" type="text">
  42. </div>
  43. <div class="customize-form-group">
  44. <label>身份证号:</label>
  45. <input name="idNumber" placeholder="身份证号" th:value="${idNumber}" class="styled-input" type="text">
  46. </div>
  47. <div class="customize-form-group">
  48. <label>联系电话:</label>
  49. <input name="contactPhone" placeholder="联系电话" th:value="${contactPhone}" class="styled-input" type="text">
  50. </div>
  51. <div class="customize-form-group">
  52. <label>营业员:</label>
  53. <input name="salesperson" placeholder="营业员" th:value="${salesperson}" class="styled-input" type="text">
  54. </div>
  55. <div class="customize-form-group">
  56. <label>门店名称:</label>
  57. <input name="storeName" placeholder="门店名称" th:value="${storeName}" class="styled-input" type="text">
  58. </div>
  59. <div class="customize-form-group">
  60. <label>药品编号:</label>
  61. <input name="medicineCode" placeholder="药品编号" th:value="${medicineCode}" class="styled-input" type="text">
  62. </div>
  63. </div>
  64. </form>
  65. </div>
  66. <div class="main-content">
  67. <div class="col-sm-offset-5 col-sm-10">
  68. <button type="button" class="btn btn-sm btn-primary" onclick="submitHandler()"><i class="fa fa-check"></i>保 存</button>&nbsp;
  69. <button type="button" class="btn btn-sm btn-danger" onclick="closeItem()"><i class="fa fa-reply-all"></i>关 闭 </button>
  70. </div>
  71. </div>
  72. <th:block th:include="include :: footer" />
  73. </body>
  74. </html>
  75. <script>
  76. function submitHandler() {
  77. var prefix = ctx + "cgxs/scgxstgyptgypdj";
  78. if ($.validate.form()) {
  79. var data = $("#form-SCgxsTgypTgypdj-edit").serializeArray();
  80. $.operate.saveTab(prefix + "/sCgxsTgypTgypdjEdit", data);
  81. }
  82. }
  83. </script>