预算页面资金计划表校验
parent
2235157936
commit
6a9c19f293
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue