|
@@ -68,8 +68,11 @@
|
|
|
const tenderId = parseInt('<%- ctx.tender.id %>');
|
|
|
const detailId = parseInt('<%- ctx.detail.id %>');
|
|
|
const rptAudit = JSON.parse(unescape('<%- escape(JSON.stringify(rptAudit)) %>'));
|
|
|
- console.log(rptAudit);
|
|
|
- <% if (ctx.detail.status !== auditConst.status.checked && rptAudit) { %>
|
|
|
+ <% if (rptAudit &&
|
|
|
+ ((ctx.detail.status !== auditConst.status.checkNo && ctx.detail.status !== auditConst.status.checked) ||
|
|
|
+ (ctx.detail.status === auditConst.status.checked && !nextDetail) ||
|
|
|
+ (ctx.detail.status === auditConst.status.checkNo && ctx.detail.uid === ctx.session.sessionUser.accountId))
|
|
|
+ ) { %>
|
|
|
let currentStamp = JSON.parse(unescape('<%- escape(JSON.stringify(currentStamp)) %>'));
|
|
|
<% } %>
|
|
|
let tesRpttData = JSON.parse(unescape('<%- escape(JSON.stringify(report_json)) %>'));
|
|
@@ -192,7 +195,7 @@
|
|
|
sessionStorage.OSS_PATH = OSS_PATH;
|
|
|
window.open('/printReport/A4');
|
|
|
},
|
|
|
-
|
|
|
+
|
|
|
_getPdfFontCallback: function(fontProperty) {
|
|
|
let me = auditRptPrintHelper;
|
|
|
if (rptTplObj.pdfFont['SmartSimsun'].indexOf(fontProperty) < 0) {
|