]> gitweb.erp-flowers.ru Git - erp24_rep/yii-erp24/.git/commitdiff
[ERP-242] поправка индекса в update.js
authorAlexander Smirnov <fredeom@mail.ru>
Mon, 2 Dec 2024 12:55:53 +0000 (15:55 +0300)
committerAlexander Smirnov <fredeom@mail.ru>
Mon, 2 Dec 2024 12:55:53 +0000 (15:55 +0300)
erp24/web/js/shift-transfer/update.js

index 401cab2e1b29dc28cb5f0b655a37d077fa7c39fa..d8c9171d68f0f7a46528e9e1f3710ef4f7056b6f 100644 (file)
@@ -80,7 +80,7 @@ $(document).ready(() => {
     $('.multiple-input').on('afterInit', function(){
         const rows = $('.multiple-input-list__item');
         for (let currentIndex = 0; currentIndex < rows.length; currentIndex++) {
-            setMultipleInputHandlers(currentIndex, rows[currentIndex]);
+            setMultipleInputHandlers(currentIndex + 1, rows[currentIndex]);
         }
     }).on('afterAddRow', function(e, row, currentIndex) {
         setMultipleInputHandlers(currentIndex, row);