ellisran 1 день назад
Родитель
Сommit
bd244bf9b5
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      app/view/change/information.ejs

+ 2 - 2
app/view/change/information.ejs

@@ -561,8 +561,8 @@
     const tenderName = JSON.parse(unescape('<%- escape(JSON.stringify(tender.data.name)) %>'));
     const tenderId = '<%- tender.id %>';
     const deleteFilePermission = <%- deleteFilePermission %>;
-    const totalPriceUnit = '<%- tpUnit %>';
-    const unitPriceUnit = '<%- upUnit %>';
+    const totalPriceUnit = parseInt('<%- tpUnit %>', 10);
+    const unitPriceUnit = parseInt('<%- upUnit %>', 10);
     const accountId = parseInt('<%- ctx.session.sessionUser.accountId %>');
     const ledgeStatus = '<%- tender.ledger_status %>';
     const ledgerConsts = JSON.parse('<%- JSON.stringify(ledgerConsts) %>');