123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293 |
- <!DOCTYPE html>
- <html lang="zh" xmlns:th="http://www.thymeleaf.org" >
- <head>
- <th:block th:include="include :: header('处方登记记录新增')" />
- <th:block th:include="include :: ztree-css" />
- </head>
- <body class="white-bg">
- <div class="wrapper wrapper-content animated fadeInRight ibox-content">
- <form id="form-SZlglCfdjSaleprescriptioninfo-add" class="customize-search-form">
- <div class="customize-form-group-container">
- <!-- <div class="customize-form-group">-->
- <!-- <label>销售单号:</label>-->
- <!-- <input name="saleDocumentNumber" placeholder="销售单号" id="saleDocumentNumber" class="styled-input" type="text">-->
- <!-- </div>-->
- <div class="customize-form-group select-time">
- <label>销售时间:</label>
- <input name="saleTime" placeholder="销售时间" id="saleTime" class="time-input time-input2" type="text">
- </div>
- <div class="customize-form-group select-time">
- <label>登记时间:</label>
- <input name="registrationTime" placeholder="登记时间" id="registrationTime" class="time-input time-input2" type="text">
- </div>
- <!-- <div class="customize-form-group">-->
- <!-- <label>处方单号:</label>-->
- <!-- <input name="prescriptionNumber" placeholder="处方单号" id="prescriptionNumber" class="styled-input" type="text">-->
- <!-- </div>-->
- <div class="customize-form-group">
- <label>类型:</label>
- <select name="types" class="styled-input" th:with="type=${@dict.getType('sys_select_prescription_ype')}">
- <option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictLabel}"
- ></option>
- </select>
- </div>
- <div class="customize-form-group select-time">
- <label>处方日期:</label>
- <input name="prescriptionDate" placeholder="处方日期" id="prescriptionDate" class="time-input time-input2" type="text">
- </div>
- <div class="customize-form-group">
- <label>医疗机构名称:</label>
- <input name="medicalInstitutionName" placeholder="医疗机构名称" id="medicalInstitutionName" class="styled-input" type="text">
- </div>
- <div class="customize-form-group">
- <label>医生姓名:</label>
- <input name="doctorName" placeholder="医生姓名" id="doctorName" class="styled-input" type="text">
- </div>
- <div class="customize-form-group">
- <label>顾客信息:</label>
- <input name="customerInfo" placeholder="顾客信息" id="customerInfo" class="styled-input" type="text">
- </div>
- <div class="customize-form-group">
- <label>审方药师:</label>
- <input name="reviewingPharmacist" placeholder="审方药师" id="reviewingPharmacist" class="styled-input" type="text">
- </div>
- <div class="customize-form-group">
- <label>调配员:</label>
- <input name="dispenser" placeholder="调配员" id="dispenser" class="styled-input" type="text">
- </div>
- <div class="customize-form-group">
- <label>复核员:</label>
- <input name="checker" placeholder="复核员" id="checker" class="styled-input" type="text">
- </div>
- </div>
- </form>
- </div>
- <th:block th:include="include :: footer" />
- <th:block th:include="include :: ztree-js" />
- <script type="text/javascript">
- function submitHandler() {
- if ($.validate.form()) {
- add();
- }
- }
- function add() {
- var data = $("#form-SZlglCfdjSaleprescriptioninfo-add").serializeArray();
- $.ajax({
- cache : true,
- type : "POST",
- url : ctx + "zlgl/szlglcfdjsaleprescriptioninfo/sZlglCfdjSaleprescriptioninfoAdd",
- data : data,
- async : false,
- error : function(request) {
- $.modal.alertError("系统错误");
- },
- success : function(data) {
- $.operate.successCallback(data);
- }
- });
- }
- </script>
- </body>
- </html>
|