From: marina Date: Tue, 17 Jun 2025 08:48:55 +0000 (+0300) Subject: ERP-360 Сборка страницы автопм X-Git-Url: https://gitweb.erp-flowers.ru/?a=commitdiff_plain;h=d219f79dc71de142299fd0a02237c12ef1df8223;p=erp24_rep%2Fyii-erp24%2F.git ERP-360 Сборка страницы автопм --- diff --git a/erp24/views/auto-plannogramma/index.php b/erp24/views/auto-plannogramma/index.php index 797bfca4..abccadb6 100644 --- a/erp24/views/auto-plannogramma/index.php +++ b/erp24/views/auto-plannogramma/index.php @@ -174,7 +174,8 @@ $this->registerJsFile('/js/autoplannogramma/autoplannogramma.js', ['position' => - 'label-year-week']) ?>
+ 'label-year']) ?>
+ 'label-week']) ?>
'label-month-range']) ?>
'label-capacity-type']) ?>
'label-city']) ?>
diff --git a/erp24/web/js/autoplannogramma/autoplannogramma.js b/erp24/web/js/autoplannogramma/autoplannogramma.js index 6f46f7e9..cab6cf97 100644 --- a/erp24/web/js/autoplannogramma/autoplannogramma.js +++ b/erp24/web/js/autoplannogramma/autoplannogramma.js @@ -228,7 +228,8 @@ function getSelectedText(selector) { } function updateFilterLabels(data) { - $('.label-year-week').text(`год: ${data.year || ''} неделя: ${data.week || ''}`); + $('.label-year').text(`год: ${data.year || ''}`); + $('.label-week').text(`неделя: ${data.week || ''}`); $('.label-month-range').text(`Месяц: ${getMonthByWeek($('#week').val(), $('#year').val()) || ''}`); $('.month-label').text(`Месяц: ${getMonthByWeek($('#week').val(), $('#year').val()) || ''}`); $('.label-capacity-type').text('Тип п-ма: ' + getSelectedText('#polnogramma-type'));