|
@@ -23,7 +23,7 @@
|
|
|
</form>
|
|
|
<form class="mui-input-group vongi-editme margin10">
|
|
|
<div class="mui-input-row">
|
|
|
- <label style="width:100%"> 申请理由</label>
|
|
|
+ <label style="width:100%"><i class="colorfe616c">*</i> 申请理由</label>
|
|
|
|
|
|
<textarea id="textarea" rows="3" placeholder="申请批量补卡" v-model="subForm.reason"></textarea>
|
|
|
</div>
|
|
@@ -282,13 +282,17 @@
|
|
|
})
|
|
|
},
|
|
|
//表单检测
|
|
|
- checkFrom() {
|
|
|
+ checkFrom() {
|
|
|
+
|
|
|
if (!this.subForm.personIds) {
|
|
|
mui.toast('请选择人员');
|
|
|
return false;
|
|
|
} else if (!this.subForm.date) {
|
|
|
mui.toast('请选择调整班次');
|
|
|
return false;
|
|
|
+ } else if (!this.subForm.reason) {
|
|
|
+ mui.toast('请输入批量补卡理由');
|
|
|
+ return false;
|
|
|
} else {
|
|
|
return true;
|
|
|
}
|