Bläddra i källkod

导引单打印

zengfanwei 2 veckor sedan
förälder
incheckning
b8baea778c
1 ändrade filer med 7 tillägg och 1 borttagningar
  1. 7 1
      src/main/resources/static/js/mz/clinic.js

+ 7 - 1
src/main/resources/static/js/mz/clinic.js

@@ -13206,7 +13206,7 @@ function printPrescription(patientId, times, clnicId, payMark, printType) {
     });
 }
 
-    function printGuideCard(patientId, times, clnicId, payMark, printType) {
+function printGuideCard(patientId, times, clnicId, payMark, printType) {
     $.ajax({
         type: "GET",
         url: '/thmz/getMzPrescriptionVo?patientId=' + patientId + '&times=' + times + '&MzBlRecordFlag=false&payMark=' + payMark + '&clnicId=' + clnicId,
@@ -13220,6 +13220,12 @@ function printPrescription(patientId, times, clnicId, payMark, printType) {
             }
             if(res.code == 0){
                 var mzPatientMi = res.mzPatientMi;
+                $("#patientIdGuideCard").text(mzPatientMi.patientId);
+                $("#doctorGuideCard").text(res.data.mzBlRecord.doctorName);
+                $("#patientNameGuideCard").text(mzPatientMi.name);
+                $("#patientDateGuideCard").text(format(new Date(), "yyyy/MM/dd/HH:mm"));
+                console.log("mzPatientMi",mzPatientMi);
+                console.log("res",res);
                 $("#payQrcodeGuideCard").empty();
                 $("#selfPayDetail").empty();
                 var strStyle = "<style>table{width: 96%;} table,td,th {}</style>";