预算页面资金计划表校验

master
hanbo 2022-01-05 16:44:25 +08:00
parent 2235157936
commit 6a9c19f293
1 changed files with 14 additions and 0 deletions

View File

@ -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);