修改请假提交时间
This commit is contained in:
@@ -277,6 +277,14 @@
|
||||
}
|
||||
this.formData.dataNum = calculateDays(this.formData.single, this.formData.endsingle);
|
||||
}
|
||||
// 检查请假天数是否小于0.5天
|
||||
if (this.formData.dataNum < 0.5) {
|
||||
uni.showToast({
|
||||
title: "请假天数不能小于0.5天",
|
||||
icon: "none"
|
||||
})
|
||||
this.formData.dataNum = "";
|
||||
}
|
||||
},
|
||||
signToggle() {
|
||||
// open 方法传入参数 等同在 uni-popup 组件上绑定 type属性
|
||||
|
||||
Reference in New Issue
Block a user