* [bug#67855] Convert the budget field to float.

This commit is contained in:
liugang
2025-12-09 17:03:24 +08:00
parent 74c7ede29b
commit 12550c166d
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -7,7 +7,7 @@ $config->program->form = new stdclass();
$config->program->form->create['parent'] = array('type' => 'int', 'control' => 'picker', 'required' => false, 'default' => 0);
$config->program->form->create['name'] = array('type' => 'string', 'control' => 'text', 'required' => true, 'default' => '', 'filter' => 'trim');
$config->program->form->create['PM'] = array('type' => 'string', 'control' => 'picker', 'required' => false, 'default' => 0);
$config->program->form->create['budget'] = array('type' => 'string', 'control' => 'text', 'required' => false, 'default' => '');
$config->program->form->create['budget'] = array('type' => 'float', 'control' => 'text', 'required' => false, 'default' => '');
$config->program->form->create['budgetUnit'] = array('type' => 'string', 'control' => 'text', 'required' => false, 'default' => 'CNY');
$config->program->form->create['begin'] = array('type' => 'date', 'control' => 'datepicker', 'required' => true, 'default' => '');
$config->program->form->create['end'] = array('type' => 'date', 'control' => 'datepicker', 'required' => false, 'default' => '');
@@ -19,7 +19,7 @@ $config->program->form->create['whitelist'] = array('type' => 'array', 'cont
$config->program->form->edit['parent'] = array('type' => 'int', 'control' => 'picker', 'required' => false, 'default' => 0);
$config->program->form->edit['name'] = array('type' => 'string', 'control' => 'text', 'required' => true, 'default' => '', 'filter' => 'trim');
$config->program->form->edit['PM'] = array('type' => 'string', 'control' => 'picker', 'required' => false, 'default' => 0);
$config->program->form->edit['budget'] = array('type' => 'string', 'control' => 'text', 'required' => false, 'default' => '');
$config->program->form->edit['budget'] = array('type' => 'float', 'control' => 'text', 'required' => false, 'default' => '');
$config->program->form->edit['budgetUnit'] = array('type' => 'string', 'control' => 'text', 'required' => false, 'default' => 'CNY');
$config->program->form->edit['begin'] = array('type' => 'date', 'control' => 'datepicker', 'required' => true, 'default' => '');
$config->program->form->edit['end'] = array('type' => 'date', 'control' => 'datepicker', 'required' => false, 'default' => '');