This commit is contained in:
@@ -54,42 +54,11 @@
|
||||
<gz-date-picker label="TESTStartDate" v-model="obj.startDate"></gz-date-picker>
|
||||
</v-flex>
|
||||
|
||||
<!-- <v-flex xs12 sm6 lg4 xl3 px-2>
|
||||
<v-menu
|
||||
v-model="menu2"
|
||||
:close-on-content-click="false"
|
||||
:nudge-right="40"
|
||||
lazy
|
||||
transition="scale-transition"
|
||||
offset-y
|
||||
full-width
|
||||
min-width="290px"
|
||||
>
|
||||
<v-text-field
|
||||
slot="activator"
|
||||
:value="dateFormatted"
|
||||
:label="lc.get('WidgetStartDate')"
|
||||
readonly
|
||||
></v-text-field>
|
||||
<v-date-picker v-model="pickStartDate" @input="menu2 = false"></v-date-picker>
|
||||
</v-menu>
|
||||
</v-flex>-->
|
||||
<!--
|
||||
<v-flex xs12 sm6 lg4 xl3 px-2>
|
||||
<v-text-field slot="activator" v-model="obj.startDate" label="MyPicker" readonly></v-text-field>
|
||||
<v-date-picker v-model="obj.startDate" @input="menu2 = false"></v-date-picker>
|
||||
</v-flex>-->
|
||||
<!-- <v-flex xs12 sm6 lg4 xl3 px-2>
|
||||
<v-date-picker
|
||||
v-model="obj.startDate"
|
||||
:label="lc.get('WidgetStartDate')"
|
||||
v-validate="'required'"
|
||||
:error-messages="errors.collect('startDate')"
|
||||
data-vv-name="startDate"
|
||||
landscape="true"
|
||||
reactive="true"
|
||||
></v-date-picker>
|
||||
</v-flex>-->
|
||||
<div>{{obj.startDate}}</div>
|
||||
<gz-time-picker label="TESTStartTime" v-model="obj.startDate"></gz-time-picker>
|
||||
</v-flex>
|
||||
|
||||
<v-flex xs12 sm6 lg4 xl3 px-2>
|
||||
<v-checkbox
|
||||
v-model="obj.active"
|
||||
@@ -113,9 +82,8 @@
|
||||
<v-btn @click="submit">submit</v-btn>
|
||||
</v-flex>
|
||||
</v-layout>
|
||||
</form>
|
||||
</form>
|
||||
</v-flex>
|
||||
|
||||
</v-layout>
|
||||
</template>
|
||||
|
||||
@@ -172,10 +140,8 @@ export default {
|
||||
//return this.obj.startDate ? moment(this.date).format("dddd, MMMM Do YYYY") : "";
|
||||
},
|
||||
pickStartDate() {
|
||||
return this.obj.startDate
|
||||
? dayjs(this.obj.startDate).toDate()
|
||||
: null;
|
||||
// var copiedDate = new Date(date.getTime());
|
||||
return this.obj.startDate ? dayjs(this.obj.startDate).toDate() : null;
|
||||
// var copiedDate = new Date(date.getTime());
|
||||
//obj.startDate.toISOString().substr(0, 10);
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user