Commit 1b3f23bf authored by zhengke's avatar zhengke

修改

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