Explorar el Código

增加规格显示

raolu hace 7 años
padre
commit
ea9b23f368
Se han modificado 2 ficheros con 18 adiciones y 16 borrados
  1. 3 1
      js/buz/prescription-adjustment.js
  2. 15 15
      prescription-adjustment.html

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

@ -298,7 +298,8 @@ $(function(){
				$freq = $box.find(".j-selFreq"),
				$date = $box.find(".j-selDate"),
				$sum = $box.find('.j-sumMedicine'),
				$method = $box.find('.j-method');
				$method = $box.find('.j-method'),
				$format = $box.find(".j-format");
			var json = v.json;	
			$box.attr('data-json',json);
			json = JSON.parse(json);
@ -309,6 +310,7 @@ $(function(){
			$freq.val(json.drugRateName||"")
			$freq.attr('data-code', json.drugRate)
			$date.val(json.dayCount||"")
			$format.text(json.drugFormat);
			$sum.text('')
			$method.val('')
			$method.attr('data-code','')

+ 15 - 15
prescription-adjustment.html

@ -148,7 +148,7 @@
		                    </div>
		        		</li>
		        		<li class="fl ml10" style="padding-top: 17px;">规格:
                            <span class="c-909090">{{p.drugFormat}}</span>
                            <span class="c-909090 j-format">{{p.drugFormat}}</span>
                        </li>
		        		<li class="fl ml10 pt10">
		        			次剂量:<i class="icon-jianshao c-vam mr5 noselect"></i> 
@ -252,8 +252,8 @@
		                    </div>
	                    </div>
	        		</li>
	        		<li class="fl pt10">规格:
                        <span></span>
	        		<li class="fl ml10" style="padding-top: 17px;">规格:
                        <span class="c-909090 j-format"></span>
                    </li>
	        		<li class="fl ml10 pt10">
	        			次剂量:<i class="icon-jianshao c-vam mr5 noselect"></i> 
@ -261,20 +261,20 @@
	        			<i class="icon-xinzeng c-vam ml5 noselect"></i>
	        			<span class="j-dose-unit"></span>
	        		</li>
	        		<li class="fl ml10 pt10">天数: 
	        			<div class="c-w140 c-vam c-display-ib">
		        			<div class="input-group ">
		                        <input value="" 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="" 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="" placeholder="请输入频次" type="text" class="form-control j-selFreq form-control c-display-ib c-w120" autocomplete="on">