Commit 3fe80b73 by liyuhang19990520

时间不能选今天以后

parent ef1e14f4
......@@ -223,6 +223,9 @@
placeholder="请选择提取时间"
v-model="ruleForm.tqsj"
style="width: 100%;"
:picker-options="{
disabledDate: disabledDate,
}"
></el-date-picker>
</el-form-item>
</el-col>
......@@ -358,6 +361,13 @@ export default {
}
},
methods: {
disabledDate(a) {
if (a.getTime() > new Date().getTime()) {
return true;
} else {
return false;
}
},
submitForm (formName) {
this.$refs[formName].validate((valid) => {
if (valid) {
......
<!--
* @Author: your name
* @Date: 2021-10-22 11:36:10
* @LastEditTime: 2021-11-12 11:46:00
* @LastEditTime: 2021-11-12 14:37:58
* @LastEditors: Please set LastEditors
* @Description: In User Settings Edit
* @FilePath: \指纹系统\founder_vue\src\views\Editor\modules\imageEd.vue
......@@ -2224,8 +2224,7 @@ export default {
deg = -(90 + (90 - deg));
}
console.log(deg)
console.log(deg);
if (deg) {
$("#tzd" + self.tzdId).css("transform", `rotate(${deg}deg)`);
} else {
......
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