From 9f04b9540d5f4e1f829c385a13463b6c70223755 Mon Sep 17 00:00:00 2001 From: tianshujie98 Date: Tue, 3 Aug 2021 09:16:24 +0800 Subject: [PATCH] * Finish task #40840. --- module/program/js/edit.js | 4 ++-- module/program/view/edit.html.php | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/module/program/js/edit.js b/module/program/js/edit.js index e8c849bc61..b4b2c0348b 100644 --- a/module/program/js/edit.js +++ b/module/program/js/edit.js @@ -51,7 +51,7 @@ $(function() $('#cancel').click(function() { - $('#isChangeUnit').val(false); + $('#isChangeUnit').val('false'); $('#exchangeRate').val(''); }) @@ -64,7 +64,7 @@ $(function() return false; } - $('#isChangeUnit').val(true); + $('#isChangeUnit').val('true'); $('#exchangeRate').val(exchangeRate); $('#changeUnitTip').modal('hide'); }) diff --git a/module/program/view/edit.html.php b/module/program/view/edit.html.php index 361eb091ad..98902caf18 100644 --- a/module/program/view/edit.html.php +++ b/module/program/view/edit.html.php @@ -54,7 +54,7 @@ budgetUnit, "class='form-control'");?> - +