Commit 663be024 authored by zhengke's avatar zhengke

修改

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