if(typeof(this.editForm.fddDateE)=='object'){
this.editForm.fddDateE = this.$util.formatDate.format(this.editForm.fddDateE,'yyyy-MM-dd') //转出2017-12-12
this.editForm.fddDateE = this.editForm.fddDateE+' 23:59:59'
}
//object的用这个
format: function (date, pattern) {
pattern = pattern || DEFAULT_PATTERN;
return pattern.replace(SIGN_REGEXP, function ($0) {
switch ($0.charAt(0)) {
case 'y':
return padding(date.getFullYear(), $0.length);
case 'M':
return padding(date.getMonth() + 1, $0.length);
case 'd':
return padding(date.getDate(), $0.length);
case 'w':