From: marina Date: Fri, 21 Feb 2025 11:32:39 +0000 (+0300) Subject: ERP-302 Редактирование букета X-Git-Url: https://gitweb.erp-flowers.ru/?a=commitdiff_plain;h=084f07f008675abaa8be5442e81e18edf7211ed0;p=erp24_rep%2Fyii-erp24%2F.git ERP-302 Редактирование букета --- diff --git a/erp24/web/js/bouquet/bouquet.js b/erp24/web/js/bouquet/bouquet.js index bf323e9c..5f428dbb 100644 --- a/erp24/web/js/bouquet/bouquet.js +++ b/erp24/web/js/bouquet/bouquet.js @@ -55,6 +55,12 @@ $(document).ready(function () { } }); +$(document).on('click', '.calculate-btn, #w2-add, #w2-remove, .quantity-input', function () { + $('.cost-value').text(''); + $('.selfcost-value').text(''); + $('.markup-value').text(''); +}); + $('.calculate-btn').on('click', function () { let data = [];