Commit 2ba2c8b9 authored by 黄奎's avatar 黄奎

页面修改

parent eee0645c
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
</div> </div>
</div> </div>
<div style="padding:20px 15px;"> <div style="padding:20px 15px;">
<q-input filled stack-label maxlength="100" :dense="false" @keyup.native="checkInteger(OrderMsg,'GuestNum')" <q-input filled stack-label maxlength="3" :dense="false" @keyup.native="checkInteger(OrderMsg,'GuestNum')"
v-model="OrderMsg.GuestNum" @input="calcPrice()" class="col-12" label="人数" :rules="[val => !!val || '请填写人数']" v-model="OrderMsg.GuestNum" @input="calcPrice()" class="col-12" label="人数" :rules="[val => !!val || '请填写人数']"
:disable="modityOrderType==2" /> :disable="modityOrderType==2" />
<template v-if="isChaBan==1"> <template v-if="isChaBan==1">
......
...@@ -95,7 +95,7 @@ ...@@ -95,7 +95,7 @@
<q-item-label v-html="opt.ClassName"></q-item-label> <q-item-label v-html="opt.ClassName"></q-item-label>
</q-item-section> </q-item-section>
<q-item-section side> <q-item-section side>
<q-item-label v-html="opt.OpenTime"></q-item-label> <q-item-label v-html="opt.OpenTime+'【'+opt.ClassNo+'】'"></q-item-label>
</q-item-section> </q-item-section>
</q-item> </q-item>
</template> </template>
......
...@@ -27,7 +27,18 @@ ...@@ -27,7 +27,18 @@
<q-select filled v-model="OrderMsg.ClassId" class="q-pb-lg" ref="ClassId" :options="classList" <q-select filled v-model="OrderMsg.ClassId" class="q-pb-lg" ref="ClassId" :options="classList"
option-label="ClassName" option-value="ClassId" emit-value map-options :rules="[val => !!val || '请选择班级']" option-label="ClassName" option-value="ClassId" emit-value map-options :rules="[val => !!val || '请选择班级']"
label="选择班级" @input="getClassList(OrderMsg.ClassId)" /> label="选择班级" @input="getClassList(OrderMsg.ClassId)">
<template v-slot:option="{ itemProps, itemEvents, opt, selected, toggleOption }">
<q-item v-bind="itemProps" v-on="itemEvents">
<q-item-section>
<q-item-label v-html="opt.ClassName"></q-item-label>
</q-item-section>
<q-item-section side>
<q-item-label v-html="opt.OpenTime+'【'+opt.ClassNo+'】'"></q-item-label>
</q-item-section>
</q-item>
</template>
</q-select>
<q-select filled option-value="CourseId" option-label="CourseName" ref="CourseId" v-model="OrderMsg.CourseId" <q-select filled option-value="CourseId" option-label="CourseName" ref="CourseId" v-model="OrderMsg.CourseId"
:options="CourseList" emit-value map-options class="q-pb-lg" :rules="[val => !!val || '请选择课程']" label="选择课程" :options="CourseList" emit-value map-options class="q-pb-lg" :rules="[val => !!val || '请选择课程']" label="选择课程"
...@@ -198,7 +209,9 @@ ...@@ -198,7 +209,9 @@
} }
tempArray.unshift({ tempArray.unshift({
ClassId: 0, ClassId: 0,
ClassName: "不限" ClassName: "不限",
ClassNo:'',
OpenTime:'',
}) })
this.classList = tempArray; this.classList = tempArray;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment