Browse Source

修复bug#3978 【PC端-长处方】续方管理:续方详情审核不通过时,选择原因选中后未显示在框框中。

yezehua 7 years ago
parent
commit
cad34a4ed6
3 changed files with 5 additions and 3 deletions
  1. 2 0
      js/buz/prescription-detail.js
  2. 1 1
      js/util.js
  3. 2 2
      prescription-detail.html

+ 2 - 0
js/buz/prescription-detail.js

@ -28,6 +28,8 @@ $(function(){
    	return "";
    })
    
    template.config("escape", false);
    
    template.helper('getStatusName',function(status) {
    	return getStatusName(status)
    })

+ 1 - 1
js/util.js

@ -98,7 +98,7 @@ function getStatusName(status){
            name = '支付过期';
            break;
        case '-2':
            name = '患者自己取消';
            name = '续方取消(居民主动取消)';
            break;
        case '-1':
            name = '审核不通过';

+ 2 - 2
prescription-detail.html

@ -113,7 +113,7 @@
	        	{{if prescription.status == '31' }}
	        	<table class="c-wp100 c-999">
	            	<tr>
	            		<td>续方状态:<span class="c-333">{{prescription.status | getStatusName}}</span></td>
	            		<td>续方状态:<span class="c-333">{{ prescription.status | setStatus}}</span></td>
	            		<td>失败时间:<span class="c-333">{{prescription.failTime || ''}}</span></td>
	            	</tr>
	            	<tr>
@ -126,7 +126,7 @@
	        	{{else}}
	            <table class="c-wp100 c-999">
	            	<tr>
	            		<td>续方状态:<span class="c-333">{{prescription.status | getStatusName}}</span></td>
	            		<td>续方状态:<span class="c-333">{{ prescription.status | setStatus }}</span></td>
	            	</tr>
	            	<tr>
	            		<td>续方说明:<span class="c-333">{{prescription.reason}}</span></td>