Explorar el Código

修复住院药单打印执行医嘱时间问题

hsh hace 1 año
padre
commit
2d87280fcd
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2 2
      src/main/resources/static/js/yf/ward_prescription.js

+ 2 - 2
src/main/resources/static/js/yf/ward_prescription.js

@@ -1485,8 +1485,8 @@ function printDetailHtml(dataArr, flag) {
             $(".kfmxtd").show();
             $(".yjmxtd").hide();
             $(".gyfs").hide();
-            if (minOccTime == '' || minOccTime > data.occTime) {
-                minOccTime = data.occTime
+            if (minOccTime == '' || minOccTime > format(data.performanceTime, "yyyy-MM-dd HH:mm:ss")) {
+                minOccTime = format(data.performanceTime, "yyyy-MM-dd HH:mm:ss")
             }
             html += '<td class="xtd" style="text-align: center;">' + data.frequCode + '</td>';
             html += '<td class="xtd" style="text-align: center;">' + data.dose + '</td>';