Pārlūkot izejas kodu

优化门诊指引单

hurugang 2 gadi atpakaļ
vecāks
revīzija
ccf8563b19

+ 1 - 1
src/main/java/cn/hnthyy/thmz/controller/mz/MzChargeDetailController.java

@@ -2079,7 +2079,7 @@ public class MzChargeDetailController {
                         return results;
                     }
                 }
-                totalAmount = totalAmount.setScale(1, BigDecimal.ROUND_HALF_UP);
+                totalAmount = totalAmount.setScale(2, BigDecimal.ROUND_HALF_UP);
                 BigDecimal selfAmount = totalAmount;
                 User tokenUser = TokenUtil.getUser(httpServletRequest);
                 PayInfo payInfo = tsmzService.uploadFees(tokenUser.getUserIdCode(), patientId, times, receiptNo);

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

@@ -10717,7 +10717,7 @@ function printPrescription(patientId, times, clnicId, payMark, printType) {
                                 if (res.data != null && res.data.length > 0) {
                                     var html = "";
                                     for (var i = 0; i < res.data.length; i++) {
-                                        html += "<tr><td>" + res.data[i].itemType + "</td><td>" + Division(res.data[i].itemTotalFee, 1).toFixed(1) + "</td><td>" + res.data[i].execDeptName + "</td><td>" + res.data[i].execDeptAddress + "</td></tr>"
+                                        html += "<tr><td>" + res.data[i].itemType + "</td><td>" + Division(res.data[i].itemTotalFee, 1) + "</td><td>" + res.data[i].execDeptName + "</td><td>" + res.data[i].execDeptAddress + "</td></tr>"
                                     }
                                     $("#guideCardDetail").html(html);
                                 }