From 5e977ec6495ef60425ed7d2df052ebcd44b346b1 Mon Sep 17 00:00:00 2001 From: vchikalkin Date: Wed, 11 Jan 2023 15:41:13 +0300 Subject: [PATCH] =?UTF-8?q?=D0=BD=D0=B0=20=D0=B2=D1=8B=D0=B1=D0=BE=D1=80?= =?UTF-8?q?=20=D0=AE=D0=9B=20=D0=BF=D0=BE=D1=81=D1=82=D0=B0=D0=B2=D1=89?= =?UTF-8?q?=D0=B8=D0=BA=D0=B0=20selectDealerPerson=20=D0=B5=D1=81=D0=BB?= =?UTF-8?q?=D0=B8=20dealerPerson.evo=5Fbroker=5Faccountid=20=D1=81=D0=BE?= =?UTF-8?q?=D0=B4=D0=B5=D1=80=D0=B6=D0=B8=D1=82=20=D0=B4=D0=B0=D0=BD=D0=BD?= =?UTF-8?q?=D1=8B=D0=B5,=20=D1=82=D0=BE=20=D0=B2=20=D0=BF=D0=BE=D0=BB?= =?UTF-8?q?=D0=B5=20selectDealerBroker=20=D1=84=D0=BE=D1=80=D0=BC=D0=B8?= =?UTF-8?q?=D1=80=D1=83=D0=B5=D0=BC=20=D1=81=D0=BF=D0=B8=D1=81=D0=BE=D0=BA?= =?UTF-8?q?=20=D0=B8=D0=B7=20=D0=BA=D0=BE=D0=BD=D1=82=D1=80=D0=B0=D0=B3?= =?UTF-8?q?=D0=B5=D0=BD=D1=82=D0=B0=20=D0=B8=D0=B7=20=D0=BF=D0=BE=D0=BB?= =?UTF-8?q?=D1=8F=20evo=5Fbroker=5Faccountid=20=D0=B8=20=D0=B5=D0=B3=D0=BE?= =?UTF-8?q?=20=D0=B6=D0=B5=20=D1=82=D1=83=D1=82=20=D1=83=D0=BA=D0=B0=D0=B7?= =?UTF-8?q?=D1=8B=D0=B2=D0=B0=D0=B5=D0=BC,=20=D0=B8=D0=BD=D0=B0=D1=87?= =?UTF-8?q?=D0=B5=20selectDealerBroker=20=D0=BF=D1=83=D1=81=D1=82=D0=BE?= =?UTF-8?q?=D0=B5=20=D1=82=D0=B5=D1=81=D1=8208.11=20-=201)=20=D0=B5=D1=81?= =?UTF-8?q?=D0=BB=D0=B8=20=D0=BE=D0=B1=D0=BD=D1=83=D0=BB=D1=8F=D1=8E=20?= =?UTF-8?q?=D0=B2=D1=80=D1=83=D1=87=D0=BD=D1=83=D1=8E=20dealerPerson,=20?= =?UTF-8?q?=D1=82=D0=BE=20selectDealerBroker=20=D0=BD=D0=B5=20=D1=81=D0=B1?= =?UTF-8?q?=D1=80=D0=B0=D1=82=D1=8B=D0=B2=D0=B0=D0=B5=D1=82=D1=81=D1=8F,?= =?UTF-8?q?=20=D0=B0=20=D0=B2=D0=BE=D1=82=20=D0=B5=D1=81=D0=BB=D0=B8=20?= =?UTF-8?q?=D0=BC=D0=B5=D0=BD=D1=8F=D1=8E=20dealer=20=D0=B8=20=D0=BE=D0=B1?= =?UTF-8?q?=D0=BD=D0=BE=D0=B2=D0=BB=D1=8F=D0=B5=D1=82=D1=81=D1=8F=20dealer?= =?UTF-8?q?Person,=20=D1=82=D0=BE=20selectDealerBroker=20=D0=BF=D0=B5?= =?UTF-8?q?=D1=80=D0=B5=D0=B7=D0=B0=D0=BF=D0=B8=D1=81=D1=8B=D0=B2=D0=B0?= =?UTF-8?q?=D0=B5=D1=82=D1=81=D1=8F=20=D0=B8=D0=BB=D0=B8=20=D1=81=D0=B1?= =?UTF-8?q?=D1=80=D0=B0=D1=81=D1=8B=D0=B2=D0=B0=D0=B5=D1=82=D1=81=D1=8F=20?= =?UTF-8?q?=D0=BA=D0=B0=D0=BA=20=D0=BD=D0=B0=D0=B4=D0=BE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/web/process/supplier-agent/reactions/supplier.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/apps/web/process/supplier-agent/reactions/supplier.ts b/apps/web/process/supplier-agent/reactions/supplier.ts index 9d702f4..3f871be 100644 --- a/apps/web/process/supplier-agent/reactions/supplier.ts +++ b/apps/web/process/supplier-agent/reactions/supplier.ts @@ -38,7 +38,6 @@ export function commonReactions({ store, apolloClient }: ReactionsContext) { async (dealerId) => { if (!dealerId) { $calculation.element('selectDealerPerson').reset(); - $calculation.element('selectDealerBroker').reset(); return; } @@ -107,6 +106,8 @@ export function commonReactions({ store, apolloClient }: ReactionsContext) { () => $calculation.element('selectDealerPerson').getValue(), async (dealerPersonId) => { if (!dealerPersonId) { + $calculation.element('selectDealerBroker').reset(); + return; }