浏览代码

修复外判单日期大于今天时不应允许保存

master
Klein Blue 2 年前
父节点
当前提交
5e4a55daa1
共有 1 个文件被更改,包括 1 次插入2 次删除
  1. 1
    2
      src/components/waipan/EdtWaipan.vue

+ 1
- 2
src/components/waipan/EdtWaipan.vue 查看文件

@@ -327,7 +327,6 @@ export default {
},
handleChange(date) {
console.log(date)
debugger
this.value3 = date;

let idx = this.items.findIndex((element) => {
@@ -380,7 +379,7 @@ export default {
let shijian2 = moment(shijian1).format("YYYY-MM-DD");
let today = moment().startOf("days");
if (shijian1 > today) {
this.tipsContent = "不能大于今天222";
this.tipsContent = "选择日期不能大于今天";
this.tipsShow = true;
setTimeout(() => {
this.tipsShow = false;

正在加载...
取消
保存