瀏覽代碼

退费处增加机制号查询

hurugang 6 年之前
父節點
當前提交
5364dcb7ea

+ 20 - 2
src/main/java/cn/hnthyy/thmz/controller/MzChargeDetailController.java

@@ -53,8 +53,8 @@ public class MzChargeDetailController {
                 resultMap.put("message", "费用列表查询参数不能为空");
                 return resultMap;
             }
-            MzChargeDetail mzChargeDetail = mzChargeDetailPageDto.getMzChargeDetail();
             PageViewVo pageViewVo = new PageViewVo();
+            MzChargeDetail mzChargeDetail = mzChargeDetailPageDto.getMzChargeDetail();
             List<MzChargeDetail> mzChargeDetails;
             if(PayMarkEnum.NO_CHARGE.code.equals(mzChargeDetail.getPayMark())){
                 if(StringUtils.isBlank(mzChargeDetail.getPatientId())){
@@ -66,6 +66,19 @@ public class MzChargeDetailController {
                 pageViewVo.setPageSize(100);
                 pageViewVo.setTotal(mzChargeDetails.size());
             }else {
+                if(mzChargeDetailPageDto.getSerialNo()!=null){
+                    MzReceiptSerial mzReceiptSerial=mzReceiptSerialService.queryReceiptSerialBySerialNo(mzChargeDetailPageDto.getSerialNo());
+                    if(mzReceiptSerial==null){
+                        pageViewVo.setTotal(0);
+                        pageViewVo.setData(Collections.EMPTY_LIST);
+                        resultMap.put("code", 0);
+                        resultMap.put("message", "查询费用列表信息成功,但是当前机制号无对应的缴费信息");
+                        resultMap.put("pageViewVo", pageViewVo);
+                        return resultMap;
+                    }
+                    mzChargeDetail.setPatientId(mzReceiptSerial.getPatientId());
+                    mzChargeDetail.setTimes(mzReceiptSerial.getTimes());
+                }
                 if (StringUtils.isBlank(mzChargeDetail.getName())) {
                     mzChargeDetail.setName(null);
                 } else {
@@ -648,7 +661,12 @@ public class MzChargeDetailController {
             resultMap.put("patientId", mzDepositFileVo.getPatientId());
             resultMap.put("message", "退费操作成功");
             return resultMap;
-        } catch (Exception e) {
+        }catch (MzException e) {
+            resultMap.put("code", -1);
+            resultMap.put("message", e.getMessage());
+            log.error("退费操作失败,系统异常,错误信息{}", e.getMessage());
+            return resultMap;
+        }catch (Exception e) {
             resultMap.put("code", -1);
             resultMap.put("message", "退费操作失败,系统出错,请联系管理员");
             log.error("退费操作失败,系统异常,错误信息{}", e.getMessage());

+ 6 - 0
src/main/java/cn/hnthyy/thmz/controller/MzyReqrecController.java

@@ -5,6 +5,7 @@ import cn.hnthyy.thmz.Utils.NumberToCN;
 import cn.hnthyy.thmz.Utils.TokenUtil;
 import cn.hnthyy.thmz.comment.UserLoginToken;
 import cn.hnthyy.thmz.common.Constants;
+import cn.hnthyy.thmz.entity.MzException;
 import cn.hnthyy.thmz.entity.his.*;
 import cn.hnthyy.thmz.entity.thmz.User;
 import cn.hnthyy.thmz.enums.YesNoEnum;
@@ -589,6 +590,11 @@ public class MzyReqrecController {
             resultMap.put("code", 0);
             resultMap.put("data",mzyReqrec);
             return resultMap;
+        }catch (MzException e){
+            resultMap.put("code", -1);
+            resultMap.put("message", "获取当前挂号的发票信息失败,"+e.getMessage());
+            log.error("获取当前挂号的发票信息失败,系统异常,错误信息{}",e.getMessage());
+            return resultMap;
         }catch (Exception e){
             resultMap.put("code", -1);
             resultMap.put("message", "获取当前挂号的发票信息失败,系统出错,请联系管理员");

+ 30 - 3
src/main/java/cn/hnthyy/thmz/mapper/his/MzReceiptSerialMapper.java

@@ -98,7 +98,7 @@ public interface MzReceiptSerialMapper {
 
 
     /**
-     * 查询所有的记账记录
+     * 查询所有的发票记录
      *
      * @param patientId
      * @param times
@@ -110,7 +110,7 @@ public interface MzReceiptSerialMapper {
             "receipt_sn,dcount_date,rtrim(windows_no) windows_no,dcount_no,serial_yb,rtrim(fp_flag) fp_flag,rtrim(responce_type) responce_type,rtrim(cheque_type) cheque_type,cheque_no,rtrim(tf_flag) tf_flag,dept_no",
             "from mz_receipt_serial where patient_id =#{patientId,jdbcType=CHAR} and pay_mark=0  and times =#{times}  ",
             "</script>"})
-    List<MzReceiptSerial> selectJiZhangDetails(@Param(value = "patientId") String patientId, @Param("times") Integer times);
+    List<MzReceiptSerial> selectReceiptDetails(@Param(value = "patientId") String patientId, @Param("times") Integer times);
 
     /**
      * 根据病人编号和就诊次数查询其当次缴费对应的所有发票
@@ -143,13 +143,40 @@ public interface MzReceiptSerialMapper {
             "</script>"})
     List<MzReceiptSerial> selectSerialForThisTime(@Param(value = "patientId") String patientId, @Param("times") Integer times);
 
+
+
+    /**
+     * 根据机制号查询发票信息
+     *
+     * @param serialNo
+     * @return
+     */
+    @Select({"<script>",
+            "select rtrim(patient_id) patient_id,times,receipt_no,serial_no,rtrim(operator_id) operator_id,charge1,charge2,charge3,charge4,charge5,charge6,charge7,charge8,charge9,",
+            "charge10,charge11,charge12,charge13,charge14,charge15,charge16,charge17,charge18,charge19,charge20,rtrim(pay_mark) pay_mark,total_charge,charge_date,rtrim(receipt_bill) receipt_bill,",
+            "receipt_sn,dcount_date,rtrim(windows_no) windows_no,dcount_no,serial_yb,rtrim(fp_flag) fp_flag,rtrim(responce_type) responce_type,rtrim(cheque_type) cheque_type,cheque_no,rtrim(tf_flag) tf_flag,dept_no",
+            "from mz_receipt_serial where serial_no =#{serialNo}  ",
+            "</script>"})
+    MzReceiptSerial selectReceiptDetailsBySerialNo(@Param(value = "serialNo") Integer serialNo);
+
     /**
      * 修改发票表
      * @param mzReceiptSerial
      * @return
      */
     @Update({"<script>",
-            "update mz_receipt_serial set receipt_bill =#{receiptBill} where patient_id = #{patientId} and times =#{times} ",
+            "update mz_receipt_serial " ,
+            "<trim prefix='set' prefixOverrides=',' suffix=' where patient_id = #{patientId} and times=#{times}' >",
+            "<when test='receiptBill!=null'>",
+            "receipt_bill =#{receiptBill}",
+            "</when>",
+            "<when test='payMark!=null'>",
+            ",pay_mark =#{payMark}",
+            "</when>",
+            "<when test='tfFlag!=null'>",
+            ",tf_flag =#{tfFlag}",
+            "</when>",
+            "</trim>",
             "</script>"})
     int updateMzReceiptSerial(MzReceiptSerial mzReceiptSerial);
 

+ 2 - 0
src/main/java/cn/hnthyy/thmz/pageDto/MzChargeDetailPageDto.java

@@ -21,4 +21,6 @@ public class MzChargeDetailPageDto {
     private Date beginTime;
     //查询的结束时间
     private Date endTime;
+    //查询的病人缴费机制号 退费使用
+    private Integer serialNo;
 }

+ 9 - 0
src/main/java/cn/hnthyy/thmz/service/his/MzReceiptSerialService.java

@@ -67,4 +67,13 @@ public interface MzReceiptSerialService {
      * @return
      */
     String printReceiptSerial(String patientId, Integer times, User user) throws MzException;
+
+
+    /**
+     * 根据机制号查询发票信息
+     *
+     * @param serialNo
+     * @return
+     */
+    MzReceiptSerial queryReceiptSerialBySerialNo(Integer serialNo);
 }

+ 5 - 1
src/main/java/cn/hnthyy/thmz/service/impl/his/MzChargeDetailServiceImpl.java

@@ -444,6 +444,10 @@ public class MzChargeDetailServiceImpl implements MzChargeDetailService {
             formatRefundReceiptSerial(mzReceiptSerials);
             mzReceiptSerialMapper.batchInsertMzReceiptSerial(mzReceiptSerials);
         }
+        MzReceiptSerial updateMzReceiptSerial = new MzReceiptSerial(mzDepositFileVo.getPatientId(),mzDepositFileVo.getTimes());
+        updateMzReceiptSerial.setPayMark(PayMarkEnum.CANCELLATION.code);
+        updateMzReceiptSerial.setTfFlag(YesNoEnum.YES.code);
+        mzReceiptSerialMapper.updateMzReceiptSerial(updateMzReceiptSerial);
         List<MzDepositFile> newMzDepositFiles = new ArrayList<>();
         if(allRefund){
             getDeposFiles(opId, mzDepositFileVo, now, 0, 0, null, null, newMzDepositFiles,allRefund);
@@ -1000,7 +1004,7 @@ public class MzChargeDetailServiceImpl implements MzChargeDetailService {
      */
     private List<MzReceiptSerial> getMzReceiptSerials(String opId, MzDepositFileVo mzDepositFileVo, Date now, int serialNo) {
         List<MzReceiptSerial> newList = new ArrayList<>();
-        List<MzReceiptSerial> mzReceiptSerials = mzReceiptSerialMapper.selectJiZhangDetails(mzDepositFileVo.getPatientId(), mzDepositFileVo.getTimes());
+        List<MzReceiptSerial> mzReceiptSerials = mzReceiptSerialMapper.selectReceiptDetails(mzDepositFileVo.getPatientId(), mzDepositFileVo.getTimes());
         if (mzReceiptSerials != null && mzReceiptSerials.size() > 0) {
             mzReceiptSerials.stream().forEach(j -> {
                 MzReceiptSerial newMzReceiptSerial = CloneUtil.clone(j);

+ 5 - 0
src/main/java/cn/hnthyy/thmz/service/impl/his/MzReceiptSerialServiceImpl.java

@@ -84,5 +84,10 @@ public class MzReceiptSerialServiceImpl implements MzReceiptSerialService {
         return mzReceiptSerial.getReceiptBill();
     }
 
+    @Override
+    public MzReceiptSerial queryReceiptSerialBySerialNo(Integer serialNo) {
+        return mzReceiptSerialMapper.selectReceiptDetailsBySerialNo(serialNo);
+    }
+
 
 }

+ 3 - 0
src/main/java/cn/hnthyy/thmz/service/impl/his/MzyReqrecServiceImpl.java

@@ -50,6 +50,9 @@ public class MzyReqrecServiceImpl implements MzyReqrecService {
     @SuppressWarnings("all")
     @Autowired
     private MzfzPatientOrderMapper mzfzPatientOrderMapper;
+    @SuppressWarnings("all")
+    @Autowired
+    private MzReceiptSerialMapper mzReceiptSerialMapper;
     @Autowired
     private MzyRequestService mzyRequestService;
     @Autowired

+ 4 - 0
src/main/resources/static/js/toll_administration.js

@@ -122,6 +122,8 @@ function billItemButtonChange(object) {
     });
     $(object).removeClass("btn-default").addClass("btn-primary");
     initChargeDetailTable();
+    //默认光标在卡号输入框
+    $("#cardNo").focus();
 }
 
 /**
@@ -384,6 +386,7 @@ function queryParams(params) {
         endTime: new Date(rePortRangeArr[1]),
         pageSize: params.limit,   //页面大小
         pageIndex: params.offset / params.limit,  //页码
+        serialNo: $("#serialNo").val(),
     };
     if (payMarkGroup == 1) {
         temp.mzChargeDetail.payMark = 0;
@@ -1710,4 +1713,5 @@ function cleanParams() {
     $("#patientId").val(null);
     //默认光标在卡号输入框
     $("#cardNo").focus();
+    $("#serialNo").val(null);
 }

+ 93 - 82
src/main/resources/templates/toll_administration.html

@@ -20,8 +20,8 @@
                 <form id="formSearch" class="form-horizontal" autocomplete="off">
                     <div class="btn-group col-md-4 col-sm-4 col-xs-12" id="pay_mark_group">
                         <!--<div class="clearRegistrationDiv">-->
-                            <!--<a id="editPrint"><i class="fa fa-cog">&nbsp;打印设置</i></a>-->
-                            <!--<a id="editWindows"><i class="fa fa-gears">&nbsp;窗口号设置</i></a>-->
+                        <!--<a id="editPrint"><i class="fa fa-cog">&nbsp;打印设置</i></a>-->
+                        <!--<a id="editWindows"><i class="fa fa-gears">&nbsp;窗口号设置</i></a>-->
                         <!--</div>-->
                         <button class="btn btn-sm btn-primary" type="button" onclick="payMarkButtonChange(this)">&nbsp;&nbsp;待收费&nbsp;&nbsp;
                         </button>
@@ -31,13 +31,15 @@
                         </button>
                     </div>
                     <div class="form-group col-md-8 col-sm-8 col-xs-12">
-                        <div class="col-md-3 col-sm-3 col-xs-12"></div>
+                        <div class="col-md-3 col-sm-3 col-xs-12">
+                        </div>
                         <label class="control-label col-md-1 col-sm-1 col-xs-12" for="cardNo">就诊卡号
                         </label>
                         <div class="col-md-2 col-sm-2 col-xs-12">
                             <input id="cardNo" class="form-control col-md-7 col-xs-12" type="text" placeholder="患者就诊卡号">
                         </div>
-                        <label class="control-label col-md-1 col-sm-1 col-xs-12" for="name" style="width: 6%;">姓名</label>
+                        <label class="control-label col-md-1 col-sm-1 col-xs-12" for="name"
+                               style="width: 6%;">姓名</label>
                         <div class="col-md-2 col-sm-2 col-xs-12" style="float: left;">
                             <input type="text" class="form-control" id="name" placeholder="患者姓名">
                             <input type="hidden" id="patientId"/>
@@ -50,44 +52,47 @@
                             </select>
                         </div>
                     </div>
-                    <div class="btn-group col-md-4 col-sm-4 col-xs-12" ></div>
+                    <div class="btn-group col-md-4 col-sm-4 col-xs-12"></div>
                     <div class="form-group col-md-8 col-sm-8 col-xs-12">
-                        <div class="col-md-3 col-sm-3 col-xs-12"></div>
-                        <label class="control-label col-md-1 col-sm-1 col-xs-12" for="doctorParam">医生
-                        </label>
-                        <div class="col-md-2 col-sm-2 col-xs-12">
-                            <select class="form-control selectpicker show-tick" data-live-search="true" title="请选择"
-                                    id="doctorParam">
-                            </select>
-                        </div>
-                        <label class="control-label col-md-1 col-sm-1 col-xs-12" for="reportrange"> 处方时间
-                        </label>
-                        <div class="col-md-3 col-sm-3 col-xs-12">
-                            <div id="reportrange" class="pull-right"
-                                 style="background: #fff; cursor: pointer; padding: 5px 10px; border: 1px solid #ccc">
-                                <i class="glyphicon glyphicon-calendar fa fa-calendar"></i>
-                                <span>December 30, 2014 - January 28, 2015</span> <b class="caret"></b>
-                            </div>
-                        </div>
-                        <div class="col-md-1 col-sm-1 col-xs-12" style="text-align:left;">
-                            <button type="button" style="margin-left:20px" id="btn_clean" class="btn btn-primary"
-                                    title="重置"><i class="fa fa-rotate-left"></i>
-                            </button>
-                        </div>
-                        <div class="col-md-1 col-sm-1 col-xs-12" style="text-align:left;">
-                            <button type="button" style="margin-left:3px" id="btn_query" class="btn btn-primary"
-                                    title="查询"><i class="fa fa-search"></i>
-                            </button>
+                        <!--<div class="col-md-3 col-sm-3 col-xs-12"></div>-->
+                    <label class="control-label col-md-1 col-sm-1 col-xs-12" for="doctorParam">医生
+                    </label>
+                    <div class="col-md-2 col-sm-2 col-xs-12">
+                        <select class="form-control selectpicker show-tick" data-live-search="true" title="请选择"
+                                id="doctorParam">
+                        </select>
+                    </div>
+                    <label class="control-label col-md-1 col-sm-1 col-xs-12" for="serialNo">机制号
+                    </label>
+                    <div class="col-md-2 col-sm-2 col-xs-12">
+                        <input id="serialNo" class="form-control col-md-7 col-xs-12" type="text" placeholder="发票机制号">
+                    </div>
+                    <label class="control-label col-md-1 col-sm-1 col-xs-12" for="reportrange"> 处方时间
+                    </label>
+                    <div class="col-md-3 col-sm-3 col-xs-12">
+                        <div id="reportrange" class="pull-right"
+                             style="background: #fff; cursor: pointer; padding: 5px 10px; border: 1px solid #ccc">
+                            <i class="glyphicon glyphicon-calendar fa fa-calendar"></i>
+                            <span>December 30, 2014 - January 28, 2015</span> <b class="caret"></b>
                         </div>
                     </div>
-                </form>
+                    <div class="col-md-1 col-sm-1 col-xs-12" style="text-align:left;">
+                        <button type="button" style="margin-left:20px" id="btn_clean" class="btn btn-primary"
+                                title="重置"><i class="fa fa-rotate-left"></i>
+                        </button>
+                    </div>
+                    <div class="col-md-1 col-sm-1 col-xs-12" style="text-align:left;">
+                        <button type="button" style="margin-left:3px" id="btn_query" class="btn btn-primary"
+                                title="查询"><i class="fa fa-search"></i>
+                        </button>
+                    </div>
             </div>
-            <table id="tb_table"></table>
+            </form>
         </div>
+        <table id="tb_table"></table>
     </div>
 </div>
-
-
+</div>
 
 
 <!--收费弹窗开始-->
@@ -170,7 +175,7 @@
             </div>
             <div class="modal-footer">
                 <!--<div style="float: left;margin-left: 10px;">-->
-                    <!--<input type="checkbox"/>&nbsp;&nbsp;打印-->
+                <!--<input type="checkbox"/>&nbsp;&nbsp;打印-->
                 <!--</div>-->
                 <!--<input type="hidden" id="benYuanJiZhangTimes"/>-->
                 <button type="button" class="btn btn-primary" onclick="saveConfirmFee()">确定</button>
@@ -182,9 +187,6 @@
 <!--收费弹窗结尾-->
 
 
-
-
-
 <!--收费明细弹窗开始-->
 <div class="modal fade bs-example-modal-lg" tabindex="-1" role="dialog" aria-hidden="true" id="chargeDetailModal">
     <div class="modal-dialog modal-lg">
@@ -196,7 +198,7 @@
             </div>
             <div class="modal-body">
                 <form class="form-horizontal form-label-left" novalidate>
-                    <div class="btn-group col-md-4 col-sm-4 col-xs-12" id="bill_item_group" >
+                    <div class="btn-group col-md-4 col-sm-4 col-xs-12" id="bill_item_group">
                         <button class="btn btn-sm btn-primary" type="button" onclick="billItemButtonChange(this)">&nbsp;&nbsp;西成药&nbsp;&nbsp;
                         </button>
                         <button class="btn btn-sm btn-default" type="button" onclick="billItemButtonChange(this)">&nbsp;&nbsp;中草药&nbsp;&nbsp;
@@ -226,7 +228,8 @@
     <div class="modal-dialog modal-sm">
         <div class="modal-content" style="width: 680px;margin-left: -120px;">
             <div class="modal-header">
-                <button type="button" class="close" data-dismiss="modal" onclick="confirmFeeModal(null,null)"><span aria-hidden="true">×</span>
+                <button type="button" class="close" data-dismiss="modal" onclick="confirmFeeModal(null,null)"><span
+                        aria-hidden="true">×</span>
                 </button>
                 <h4 class="modal-title">提示</h4>
             </div>
@@ -264,7 +267,8 @@
     <div class="modal-dialog modal-lg">
         <div class="modal-content" style="width: 980px;">
             <div class="modal-header">
-                <button type="button" class="close" data-dismiss="modal" onclick="confirmFeeModal(null,null)"><span aria-hidden="true">×</span>
+                <button type="button" class="close" data-dismiss="modal" onclick="confirmFeeModal(null,null)"><span
+                        aria-hidden="true">×</span>
                 </button>
                 <h4 class="modal-title">本院记账明细</h4>
             </div>
@@ -275,7 +279,9 @@
             </div>
             <div class="modal-footer">
                 <!--<button type="button" class="btn btn-primary" onclick="confirmFeeModal(true)">收费</button>-->
-                <button type="button" class="btn btn-default" data-dismiss="modal" onclick="confirmFeeModal(null,null)">关闭</button>
+                <button type="button" class="btn btn-default" data-dismiss="modal" onclick="confirmFeeModal(null,null)">
+                    关闭
+                </button>
             </div>
         </div>
     </div>
@@ -321,37 +327,37 @@
 
 <!--打印设置弹窗开始-->
 <!--<div class="modal fade bs-example-modal-sm in" tabindex="-1" role="dialog" aria-hidden="true" id="editPrintModal"-->
-     <!--style="top:20%;">-->
-    <!--<div class="modal-dialog modal-sm">-->
-        <!--<div class="modal-content" style="width: 480px;">-->
-            <!--<div class="modal-header">-->
-                <!--<button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">×</span>-->
-                <!--</button>-->
-                <!--<h4 class="modal-title">打印设置</h4>-->
-            <!--</div>-->
-            <!--<div class="modal-body">-->
-                <!--<form class="form-horizontal form-label-left" novalidate autocomplete="off">-->
-                    <!--<div class="item form-group">-->
-                        <!--<div class="col-md-1 col-sm-1 col-xs-12 item"></div>-->
-                        <!--<div class="col-md-3 col-sm-3 col-xs-12 item">-->
-                            <!--<label class="control-label" for="printSelect">打印机名称 <span-->
-                                    <!--class="required">*</span>-->
-                            <!--</label>-->
-                        <!--</div>-->
-                        <!--<div class="col-md-7 col-sm-7 col-xs-12 item">-->
-                            <!--<select class="form-control selectpicker show-tick" required="required" id="printSelect">-->
-                            <!--</select>-->
-                        <!--</div>-->
-                        <!--<div class="col-md-1 col-sm-1 col-xs-12 item"></div>-->
-                    <!--</div>-->
-                <!--</form>-->
-            <!--</div>-->
-            <!--<div class="modal-footer">-->
-                <!--<button type="button" class="btn btn-primary" onclick="savePrint()">确定</button>-->
-                <!--<button type="button" class="btn btn-default" data-dismiss="modal">取消</button>-->
-            <!--</div>-->
-        <!--</div>-->
-    <!--</div>-->
+<!--style="top:20%;">-->
+<!--<div class="modal-dialog modal-sm">-->
+<!--<div class="modal-content" style="width: 480px;">-->
+<!--<div class="modal-header">-->
+<!--<button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">×</span>-->
+<!--</button>-->
+<!--<h4 class="modal-title">打印设置</h4>-->
+<!--</div>-->
+<!--<div class="modal-body">-->
+<!--<form class="form-horizontal form-label-left" novalidate autocomplete="off">-->
+<!--<div class="item form-group">-->
+<!--<div class="col-md-1 col-sm-1 col-xs-12 item"></div>-->
+<!--<div class="col-md-3 col-sm-3 col-xs-12 item">-->
+<!--<label class="control-label" for="printSelect">打印机名称 <span-->
+<!--class="required">*</span>-->
+<!--</label>-->
+<!--</div>-->
+<!--<div class="col-md-7 col-sm-7 col-xs-12 item">-->
+<!--<select class="form-control selectpicker show-tick" required="required" id="printSelect">-->
+<!--</select>-->
+<!--</div>-->
+<!--<div class="col-md-1 col-sm-1 col-xs-12 item"></div>-->
+<!--</div>-->
+<!--</form>-->
+<!--</div>-->
+<!--<div class="modal-footer">-->
+<!--<button type="button" class="btn btn-primary" onclick="savePrint()">确定</button>-->
+<!--<button type="button" class="btn btn-default" data-dismiss="modal">取消</button>-->
+<!--</div>-->
+<!--</div>-->
+<!--</div>-->
 <!--</div>-->
 <!--打印设置弹窗结尾-->
 
@@ -361,11 +367,12 @@
     <div class="modal-dialog modal-lg">
         <div class="modal-content" style="width: 980px;">
             <div class="modal-header">
-                <button type="button" class="close" onclick="closeRefundFeeDetailModal()"><span aria-hidden="true">×</span>
+                <button type="button" class="close" onclick="closeRefundFeeDetailModal()"><span
+                        aria-hidden="true">×</span>
                 </button>
                 <h4 class="modal-title">费用明细</h4>
             </div>
-            <div class="modal-body" >
+            <div class="modal-body">
                 <form class="form-horizontal form-label-left row pre-scrollable" novalidate>
                     <table id="refund_fee_detail_table"></table>
                     <!--查询退费明细所需条件-->
@@ -393,15 +400,19 @@
                 </button>
                 <h4 class="modal-title">退费重收</h4>
             </div>
-            <div class="modal-body" >
+            <div class="modal-body">
                 <form class="form-horizontal form-label-left" novalidate>
                     <table id="refund_fee_table"></table>
-                    <div class="btn-group col-md-4 col-sm-4 col-xs-12 hide" id="refund_bill_item_group" style="margin-top: 20px;margin-bottom: 20px;">
-                        <button class="btn btn-sm btn-primary" type="button" onclick="refundBillItemButtonChange(this)">&nbsp;&nbsp;西成药&nbsp;&nbsp;
+                    <div class="btn-group col-md-4 col-sm-4 col-xs-12 hide" id="refund_bill_item_group"
+                         style="margin-top: 20px;margin-bottom: 20px;">
+                        <button class="btn btn-sm btn-primary" type="button" onclick="refundBillItemButtonChange(this)">
+                            &nbsp;&nbsp;西成药&nbsp;&nbsp;
                         </button>
-                        <button class="btn btn-sm btn-default" type="button" onclick="refundBillItemButtonChange(this)">&nbsp;&nbsp;中草药&nbsp;&nbsp;
+                        <button class="btn btn-sm btn-default" type="button" onclick="refundBillItemButtonChange(this)">
+                            &nbsp;&nbsp;中草药&nbsp;&nbsp;
                         </button>
-                        <button class="btn btn-sm btn-default" type="button" onclick="refundBillItemButtonChange(this)">&nbsp;&nbsp;诊疗与医技&nbsp;&nbsp;
+                        <button class="btn btn-sm btn-default" type="button" onclick="refundBillItemButtonChange(this)">
+                            &nbsp;&nbsp;诊疗与医技&nbsp;&nbsp;
                         </button>
                     </div>
                     <table id="refund_fee_bill_table"></table>
@@ -415,7 +426,7 @@
 </div>
 <!--退费重收弹窗结尾-->
 
-<object  id="LODOP_OB" classid="clsid:2105C259-1E0C-4534-8141-A753534CB4CA" width=0 height=0>
+<object id="LODOP_OB" classid="clsid:2105C259-1E0C-4534-8141-A753534CB4CA" width=0 height=0>
     <embed id="LODOP_EM" type="application/x-print-lodop" width=0 height=0></embed>
 </object>