|
@@ -11200,9 +11200,9 @@ function printPrescription(patientId, times, clnicId, payMark, printType) {
|
|
|
index++;
|
|
|
}
|
|
|
}
|
|
|
- $("#selfAmountGuideCard").html(0.00);
|
|
|
- $("#fundPayGuideCard").html(0.00);
|
|
|
- $("#acctPayGuideCard").html(0.00);
|
|
|
+ // $("#selfAmountGuideCard").html(0.00);
|
|
|
+ // $("#fundPayGuideCard").html(0.00);
|
|
|
+ // $("#acctPayGuideCard").html(0.00);
|
|
|
$("#payQrcodeGuideCard").empty();
|
|
|
$("#selfPayDetail").empty();
|
|
|
$.ajax({
|
|
@@ -11264,7 +11264,7 @@ function printPrescription(patientId, times, clnicId, payMark, printType) {
|
|
|
var canvas = document.getElementById('erw');
|
|
|
var src = canvas.toDataURL("image/png");
|
|
|
//var strDataURI =canvas.toDataURL("image/png");
|
|
|
- $("#payQrcodeGuideCard").html("<img src='" + src + "' style='width:100px;height:100px;'/><div style='width: 100px;margin-top: 10px;text-align: center;'>微信支付</div>");
|
|
|
+ $("#payQrcodeGuideCard").html("<img src='" + src + "' style='width:100px;height:100px;'/><div style='width: 300px;margin-top: 10px;text-align: center;'>微信支付(全自费请扫此码)</div>");
|
|
|
}
|
|
|
if(!stringIsBlank(res.healthEducationUrl)){
|
|
|
new QRCode(document.getElementById("healthEducationCard"), res.healthEducationUrl); // 设置要生成二维码的链接
|
|
@@ -11273,14 +11273,21 @@ function printPrescription(patientId, times, clnicId, payMark, printType) {
|
|
|
let src = canvas.toDataURL("image/png");
|
|
|
$("#healthEducationCard").html("<img src='" + src + "' style='width:100px;height:100px;'/><div style='width: 100px;margin-top: 10px;text-align: center;'>健康宣教</div>");
|
|
|
}
|
|
|
-
|
|
|
- if (res.fundPay != undefined && res.fundPay != null) {
|
|
|
- $("#fundPayGuideCard").text("¥" + res.fundPay);
|
|
|
- }
|
|
|
- if (res.acctPay != undefined && res.acctPay != null) {
|
|
|
- $("#acctPayGuideCard").text("¥" + res.acctPay);
|
|
|
+ if(!stringIsBlank(res.wxPayQrUrl)){
|
|
|
+ new QRCode(document.getElementById("wxPayQrCard"), res.wxPayQrUrl); // 设置要生成二维码的链接
|
|
|
+ $("canvas").attr("id", "erw");
|
|
|
+ let canvas = document.getElementById('erw');
|
|
|
+ let src = canvas.toDataURL("image/png");
|
|
|
+ $("#wxPayQrCard").html("<img src='" + src + "' style='width:100px;height:100px;'/><div style='width: 500px;margin-top: 5px'>微信支付(含医保统筹请扫此码)</div>");
|
|
|
}
|
|
|
- $("#selfAmountGuideCard").text("¥" + res.selfAmount);
|
|
|
+
|
|
|
+ // if (res.fundPay != undefined && res.fundPay != null) {
|
|
|
+ // $("#fundPayGuideCard").text("¥" + res.fundPay);
|
|
|
+ // }
|
|
|
+ // if (res.acctPay != undefined && res.acctPay != null) {
|
|
|
+ // $("#acctPayGuideCard").text("¥" + res.acctPay);
|
|
|
+ // }
|
|
|
+ // $("#selfAmountGuideCard").text("¥" + res.selfAmount);
|
|
|
$("#totalAmountGuideCard").text("¥" + res.totalAmount);
|
|
|
// $("#imgcode").JsBarcode(patientId);
|
|
|
console.log(patientId);
|