From c0a5ddd7c46afdea819f4e56d486bb02042f09ae Mon Sep 17 00:00:00 2001 From: amansinghbais Date: Tue, 23 Jul 2024 11:19:04 +0530 Subject: [PATCH] Improved: logic for generating and fetching certain rule condition template (#363) --- src/components/RuleItem.vue | 28 +++++++++++------------ src/utils/index.ts | 25 ++++++++------------ src/views/CreateUpdateSafetyStockRule.vue | 6 ++--- src/views/CreateUpdateShippingRule.vue | 6 ++--- src/views/CreateUpdateStorePickupRule.vue | 6 ++--- src/views/CreateUpdateThresholdRule.vue | 2 +- 6 files changed, 34 insertions(+), 39 deletions(-) diff --git a/src/components/RuleItem.vue b/src/components/RuleItem.vue index 77d12f6e..d9f54444 100644 --- a/src/components/RuleItem.vue +++ b/src/components/RuleItem.vue @@ -48,41 +48,41 @@ {{ translate("Facilities") }} - + - {{ getRuleConditions("ENTCT_ATP_FAC_GROUPS", "facilityGroupId", "in") }} + {{ getRuleConditions("ENTCT_ATP_FAC_GROUPS", "facilityGroupId", "contains") }} - + - {{ getRuleConditions("ENTCT_ATP_FAC_GROUPS", "facilityGroupId", "not-in") }} + {{ getRuleConditions("ENTCT_ATP_FAC_GROUPS", "facilityGroupId", "not-contains") }}