diff --git a/src/views/BrokeringQuery.vue b/src/views/BrokeringQuery.vue index 3bf8d3b..67a4bf7 100644 --- a/src/views/BrokeringQuery.vue +++ b/src/views/BrokeringQuery.vue @@ -274,7 +274,7 @@
- + {{ translate("greater than or equal to") }} {{ translate("greater") }} @@ -290,7 +290,16 @@ {{ translate('Shipment threshold check') }} - {{ getFilterValue(inventoryRuleFilterOptions, conditionFilterEnums, "SHIP_THREHOLD").fieldValue || getFilterValue(inventoryRuleFilterOptions, conditionFilterEnums, "SHIP_THREHOLD").fieldValue == 0 ? getFilterValue(inventoryRuleFilterOptions, conditionFilterEnums, "SHIP_THREHOLD").fieldValue : "-" }} +
+ + + + {{ translate("greater than or equal to") }} + {{ translate("greater") }} + + + {{ getFilterValue(inventoryRuleFilterOptions, conditionFilterEnums, "SHIP_THREHOLD").fieldValue || getFilterValue(inventoryRuleFilterOptions, conditionFilterEnums, "SHIP_THREHOLD").fieldValue == 0 ? getFilterValue(inventoryRuleFilterOptions, conditionFilterEnums, "SHIP_THREHOLD").fieldValue : "-" }} +
@@ -461,6 +470,7 @@ let rulesForReorder = ref([]) as any const routeNameRef = ref() const operatorRef = ref() +const operatorThresholdRef = ref() const measurementRef = ref() const ruleNameRef = ref() @@ -1008,8 +1018,8 @@ async function selectValue(id: string, header: string) { return valueAlert.present(); } -function updateOperator(event: CustomEvent) { - getFilterValue(inventoryRuleFilterOptions.value, conditionFilterEnums, "BRK_SAFETY_STOCK").operator = event.detail.value +function updateOperator(event: CustomEvent, enumId: string) { + getFilterValue(inventoryRuleFilterOptions.value, conditionFilterEnums, enumId).operator = event.detail.value updateRule() }