Ver código fonte

解决bug4130 【PC端-长处方】续方管理:pc上调整处方后进行审核都提示开方失败。
调整处方的时候,没有保存剂量单位

raolu 7 anos atrás
pai
commit
1a435c49fc
2 arquivos alterados com 3 adições e 2 exclusões
  1. 2 1
      js/buz/prescription-adjustment.js
  2. 1 1
      prescription-adjustment.html

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

@ -300,7 +300,8 @@ $(function(){
				$sum = $box.find('.j-sumMedicine'),
				$method = $box.find('.j-method');
			var json = v.json;	
			$box.attr('data-json',json)
			$box.attr('data-json',json);
			json = JSON.parse(json);
			$single.val(json.physicDose)
			$single.attr('data-code', json.physicDoseUnit)
			$doseUnit.text(json.physicDoseUnitName)

+ 1 - 1
prescription-adjustment.html

@ -151,7 +151,7 @@
		        			次剂量:<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">{{p.physicDoseUnitName}}</span>
		        			<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">