* Add format judgment to the exchange rate.

This commit is contained in:
tianshujie98
2021-08-02 09:01:11 +08:00
parent 4ac9ca105d
commit 6cf5b67feb
7 changed files with 87 additions and 76 deletions
+2 -1
View File
@@ -20,6 +20,7 @@
<?php js::set('programList', $programList);?>
<?php js::set('budgetUnitList', $budgetUnitList);?>
<?php js::set('oldBudgetUnit', $program->budgetUnit);?>
<?php js::set('exRateNotEmpty', sprintf($lang->error->notempty, $lang->program->exchangeRate));?>
<?php $aclList = $program->parent ? $lang->program->subAclList : $lang->program->aclList;?>
<?php $requiredFields = $config->program->edit->requiredFields;?>
<div id='mainContent' class='main-content'>
@@ -133,7 +134,7 @@
</tr>
<tr>
<th><?php echo '1' . zget($budgetUnitList, $program->budgetUnit);?></th>
<td><div class='input-group'><span class='input-group-addon'><?php echo "=";?></span><?php echo html::input('rate', '', "class='form-control'");?> <span class='input-group-addon' id='currentUnit'></span></div></td>
<td><div class='input-group'><span class='input-group-addon'><?php echo "=";?></span><?php echo html::number('rate', '', "class='form-control' required");?> <span class='input-group-addon' id='currentUnit'></span></div></td>
<td></td>
</tr>
<tr>