Commit 930f45bc authored by zhengke's avatar zhengke

修改

parent e00460fd
......@@ -30,7 +30,7 @@
:rules="[val => !!val || '请选择课程']" label="选择课程" @input="changePrice" />
<q-input filled stack-label :dense="false" v-model="OrderMsg.StartClassHours" :disable="modityOrderType==2"
@keyup.native="checkInteger(OrderMsg,'StartClassHours')" ref="StartClassHours" @input="countPrice"
class="col-12" label="起始课时" :rules="[val => !!val || '请填起始课时']" />
class="col-12 q-pb-lg" label="起始课时" />
<q-input filled v-model="OrderMsg.EffectTime" ref="EffectTime" :rules="[val => !!val || '请填生效时间']" class="col-6 q-pb-lg"
:disable="modityOrderType==2" mask="date" label="生效时间">
<template v-slot:append>
......@@ -407,9 +407,8 @@
saveOrderInfo() {
if (this.isChaBan == 1) {
this.$refs.CourseId.validate();
this.$refs.StartClassHours.validate();
this.$refs.EffectTime.validate();
if (this.$refs.CourseId.hasError || this.$refs.StartClassHours.hasError || this.$refs.EffectTime.hasError) {
if (this.$refs.CourseId.hasError || this.$refs.EffectTime.hasError) {
return;
}
}
......
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