This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
<span class="v-label theme--light ">
|
||||
{{ label }}
|
||||
</span>
|
||||
<template v-if="!readonly">
|
||||
<template>
|
||||
<v-row class="my-n5">
|
||||
<v-col cols="3">
|
||||
<v-text-field
|
||||
@@ -57,14 +57,7 @@
|
||||
</v-col>
|
||||
</v-row>
|
||||
</template>
|
||||
<template v-else>
|
||||
<v-text-field
|
||||
:value="readonlyFormat()"
|
||||
:label="label"
|
||||
readonly
|
||||
disabled
|
||||
></v-text-field>
|
||||
</template>
|
||||
|
||||
<p v-show="error" class="form__error v-messages theme--light error--text">
|
||||
{{ error }}
|
||||
</p>
|
||||
@@ -153,14 +146,6 @@ export default {
|
||||
}
|
||||
return ret;
|
||||
},
|
||||
readonlyFormat() {
|
||||
return window.$gz.locale.utcDateToShortDateLocalized(
|
||||
this.internalValue,
|
||||
this.timeZoneName,
|
||||
this.languageName,
|
||||
this.hour12
|
||||
);
|
||||
},
|
||||
updateSpan() {
|
||||
//{"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
|
||||
|
||||
Reference in New Issue
Block a user