易用性优化

master
hanbo 2022-04-18 16:17:03 +08:00
parent b31e862a6f
commit 5d411a62a5
1 changed files with 2 additions and 0 deletions

View File

@ -444,6 +444,7 @@
$(function () { $(function () {
calIncomeAndCost(); calIncomeAndCost();
$("#saveDraft").click(function () { $("#saveDraft").click(function () {
check = 0;
$("#saveDraft").attr('disabled',true); $("#saveDraft").attr('disabled',true);
checkIfFillIn(); checkIfFillIn();
if (check == 1) { if (check == 1) {
@ -458,6 +459,7 @@
}); });
$("#saveApprove").click(function () { $("#saveApprove").click(function () {
check = 0;
$("#saveApprove").attr('disabled',true); $("#saveApprove").attr('disabled',true);
checkIfFillIn(); checkIfFillIn();
if (check == 1) { if (check == 1) {