Fix resetDealCloseModal

This commit is contained in:
mac 2026-07-08 13:39:38 +03:00
parent 58014baf2f
commit 58de5ec29a
2 changed files with 4 additions and 2 deletions

View File

@ -503,9 +503,8 @@ var ac = new Vue({
.catch(function() { callback(); });
};
resetDealCloseModal();
if (typeof resetDealCloseModal === 'function') resetDealCloseModal();
loadDealData(function() {
$("#del_client_bg").fadeIn(500);
$("#del_client").toggle(10);
$("#del_client").find('input[name="id_funnel_client"]').val(ac.step.funnel_id);

View File

@ -4171,6 +4171,9 @@ $(document).ready(function() {
if (typeof resetDealCloseModal === 'function') resetDealCloseModal();
// Сбрасываем id_funnel_client — при открытии через крестик это НЕ этап воронки
$('#del_client input[name=id_funnel_client]').val(0);
// Загружаем данные сделки для отображения информации
$.ajax({
url: '/ajax/ajax_vue_requisitions.php',