From 531c6cd26652d7352bebbd436a948b60d8ac17df Mon Sep 17 00:00:00 2001 From: Chika Date: Mon, 5 Sep 2022 14:24:28 +0300 Subject: [PATCH] =?UTF-8?q?reactions:=20=D0=BF=D1=80=D0=BE=D0=B2=D0=B5?= =?UTF-8?q?=D1=80=D0=BA=D0=B0=20vin.=20=D1=82=D1=80=D0=B8=D0=B3=D0=B3?= =?UTF-8?q?=D0=B5=D1=80=D1=8B:=20vin,=20leaseObjectCategory,=20leaseObject?= =?UTF-8?q?Used?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/client/process/used-pl/reactions.ts | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/src/client/process/used-pl/reactions.ts b/src/client/process/used-pl/reactions.ts index bd9f5b2..462b881 100644 --- a/src/client/process/used-pl/reactions.ts +++ b/src/client/process/used-pl/reactions.ts @@ -345,9 +345,15 @@ export default function ($calculation: ICalculationStore) { reaction( () => { - return $calculation.getValue('vin'); + return { + ...$calculation.getValues([ + 'vin', + 'leaseObjectCategory', + 'leaseObjectUsed', + ]), + }; }, - vin => { + ({ vin }) => { if ($calculation.getValue('leaseObjectCategory')) { $calculation.setValidation( 'tbxVIN',