123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274 |
- <link rel="stylesheet" href="/thmz/css/bootstrap/css/bootstrap-select.css"/>
- <link rel="stylesheet" href="/thmz/css/bootstrap/css/daterangepicker.css"/>
- <link rel="stylesheet" href="/thmz/css/custom.min.css">
- <link rel="stylesheet" href="/thmz/css/toll_administration.css">
- <script src="/thmz/js/dependent/bootstrap-select.js"></script>
- <script src="/thmz/js/dependent/daterangepicker.js"></script>
- <script src="/thmz/js/common/pharmacy-com.js"></script>
- <script src="/thmz/js/common/socket-com.js"></script>
- <script src="/thmz/js/mz/west_pharmacy_dispensing.js"></script>
- <script src="/thmz/js/dependent/LodopFuncs.js"></script>
- <script src="/thmz/js/dependent/JsBarcode.all.js"></script>
- <title>门诊西药房配药</title>
- <div class="row" style="height: calc(100% - 60px);overflow-y: auto;" >
- <div class="col-md-12 col-sm-12 col-xs-12">
- <div class="x_panel" style="background: #EBEBE4;">
- <div style="padding: 15px 15px 0px 15px;">
- <form id="formSearch" class="form-horizontal " autocomplete="off" onsubmit="return false;">
- <div class="form-group">
- <div class="col-md-3 col-sm-3 col-xs-12 item"></div>
- <label class="control-label col-md-1 col-sm-1 col-xs-12" for="patientIdSearch">病人ID
- </label>
- <div class="col-md-2 col-sm-2 col-xs-12">
- <input id="patientIdSearch" class="form-control optional" type="text">
- </div>
- <!--<div class="col-md-3 col-sm-3 col-xs-12 item">
- <label class="control-label col-md-4 col-sm-4 col-xs-12"
- for="printStatusSearch">打印状态</label>
- <div class="col-md-8 col-sm-8 col-xs-12">
- <select class="form-control selectpicker show-tick" required="required" title="请选择"
- id="printStatusSearch">
- <option value="0" selected>未打印</option>
- <option value="1">已打印</option>
- </select>
- </div>
- </div>-->
- <div class="col-md-3 col-sm-3 col-xs-12 item">
- <label class="control-label col-md-4 col-sm-4 col-xs-12"
- for="dispensingStatusSearch">发药状态</label>
- <div class="col-md-8 col-sm-8 col-xs-12">
- <select class="form-control selectpicker show-tick" required="required" title="请选择"
- id="dispensingStatusSearch" onchange="initTable()">
- <option value="0" selected>未发药</option>
- <option value="5">已配药</option>
- <option value="1">已发药</option>
- </select>
- </div>
- </div>
- <div class="col-md-3 col-sm-3 col-xs-12 item">
- <label class="control-label col-md-4 col-sm-4 col-xs-12" for="scanCode">扫码确认配药
- </label>
- <div class="col-md-8 col-sm-8 col-xs-12">
- <input id="scanCode" class="form-control optional" type="text">
- </div>
- </div>
- </div>
- <div class="form-group ">
- <div class="col-md-3 col-sm-3 col-xs-12 item">
- <label>
- 配药单自动打印 <label><input id="autoPrint" name="autoPrint" type="checkbox" value="1"/>处方形式</label>
- <!-- <label><input name="autoPrint" type="radio" value="2" onclick="javascript:return false;"/>药单形式</label> -->
- <label><input id="printType" name="printType" type="checkbox" value="3"/>血透室打印</label>
- </label>
- </div>
- <label class="control-label col-md-1 col-sm-1 col-xs-12" for="nameSearch">姓名
- </label>
- <div class="col-md-2 col-sm-2 col-xs-12">
- <input id="nameSearch" class="form-control optional" type="text">
- </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" style="width: 220px;">
- <div id="reportrange" class="pull-left"
- style="background: #fff; cursor: pointer; padding: 6.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-2 col-sm-2 col-xs-12 item">
- <button type="button" style="margin-left:3px" id="btn_query" class="btn btn-primary"
- title="查询"><i class="fa fa-search"></i>
- </button>
- <button type="button" id="btn_clean" class="btn btn-primary"
- title="重置"><i class="fa fa-rotate-left"></i>
- </button>
- </div>
- </div>
- </form>
- </div>
- <div>
- <table id="prescription_table"></table>
- </div>
- </div>
- <!--打印处方html-->
- <div id="report_table" class="in"
- style="display:none;width:550px;height: 700px;margin:0 auto;border: 1px solid #337ab7;font-size: 16px;padding: 40px 20px 40px 20px;overflow-y: auto; overflow-x:hidden;">
- <div id="print_view" style="position: relative;">
- <div id="report_table_1">
- <h3 style="margin-left: 160px;">泰和医院配药单</h3>
- <div>
- <form>
- <div style="float: left;height: 20px;margin-top: -5px">
- <svg id="cfBarcode"></svg>
- </div>
- <br/>
- <input style="border: 0px;width: 80px;margin-left: 380px;font-size: 17px;font-weight: bold;background-color: white;color: black;" disabled value="" id="drugFlag"/>
- <br/>
- <span style="font-size: 12px;">医疗/医保卡号:</span>
- <input style="border: 0px;width: 150px;background-color: white;color: black;font-size: 12px;" disabled value="" id="ybCardNo"/>
- <span style="margin-left: 10px;font-size: 12px;">处方号:</span>
- <input style="border: 0px;width: 120px;background-color: white;color: black;font-size: 12px;" disabled value="" id="realNo"/>
- <div style="border:1px solid black;width: 470px;"></div>
- <span style="font-size: 12px;margin-bottom: 5px;">姓 名:</span>
- <input style="margin-bottom: 5px;font-size: 12px;border-top: 0px;border-left: 0px;border-right: 0px;border-bottom: 1px solid;width: 70px;background-color: white;color: black;"
- disabled value="" id="name"/>
- <span style="margin-bottom: 5px;margin-left: 20px;font-size: 12px;">性别:</span>
- <input style="margin-bottom: 5px;font-size: 12px;border-top: 0px;border-left: 0px;border-right: 0px;border-bottom: 1px solid;width: 35px;background-color: white;color: black;"
- disabled value="" id="sex"/>
- <span style="margin-bottom: 5px;margin-left: 20px;font-size: 12px;">年龄:</span>
- <input style="margin-bottom: 5px;font-size: 12px;border-top: 0px;border-left: 0px;border-right: 0px;border-bottom: 1px solid;width: 70px;background-color: white;color: black;"
- disabled value="" id="age"/>
- <span style="margin-bottom: 5px;margin-left: 20px;font-size: 12px;">体重(KG):</span>
- <input style="margin-bottom: 5px;font-size: 12px;border-top: 0px;border-left: 0px;border-right: 0px;border-bottom: 1px solid;width: 28px;background-color: white;color: black;"
- disabled value=""/>
- <br/>
- <span style="margin-bottom: 5px;font-size: 12px;">病 历 号:</span>
- <input style="margin-bottom: 5px;font-size: 12px;border-top: 0px;border-left: 0px;border-right: 0px;border-bottom: 1px solid;width: 150px;background-color: white;color: black;"
- disabled value="" id="patientId"/>
- <span style="margin-bottom: 5px;margin-left: 50px;font-size: 12px;">科 别:</span>
- <input style="margin-bottom: 5px;font-size: 12px;border-top: 0px;border-left: 0px;border-right: 0px;border-bottom: 1px solid;width: 154px;background-color: white;color: black;"
- disabled value="" id="warnDeptName"/>
- <br/>
- <span style="margin-bottom: 5px;font-size: 12px;">身份证号:</span>
- <input style="margin-bottom: 5px;font-size: 12px;border-top: 0px;border-left: 0px;border-right: 0px;border-bottom: 1px solid;width: 150px;background-color: white;color: black;"
- disabled value="" id="socialNo"/>
- <span style="margin-bottom: 5px;margin-left: 50px;font-size: 12px;">手机号:</span>
- <input style="margin-bottom: 5px;font-size: 12px;border-top: 0px;border-left: 0px;border-right: 0px;border-bottom: 1px solid;width: 152px;background-color: white;color: black;"
- disabled value="" id="phoneNo"/>
- <br/>
- <span style="margin-bottom: 5px;font-size: 12px;">临床诊断:</span>
- <input style="margin-bottom: 5px;font-size: 12px;border-top: 0px;border-left: 0px;border-right: 0px;border-bottom: 1px solid;width: 242px;background-color: white;color: black;"
- disabled value="" id="icdText"/>
- <span style="margin-bottom: 5px;margin-left: 5px;font-size: 12px;">日期:</span>
- <input style="margin-bottom: 5px;font-size: 12px;border-top: 0px;border-left: 0px;border-right: 0px;border-bottom: 1px solid;width: 117px;background-color: white;color: black;" disabled value="" id="priceTime"/><br/>
- <span style="font-weight: bold;font-size: 20px;">Rp</span>
- </form>
- </div>
- <div id="div_yp">
- <table class="table table-striped table-bordered" >
- <tbody id="tbody_yp">
- </tbody>
- </table>
- </div>
- <div id="zbr_div" style="position: absolute;top:670px; ">
- <div style="margin-bottom: 5px;margin-top: 10px;"><span style="font-size: 12px;">医师(签章):</span>
- <input style="font-size: 12px;border-top: 0px;border-left: 0px;border-right: 0px;border-bottom: 1px solid;width: 190px;background-color: white;color: black;"
- disabled value="" id="employeeName"/>
- <span style="margin-bottom: 5px;margin-left: 50px;font-size: 12px;">药品金额:</span>
- <input style="margin-bottom: 5px;font-size: 12px;border-top: 0px;border-left: 0px;border-right: 0px;border-bottom: 1px solid;width: 70px;background-color: white;color: black;"
- disabled value="" id="totalPrice"/>
- </div>
- </div>
- </div>
- </div>
- </div>
- <!--打印处方html end-->
- <!--打印药单html-->
- <div id="report_table_list" class="in"
- style="display: none;width:1300px;margin:0 auto;border: 1px solid #337ab7;font-size: 16px;padding: 40px 20px 40px 20px;overflow-y: auto; overflow-x:hidden;">
- <div id="print_view_list" style="position: relative;">
- <table id="yddy_table" class="table table-striped table-bordered" style="margin-top: 0px;border: none;">
- <tr style="font-weight: 700;background-color: #EBEBE4">
- <td colspan="9" style="font-size: 18px;text-align: center;border: transparent !important;"><span class="title">泰和医院配药单</span></td>
- </tr>
- <tr>
- <td colspan="9" style="border: transparent !important; height: 20px;margin-top: -5px; text-align: center;">
- <svg id="ydBarcode" height="20"></svg>
- </td>
- </tr>
- <tr style="font-weight: 700;background-color: #EBEBE4">
- <td colspan="2" style="text-align: left;border: transparent !important;">姓名:<span class="name"></span></td>
- <td colspan="2" style="text-align: left;border: transparent !important;">性别:<span class="sex"></span></td>
- <td colspan="1" style="text-align: left;border: transparent !important;">年龄:<span class="age"></span></td>
- <td colspan="3" style="text-align: left;border: transparent !important;">打印时间:<span class="printDate"></span></td>
- </tr>
- <tr style="font-weight: 700;background-color: #EBEBE4">
- <td colspan="2" style="text-align: left;border: transparent !important;">科室:<span class="warnDeptName"></span></td>
- <td colspan="2" style="text-align: left;border: transparent !important;">医生:<span class="employeeName"></span></td>
- <td colspan="3" style="text-align: left;border: transparent !important;">诊断:<span class="icdText"></span></td>
- </tr>
- <tr style="font-weight: 700;background-color: #EBEBE4">
- <td colspan="2" style="text-align: left;border: transparent !important;">门诊号:<span class="patientId"></span></td>
- <td colspan="2" style="text-align: left;border: transparent !important;">流水号:<span class="realNo"></span></td>
- <td colspan="2" style="text-align: left;border: transparent !important;">处方号:<span class="orderNo"></span></td>
- </tr>
- <tr>
- <td class="xtd" style="text-align: center;width: 100px;">货位号</td>
- <td class="xtd" style="text-align: center;width: 150px;">品名</td>
- <td class="xtd" style="text-align: center;width: 120px;">规格</td>
- <td class="xtd" style="text-align: center;width: 60px;">数量</td>
- <td class="xtd" style="text-align: center;width: 150px;">生产厂家</td>
- <td class="xtd" style="text-align: center;width: 120px;">给药方式</td>
- <td class="xtd" style="text-align: center;width: 120px;">当前库存</td>
- </tr>
- </table>
- </div>
- </div>
- <!--打印药单html end-->
- </div>
- </div>
- <!--处方详细弹窗开始-->
- <div class="modal fade bs-example-modal-sm in" tabindex="-1" role="dialog" aria-hidden="true" id="cfxxModal">
- <div class="modal-dialog modal-sm">
- <div class="modal-content" style="width: 980px;margin-left: -300px;">
- <div class="modal-header">
- <button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">×</span>
- </button>
- <h4 class="modal-title modal-title-thmz">处方详细</h4>
- </div>
- <div class="modal-body">
- <input type="text" id="barCode" style="opacity: 0.01">
- <div class="row">
- <div class="col-md-12 col-sm-12 col-xs-12">
- <form id="fyform" class="form-horizontal" autocomplete="off">
- <div class="form-group" style="padding-top: 10px;">
- <label class="control-label col-md-1 col-sm-1 col-xs-12" for="employeeNameLabel">医生:
- </label>
- <div class="col-md-2 col-sm-2 col-xs-12">
- <input id="employeeNameLabel" class="form-control optional" type="text"
- style="border-style: none;box-shadow: 0px 0px 0px 0px;">
- </div>
- <label class="control-label col-md-1 col-sm-1 col-xs-12" for="warnDeptNameLabel">科室:
- </label>
- <div class="col-md-2 col-sm-2 col-xs-12">
- <input id="warnDeptNameLabel" class="form-control optional" type="text"
- style="border-style: none;box-shadow: 0px 0px 0px 0px;">
- </div>
- <label class="control-label col-md-2 col-sm-2 col-xs-12" for="chargeDateLabel">收费时间:
- </label>
- <div class="col-md-3 col-sm-3 col-xs-12">
- <input id="chargeDateLabel" class="form-control optional" type="text"
- style="border-style: none;box-shadow: 0px 0px 0px 0px;">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-md-1 col-sm-1 col-xs-12" for="icdTextLabel">诊断:
- </label>
- <div class="col-md-11 col-sm-11 col-xs-12">
- <input id="icdTextLabel" class="form-control optional" type="text"
- style="border-style: none;box-shadow: 0px 0px 0px 0px;">
- </div>
- </div>
- </form>
- <table id="tb_table_detail"
- style="overflow: hidden;text-overflow: ellipsis;white-space: nowrap;"></table>
- </div>
- </div>
- </div>
- <div class="modal-footer">
- <button type="button" class="btn btn-primary" id="btn_save_manu" onclick="saveManuNo()">保存批次</button>
- <button type="button" class="btn btn-default" data-dismiss="modal">取消</button>
- </div>
- </div>
- </div>
- </div>
- <!--处方详细弹窗结尾-->
- <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>
|