|
@@ -101,8 +101,8 @@
|
|
|
<script>
|
|
|
const auditors = JSON.parse('<%- JSON.stringify(auditors) %>');
|
|
|
const curAuditor = JSON.parse('<%- JSON.stringify(ctx.material.curAuditor) %>');
|
|
|
- const materialStatus = '<%- ctx.material.status %>';
|
|
|
- const materialUid = '<%- ctx.material.user_id %>';
|
|
|
+ const materialStatus = parseInt('<%- ctx.material.status %>');
|
|
|
+ const materialUid = parseInt('<%- ctx.material.user_id %>');
|
|
|
const auditConst = JSON.parse('<%- JSON.stringify(auditConst) %>');
|
|
|
const tid = '<%- ctx.tender.id %>';
|
|
|
const mid = '<%- ctx.material.id %>';
|