Commit 1b3f23bf authored by zhengke's avatar zhengke

修改

parent 322069a7
......@@ -274,14 +274,14 @@
transition-show="scale"
transition-hide="scale"
>
<q-card style="width: 800px;max-width:900px;" class="stuCard">
<q-card style="width: 800px;max-width:900px; max-height: 70vh" class="stuCard">
<q-card-section>
<div class="text-h6">
{{ addMsg.Id == 0 ? "新增学员" : "修改学员" }}
</div>
</q-card-section>
<div class="text-caption q-mb-lg q-px-md text-grey-6">基础信息</div>
<q-card-section class="q-pt-none" v-if="msg.ClassId > 0">
<q-card-section class="q-pt-none scroll" v-if="msg.ClassId > 0">
<div class="row wrap">
<q-input
clearable
......@@ -423,7 +423,7 @@
</div>
</div>
</q-card-section>
<q-card-section class="q-pt-none" v-if="msg.SourceId > 0">
<q-card-section class="q-pt-none scroll" v-if="msg.SourceId > 0">
<div class="row wrap">
<q-input
clearable
......@@ -470,7 +470,6 @@
v-model="addMsg.Mobile"
ref="Mobile"
label="电话"
:rules="[val => !!val || '电话']"
/>
<q-select
class="col-6 q-pb-lg q-pr-lg"
......@@ -580,7 +579,7 @@
>
备注信息
</div>
<div class="row wrap" style="margin:0 20px;" v-if="msg.SourceId > 0">
<div class="row wrap q-pb-lg" style="margin:0 20px;" v-if="msg.SourceId > 0">
<q-input
filled
stack-label
......@@ -604,7 +603,7 @@
class="col-6 q-pb-lg"
ref="ContractType"
@input="resetContractArr"
standout="bg-primary text-white"
filled
option-value="Id"
option-label="Name"
v-model="addMsg.ContractType"
......@@ -1166,12 +1165,10 @@ export default {
this.$refs.GuestName.validate();
this.$refs.Basics.validate();
this.$refs.BirthDate.validate();
this.$refs.Mobile.validate();
if (
!this.$refs.GuestName.hasError &&
!this.$refs.Basics.hasError &&
!this.$refs.BirthDate.hasError &&
!this.$refs.Mobile.hasError
!this.$refs.BirthDate.hasError
) {
if (this.msg.ClassId > 0) {
if (this.addMsg.Education == "") {
......
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