From 6a9c19f2939dac612056e4d637fac4a396f722f0 Mon Sep 17 00:00:00 2001 From: hanbo <2608504783@qq.com> Date: Wed, 5 Jan 2022 16:44:25 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A2=84=E7=AE=97=E9=A1=B5=E9=9D=A2=E8=B5=84?= =?UTF-8?q?=E9=87=91=E8=AE=A1=E5=88=92=E8=A1=A8=E6=A0=A1=E9=AA=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../resources/static/assets/js/project_budget.js | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/src/main/resources/static/assets/js/project_budget.js b/src/main/resources/static/assets/js/project_budget.js index f2f2f1c..2068b26 100644 --- a/src/main/resources/static/assets/js/project_budget.js +++ b/src/main/resources/static/assets/js/project_budget.js @@ -124,6 +124,13 @@ $(function () { return; } + //校验数据正确性 + var message = verifyBudgetPlan(); + if (message) { + layuiAlert(message); + return; + } + dataPlan = prepareAjaxDataVerify(dataPlan, BUDGET_PLAN_DETAIL, $("#id").val()); if(dataPlan){ postAjax(base+"/project/budgetEditSaveBudgetPlanDetail", dataPlan); @@ -218,6 +225,13 @@ $(function () { return; } + //校验数据正确性 + var message = verifyBudgetPlan(); + if (message) { + layuiAlert(message); + return; + } + dataPlan = prepareAjaxDataVerify(dataPlan, BUDGET_PLAN_DETAIL, $("#id").val()); if(dataPlan){ postAjax(base+"/project/budgetEditSaveBudgetPlanDetail", dataPlan);