Ver código fonte

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

master
Klein Blue 2 anos atrás
pai
commit
5e4a55daa1
1 arquivos alterados com 1 adições e 2 exclusões
  1. 1
    2
      src/components/waipan/EdtWaipan.vue

+ 1
- 2
src/components/waipan/EdtWaipan.vue Ver arquivo

@@ -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;

Carregando…
Cancelar
Salvar