Commit be53f072 authored by liudong1993's avatar liudong1993

1

parent bef80413
......@@ -1682,13 +1682,13 @@
var month = today.getMonth();
var date = today.getDate();
var weeks = ["日", "一", "二", "三", "四", "五", "六"]
var temp = new Date(year, month, date + 3)
var temp = new Date(year, month, date + 7)
var today = Date.parse(new Date())
var PayDate = this.msg.PayDate
var startTime = Date.parse(temp);
var endTime = Date.parse(PayDate);
if (endTime > startTime) {
this.$message.error('房费、差旅费、签证费、机票相关费用类型单据的预付款日期最多推后3天!');
this.$message.error('房费、差旅费、签证费、机票相关费用类型单据的预付款日期最多推后7天!');
return
}
// else if (endTime < today) {
......
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