From 5eecfb3e973d54fab7a60139a9922c15ffb6b007 Mon Sep 17 00:00:00 2001 From: John Cardinal Date: Sun, 7 Mar 2021 16:17:00 +0000 Subject: [PATCH] --- ayanova/devdocs/todo.txt | 1 - ayanova/src/components/duration-control.vue | 4 +++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/ayanova/devdocs/todo.txt b/ayanova/devdocs/todo.txt index 93319a5e..34a576ba 100644 --- a/ayanova/devdocs/todo.txt +++ b/ayanova/devdocs/todo.txt @@ -38,7 +38,6 @@ todo: BUGBUG delete all tags from customer, go back in and zone2 appears for som todo: v8migrate tax codes convert to pct currently wrongly using fractional value (i.e. multiply by 100) - todo: NOT import PO's unless they are current, active and unreceived todo: erase database should reset all id values if they aren't reset already so that future data doesn't result in a new PO starting at 29000 due to huge db trial seed prior diff --git a/ayanova/src/components/duration-control.vue b/ayanova/src/components/duration-control.vue index 9c0dc666..7b7fb074 100644 --- a/ayanova/src/components/duration-control.vue +++ b/ayanova/src/components/duration-control.vue @@ -152,7 +152,9 @@ export default { //{"data":{"testTSDaysWMS":"22.10:15:22.0330000","testTSHMS":"05:16:33","testTS_DHMS":"5.10:15:33","testTS_MS":"00:15:33","testTS_S":"00:00:33","testTS_D":"22.00:00:00"}} // DD.HH:MM:SS.ms let ret = ""; - let vm = this; + //NOTE: even though a user may type a text value into the input, because it's set to "Number" + //it always has a value of zero if it's not a digit even though the user typed Q for example (firefox at least) + //so no parsing here to handle weird entries is required AFAICT let daysValue = this.$refs.daysPicker.$refs.input.value || 0; let hoursValue = this.$refs.hoursPicker.$refs.input.value || 0; let minutesValue = this.$refs.minutesPicker.$refs.input.value || 0;