This commit is contained in:
zhouxudong
2022-05-18 10:18:02 +00:00
parent 7646473eda
commit 5b33b75d41
4 changed files with 5 additions and 4 deletions
+1
View File
@@ -205,6 +205,7 @@ class program extends control
$this->view->programList = $this->program->getList();
$this->view->budgetUnitList = $this->project->getBudgetUnitList();
$this->view->budgetLeft = $this->program->getBudgetLeft($parentProgram);
$this->view->disabled = isset($parentProgram->id) ? 'disabled' : '';
$this->display();
}
+1 -1
View File
@@ -80,7 +80,7 @@ $lang->program->exRateNotNegative = 'The『exchange rate』should not be n
$lang->program->changePRJUnit = 'Update the budget unit of the project';
$lang->program->progress = 'Progress';
$lang->program->children = 'Child';
$lang->program->children = 'Add Child';
$lang->program->allInvest = 'Input';
$lang->program->teamCount = 'Team';
$lang->program->longTime = 'Long-Term';
+1 -1
View File
@@ -80,7 +80,7 @@ $lang->program->exRateNotNegative = '『汇率』不能是负数。';
$lang->program->changePRJUnit = '更新项目预算单位';
$lang->program->progress = '项目进度';
$lang->program->children = '子项目集';
$lang->program->children = '添加子项目集';
$lang->program->allInvest = '项目集总投入';
$lang->program->teamCount = '总人数';
$lang->program->longTime = '长期';
+2 -2
View File
@@ -44,13 +44,13 @@
<div id='mainContent' class='main-content'>
<div class='center-block'>
<div class='main-header'>
<h2><?php echo $lang->program->create;?></h2>
<h2><?php echo isset($parentProgram->id) ?$lang->program->children : $lang->program->create;?></h2>
</div>
<form class='form-indicator main-form form-ajax' method='post' target='hiddenwin' id='dataform'>
<table class='table table-form'>
<tr>
<th><?php echo $lang->program->parent;?></th>
<td><?php echo html::select('parent', $parents, isset($parentProgram->id) ? $parentProgram->id : 0, "class='form-control chosen' onchange=setBudgetTipsAndAclList(this.value)");?>
<td><?php echo html::select('parent', $parents, isset($parentProgram->id) ? $parentProgram->id : 0, "class='form-control chosen' onchange=setBudgetTipsAndAclList(this.value) $disabled");?>
<td></td>
</tr>
<tr>