Pārlūkot izejas kodu

调整处方页面的bug解决

raolu 7 gadi atpakaļ
vecāks
revīzija
8e6437cbf0
2 mainītis faili ar 19 papildinājumiem un 13 dzēšanām
  1. 1 1
      js/buz/prescription-adjustment.js
  2. 18 12
      prescription-adjustment.html

+ 1 - 1
js/buz/prescription-adjustment.js

@ -438,7 +438,7 @@ $(function(){
								$box.attr('data-class',msg.subjectClass);
								
								if(!msg.dispPackUntuckFlag && !msg.dispQuantityUntuckFlag){
                                    sum = Math.ceil((Math.ceil(single / $info.minDose) * rate * date)/msg.packSpec)
                                    sum = Math.ceil((Math.ceil(single / msg.minDose) * rate * date)/msg.packSpec)
                                    
                                    $sum.text(sum + msg.packUnitName)
                                    $sum.attr('data-num', sum * msg.packSpec)

+ 18 - 12
prescription-adjustment.html

@ -147,26 +147,29 @@
			                    </div>
		                    </div>
		        		</li>
		        		<li class="fl ml10" style="padding-top: 17px;">规格:
                            <span class="c-909090">{{p.drugFormat}}</span>
                        </li>
		        		<li class="fl ml10 pt10">
		        			次剂量:<i class="icon-jianshao c-vam mr5 noselect"></i> 
		        			<input value="{{p.physicDose}}" type="text" placeholder="" class="j-medi-single form-control c-w80 c-display-ib c-vam">
		        			<i class="icon-xinzeng c-vam ml5 noselect"></i>
		        			<span class="j-dose-unit" data-unit="{{p.physicDoseUnit}}">{{p.physicDoseUnitName}}</span>
		        		</li>
		        		<li class="fl ml10 pt10">天数:
		        			<div class="c-w140 c-vam c-display-ib">
			        			<div class="input-group ">
			                        <input value="{{p.dayCount}}" placeholder="请输入药品天数" type="text" class="j-selDate form-control c-display-ib c-w120" autocomplete="on">
			                        <div class="input-group-btn">
			                            <ul class="dropdown-menu dropdown-menu-right" role="menu"></ul>
			                        </div>
			                        <!-- /btn-group -->
			                    </div>
		                    </div>
		        		</li>
		        	</ul>
		        	<ul class="clearfix">
		        		<li class="fl">频次:
		        	    <li class="fl">天数:
                            <div class="c-w140 c-vam c-display-ib">
                                <div class="input-group ">
                                    <input value="{{p.dayCount}}" placeholder="请输入药品天数" type="text" class="j-selDate form-control c-display-ib c-w120" autocomplete="on">
                                    <div class="input-group-btn">
                                        <ul class="dropdown-menu dropdown-menu-right" role="menu"></ul>
                                    </div>
                                    <!-- /btn-group -->
                                </div>
                            </div>
                        </li>
		        		<li class="fl ml10">频次:
		        			<div class="c-w120 c-vam c-display-ib">
			        			<div class="input-group ">
			                        <input value="{{p.drugRateName}}" data-code="{{p.drugRate}}" placeholder="请输入频次" type="text" class="form-control j-selFreq form-control c-display-ib c-w120" autocomplete="on">
@ -249,6 +252,9 @@
		                    </div>
	                    </div>
	        		</li>
	        		<li class="fl pt10">规格:
                        <span></span>
                    </li>
	        		<li class="fl ml10 pt10">
	        			次剂量:<i class="icon-jianshao c-vam mr5 noselect"></i> 
	        			<input type="text" placeholder="" class="j-medi-single form-control c-w80 c-display-ib c-vam">