Commit 663be024 authored by zhengke's avatar zhengke

修改

parent 71ee3ebe
......@@ -452,10 +452,6 @@
if (!tempArray) {
tempArray = [];
}
tempArray.unshift({
SId: 0,
SName: "不限"
})
this.schoolList = tempArray;
}
})
......
......@@ -167,17 +167,18 @@
<td></td>
</tr>
</table>
<template v-if="transMsg.ChangeType==1">
<div class="row" style="margin-top:20px;">
<q-input filled v-model="transMsg.OutTime" class="col-6 q-pr-lg" mask="date" label="转出日期">
<template v-slot:append>
<q-icon name="event" class="cursor-pointer">
<q-popup-proxy ref="qDateProxy1" transition-show="scale" transition-hide="scale">
<q-date v-model="transMsg.OutTime" :options="optionsFn2" @input="getOutTime" />
</q-popup-proxy>
</q-icon>
</template>
</q-input>
<template v-if="transMsg.ChangeType==1">
<q-input filled v-model="transMsg.OutTime" class="col-6 q-pr-lg" mask="date" label="转出日期">
<template v-slot:append>
<q-icon name="event" class="cursor-pointer">
<q-popup-proxy ref="qDateProxy1" transition-show="scale" transition-hide="scale">
<q-date v-model="transMsg.OutTime" :options="optionsFn2" @input="getOutTime" />
</q-popup-proxy>
</q-icon>
</template>
</q-input>
</template>
<q-input filled v-model="transMsg.EffectiveDate" class="col-6" mask="date" label="生效日期">
<template v-slot:append>
<q-icon name="event" class="cursor-pointer">
......@@ -188,7 +189,6 @@
</template>
</q-input>
</div>
</template>
<q-input filled stack-label :dense="false" v-model="transMsg.Remarks" style="margin-top: 20px" type="textarea"
class="col-12" :label="transMsg.ChangeType==1?'转班原因':'分拆原因'" />
<q-separator />
......@@ -258,7 +258,7 @@
</div>
<div class="continu_Div" style="width:20%">
<div>价格</div>
<div style="margin:5px 0;">续费价格:{{cItem.SellPrice}}</div>
<div style="margin:5px 0;">售价:{{cItem.NewSellPrice}}</div>
<template v-if="cItem.ClassStepPriceList&&cItem.ClassStepPriceList.length>0">
更多优惠价格
<span class="iconfont icon-xiangxia" style="color: #2961FE;font-size: 10px"></span>
......@@ -497,13 +497,15 @@
})
return;
}
if (this.transMsg.OutTime=='') {
this.$q.notify({
type: 'negative',
position: "top",
message: `请选择转出日期`
})
return;
if(this.transMsg.ChangeType==1){
if (this.transMsg.OutTime=='') {
this.$q.notify({
type: 'negative',
position: "top",
message: `请选择转出日期`
})
return;
}
}
if (this.transMsg.EffectiveDate=='') {
this.$q.notify({
......@@ -536,10 +538,6 @@
if (!tempArray) {
tempArray = [];
}
tempArray.unshift({
SId: 0,
SName: "不限"
})
this.schoolList = tempArray;
}
})
......@@ -593,13 +591,15 @@
this.transMsg.EffectiveDate=''
},
checkEffectDate(){
if(this.transMsg.OutTime==''){
this.$q.notify({
type: 'negative',
position: "top",
message: `请先选择转出日期`
})
this.transMsg.EffectiveDate=''
if(this.transMsg.ChangeType==1){
if(this.transMsg.OutTime==''){
this.$q.notify({
type: 'negative',
position: "top",
message: `请先选择转出日期`
})
this.transMsg.EffectiveDate=''
}
}
this.$refs.qDateProxy2.hide()
}
......
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