* Finish task.

This commit is contained in:
zhouxudong
2022-08-09 06:32:29 +00:00
parent 3cc9977663
commit 90e0daf6c0
3 changed files with 6 additions and 3 deletions
+4 -3
View File
@@ -330,13 +330,14 @@ function setBudgetTipsAndAclList(parentID)
*/
function compareChildDate()
{
if(getMethodName == 'create') return;
var end = $('#end').val();
var begin = $('#begin').val();
if(end.length > 0 && begin.length > 0)
{
var programEnd = new Date(end);
var programBegin = new Date(begin);
var programEnd = new Date(end);
var programBegin = new Date(begin);
$.get(createLink('program', 'ajaxGetChildInfo', 'programID=' + programID), function(data)
{
var dateTip = '';
+1
View File
@@ -45,6 +45,7 @@
<?php js::set('beginLetterParent', $lang->program->beginLetterParent);?>
<?php js::set('endGreaterParent', $lang->program->endGreaterParent);?>
<?php js::set('dateExceedParent', $lang->program->dateExceedParent);?>
<?php js::set('getMethodName', $this->app->getMethodName());?>
<?php $aclList = $parentProgram ? $lang->program->subAclList : $lang->program->aclList;?>
<?php $requiredFields = $config->program->create->requiredFields;?>
<div id='mainContent' class='main-content'>
+1
View File
@@ -12,6 +12,7 @@
?>
<?php include '../../common/view/header.html.php';?>
<?php include '../../common/view/kindeditor.html.php';?>
<?php js::set('getMethodName', $this->app->getMethodName();?>
<?php js::set('weekend', $config->execution->weekend);?>
<?php js::set('longTime', $lang->program->longTime);?>
<?php js::set('currencySymbol', $lang->project->currencySymbol);?>