| | |
| | | vc.component.editApplicationKeyInfo.startTime = vc.dateFormat(new Date().getTime()); |
| | | $('.editApplicationStartTime').datetimepicker({ |
| | | language: 'zh-CN', |
| | | format: 'yyyy-mm-dd HH:ii:ss', |
| | | format: 'yyyy-mm-dd hh:ii:ss', |
| | | initTime: true, |
| | | initialDate: new Date(), |
| | | autoClose: 1, |
| | |
| | | }); |
| | | $('.editApplicationEndTime').datetimepicker({ |
| | | language: 'zh-CN', |
| | | format: 'yyyy-mm-dd HH:ii:ss', |
| | | format: 'yyyy-mm-dd hh:ii:ss', |
| | | initTime: true, |
| | | initialDate: new Date(), |
| | | autoClose: 1, |
| | |
| | | return; |
| | | } |
| | | if (!vc.component.editApplicationKeyValidate()) { |
| | | vc.message(vc.validate.errInfo); |
| | | vc.toast(vc.validate.errInfo); |
| | | return; |
| | | } |
| | | |