Commit 01bddca4 authored by gary's avatar gary

1、机构 - 其他信息的bug修复

parent d4f24130
...@@ -2151,6 +2151,10 @@ ...@@ -2151,6 +2151,10 @@
$scope.updateOrgExtraCancel = function () { $scope.updateOrgExtraCancel = function () {
$scope.selectCompanyExtra=$scope.comExtraOldData; $scope.selectCompanyExtra=$scope.comExtraOldData;
generalSelectCompanyExtraText(); generalSelectCompanyExtraText();
cancelWebChange();
};
var cancelWebChange = function(){
$('.extra-organization-info .control-label span').removeAttr("hidden"); $('.extra-organization-info .control-label span').removeAttr("hidden");
$('.extra-organization-info .right-option .button2position').attr("hidden","hidden"); $('.extra-organization-info .right-option .button2position').attr("hidden","hidden");
$('.extra-organization-info .right-option .updOrgBtn').removeAttr("hidden"); $('.extra-organization-info .right-option .updOrgBtn').removeAttr("hidden");
...@@ -2199,8 +2203,7 @@ ...@@ -2199,8 +2203,7 @@
} }
$scope.editOrgExtraModel = angular.copy(data); $scope.editOrgExtraModel = angular.copy(data);
generalSelectCompanyExtraText(); generalSelectCompanyExtraText();
$scope.updateOrgExtraCancel(); cancelWebChange();
$scope.selectCompanyExtra = data;
SweetAlert.success($translate.instant('OrganizationExtraInfoEditSuccess')); SweetAlert.success($translate.instant('OrganizationExtraInfoEditSuccess'));
}); });
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment