|
@@ -2388,12 +2388,12 @@ function getXyPrintHtml(list) {
|
|
|
if(list[i].paySelf == 1 || list[i].ybZfFlag == 1){
|
|
|
continue
|
|
|
}
|
|
|
- if (list[i].tryResult == 0) {
|
|
|
- tryResult = '(—)';
|
|
|
- } else if (list[i].psFlag == 1 && list[i].tryFlag == 0) {//药品需要皮试,处方未点需要皮试
|
|
|
+ if (list[i].tryResult !== null && list[i].tryResult.trim() === '0') {
|
|
|
+ tryResult = '(阴性)';
|
|
|
+ } else if (list[i].psFlag === '1' && list[i].tryFlag === '0') {//药品需要皮试,处方未点需要皮试
|
|
|
tryResult = '<span style="color: red">(免试)</span>';
|
|
|
}
|
|
|
- if (list[i].tryFlag == 1) {
|
|
|
+ if (list[i].tryFlag === '1') {
|
|
|
tryFlag = '<span style="color: red">(需皮试)</span>';
|
|
|
}
|
|
|
var number = i + 1;
|