Jelajahi Sumber

解决调整处方后,保存不成功的bug

raolu 7 tahun lalu
induk
melakukan
9447806da7
1 mengubah file dengan 2 tambahan dan 2 penghapusan
  1. 2 2
      js/buz/prescription-adjustment.js

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

@ -187,8 +187,8 @@ $(function(){
				data.drugRate = $box.eq(i).find('.j-selFreq').attr('data-code');
				data.drugRateName = $box.eq(i).find('.j-selFreq').val();
	   		    data.drugFormat=saveData.drugFormat.replace(/\(/,'(').replace(/\)/,')'); 
	   		    data.subjectClass = $box.eq(i).attr('data-class');
	   		    data.isRefrigerate = $box.eq(i).attr('data-storage')==2?1:0;
	   		    data.subjectClass = saveData.subjectClass; //$box.eq(i).attr('data-class');
	   		    data.isRefrigerate = saveData.isRefrigerate==2?1:0 //$box.eq(i).attr('data-storage')==2?1:0;
		 		data.physicAmount = "";
		 		data.physicAmountUnit = saveData.physicAmountUnit;
		 		data.physicAmountUnitName = saveData.physicAmountUnitName;