预算页面资金计划表校验
parent
2235157936
commit
6a9c19f293
|
@ -124,6 +124,13 @@ $(function () {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//校验数据正确性
|
||||||
|
var message = verifyBudgetPlan();
|
||||||
|
if (message) {
|
||||||
|
layuiAlert(message);
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
dataPlan = prepareAjaxDataVerify(dataPlan, BUDGET_PLAN_DETAIL, $("#id").val());
|
dataPlan = prepareAjaxDataVerify(dataPlan, BUDGET_PLAN_DETAIL, $("#id").val());
|
||||||
if(dataPlan){
|
if(dataPlan){
|
||||||
postAjax(base+"/project/budgetEditSaveBudgetPlanDetail", dataPlan);
|
postAjax(base+"/project/budgetEditSaveBudgetPlanDetail", dataPlan);
|
||||||
|
@ -218,6 +225,13 @@ $(function () {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//校验数据正确性
|
||||||
|
var message = verifyBudgetPlan();
|
||||||
|
if (message) {
|
||||||
|
layuiAlert(message);
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
dataPlan = prepareAjaxDataVerify(dataPlan, BUDGET_PLAN_DETAIL, $("#id").val());
|
dataPlan = prepareAjaxDataVerify(dataPlan, BUDGET_PLAN_DETAIL, $("#id").val());
|
||||||
if(dataPlan){
|
if(dataPlan){
|
||||||
postAjax(base+"/project/budgetEditSaveBudgetPlanDetail", dataPlan);
|
postAjax(base+"/project/budgetEditSaveBudgetPlanDetail", dataPlan);
|
||||||
|
|
Loading…
Reference in New Issue