SZlglCfdjSaleprescriptioninfoAdd.html 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  1. <!DOCTYPE html>
  2. <html lang="zh" xmlns:th="http://www.thymeleaf.org" >
  3. <head>
  4. <th:block th:include="include :: header('处方登记记录新增')" />
  5. <th:block th:include="include :: ztree-css" />
  6. </head>
  7. <body class="white-bg">
  8. <div class="wrapper wrapper-content animated fadeInRight ibox-content">
  9. <form id="form-SZlglCfdjSaleprescriptioninfo-add" class="customize-search-form">
  10. <div class="customize-form-group-container">
  11. <!-- <div class="customize-form-group">-->
  12. <!-- <label>销售单号:</label>-->
  13. <!-- <input name="saleDocumentNumber" placeholder="销售单号" id="saleDocumentNumber" class="styled-input" type="text">-->
  14. <!-- </div>-->
  15. <div class="customize-form-group select-time">
  16. <label>销售时间:</label>
  17. <input name="saleTime" placeholder="销售时间" id="saleTime" class="time-input time-input2" type="text">
  18. </div>
  19. <div class="customize-form-group select-time">
  20. <label>登记时间:</label>
  21. <input name="registrationTime" placeholder="登记时间" id="registrationTime" class="time-input time-input2" type="text">
  22. </div>
  23. <!-- <div class="customize-form-group">-->
  24. <!-- <label>处方单号:</label>-->
  25. <!-- <input name="prescriptionNumber" placeholder="处方单号" id="prescriptionNumber" class="styled-input" type="text">-->
  26. <!-- </div>-->
  27. <div class="customize-form-group">
  28. <label>类型:</label>
  29. <select name="types" class="styled-input" th:with="type=${@dict.getType('sys_select_prescription_ype')}">
  30. <option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictLabel}"
  31. ></option>
  32. </select>
  33. </div>
  34. <div class="customize-form-group select-time">
  35. <label>处方日期:</label>
  36. <input name="prescriptionDate" placeholder="处方日期" id="prescriptionDate" class="time-input time-input2" type="text">
  37. </div>
  38. <div class="customize-form-group">
  39. <label>医疗机构名称:</label>
  40. <input name="medicalInstitutionName" placeholder="医疗机构名称" id="medicalInstitutionName" class="styled-input" type="text">
  41. </div>
  42. <div class="customize-form-group">
  43. <label>医生姓名:</label>
  44. <input name="doctorName" placeholder="医生姓名" id="doctorName" class="styled-input" type="text">
  45. </div>
  46. <div class="customize-form-group">
  47. <label>顾客信息:</label>
  48. <input name="customerInfo" placeholder="顾客信息" id="customerInfo" class="styled-input" type="text">
  49. </div>
  50. <div class="customize-form-group">
  51. <label>审方药师:</label>
  52. <input name="reviewingPharmacist" placeholder="审方药师" id="reviewingPharmacist" class="styled-input" type="text">
  53. </div>
  54. <div class="customize-form-group">
  55. <label>调配员:</label>
  56. <input name="dispenser" placeholder="调配员" id="dispenser" class="styled-input" type="text">
  57. </div>
  58. <div class="customize-form-group">
  59. <label>复核员:</label>
  60. <input name="checker" placeholder="复核员" id="checker" class="styled-input" type="text">
  61. </div>
  62. </div>
  63. </form>
  64. </div>
  65. <th:block th:include="include :: footer" />
  66. <th:block th:include="include :: ztree-js" />
  67. <script type="text/javascript">
  68. function submitHandler() {
  69. if ($.validate.form()) {
  70. add();
  71. }
  72. }
  73. function add() {
  74. var data = $("#form-SZlglCfdjSaleprescriptioninfo-add").serializeArray();
  75. $.ajax({
  76. cache : true,
  77. type : "POST",
  78. url : ctx + "zlgl/szlglcfdjsaleprescriptioninfo/sZlglCfdjSaleprescriptioninfoAdd",
  79. data : data,
  80. async : false,
  81. error : function(request) {
  82. $.modal.alertError("系统错误");
  83. },
  84. success : function(data) {
  85. $.operate.successCallback(data);
  86. }
  87. });
  88. }
  89. </script>
  90. </body>
  91. </html>