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

页面修改

parent eee0645c
......@@ -20,7 +20,7 @@
</div>
</div>
<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 || '请填写人数']"
:disable="modityOrderType==2" />
<template v-if="isChaBan==1">
......
......@@ -95,7 +95,7 @@
<q-item-label v-html="opt.ClassName"></q-item-label>
</q-item-section>
<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>
</template>
......
......@@ -27,7 +27,18 @@
<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 || '请选择班级']"
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"
:options="CourseList" emit-value map-options class="q-pb-lg" :rules="[val => !!val || '请选择课程']" label="选择课程"
......@@ -64,7 +75,7 @@
<q-input v-if="OrderMsg.IsLessPrice==1" @input="calcPrice()" @keyup.native="checkPrice(OrderMsg,'PerLessMoney')"
maxlength="10" filled stack-label :dense="false" v-model="OrderMsg.PerLessMoney" class="col-12"
label="少价金额(每人)" :hint="'总少价金额:'+(OrderMsg.PerLessMoney*OrderMsg.GuestNum)" />
<q-input filled stack-label :dense="false" v-model="OrderMsg.SaleRemark" style="margin-top: 20px"
type="textarea" class="col-12" label="备注" />
<div style="margin:30px 10px 70px 0;">
......@@ -198,7 +209,9 @@
}
tempArray.unshift({
ClassId: 0,
ClassName: "不限"
ClassName: "不限",
ClassNo:'',
OpenTime:'',
})
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