浏览代码

rel: 处理BUG

wangcz 6 年之前
父节点
当前提交
427658605f
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      src/main/webapp/resources/js/admin/controllers/StoreQualificationCtrl.js

+ 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;