Commit ca3782fa authored by 黄奎's avatar 黄奎

页面修改

parent be833697
......@@ -1653,7 +1653,10 @@
}
},
getDate(date) {
return moment(date).format("YYYY-MM-DD");
if (date && date != '') {
return moment(date).format("YYYY-MM-DD");
}
return "";
},
//提交数据
SaveMsg() {
......@@ -1831,7 +1834,10 @@
},
//加一天返回
getDayAddOne(day, num) {
return moment(day).add(num, 'days').format('MM/DD');
if (day && day != '') {
return moment(day).add(num, 'days').format('MM/DD');
}
return "";
},
//点击合同获取旅客信息
getGuestList() {
......
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