$scope.triggerSave $scope.createForm.dayType.$dirty = false;

$scope.triggerSave = false;
console.log("postSaveAndNewFromCreate350W3Core() - res: ", res);
$scope.showMessage(i18n.t("abs.text.message_process_success.label",{svcApiName:i18n.t("cnf.CNF350W3.saveAndNew.label")}));
if ($scope.nextPageId) {
$scope.createForm.dayType.$dirty = false;
$scope.createForm.contOtHours.$dirty = false;
$scope.createForm.feeMultiple.$dirty = false;
$location.path('/' + $scope.nextActionName + '/' + $scope.nextPageId);

posted @ 2014-02-20 10:46  奋斗侠侠儿  阅读(313)  评论(0编辑  收藏  举报