Browse Source

rel: 处理BUG

wangcz 6 years ago
parent
commit
427658605f

+ 2 - 2
src/main/webapp/resources/js/admin/controllers/StoreQualificationCtrl.js

@@ -351,7 +351,7 @@ define([ 'app/app' ], function(app) {
 		 */
 		function validateBrand(brand) {
 			if (!brand) return false;
-			if ($scope.application.type ==='ORIGINAL_FACTORY') {
+			if ($scope.storeType ==='ORIGINAL_FACTORY') {
 				var props = ['certificate', 'status', 'registrant', 'number', 'address', 'registrationDate', 'effectiveDate', 'approvalUnit'];
 
 				var flag = true;
@@ -372,7 +372,7 @@ define([ 'app/app' ], function(app) {
 				}
 			}
 
-			if ($scope.application.type ==='AGENCY'){
+			if ($scope.storeType ==='AGENCY'){
 				var props = ['authorizedDate', 'authorizedStatus', 'authorizedFrom'];
 
 				var flag = true;