|
@@ -21,6 +21,8 @@ define(['app/app', 'jquery-uploadify'], function (app) {
|
|
|
taxRegistration: 'TAX_REGISTRATION',
|
|
taxRegistration: 'TAX_REGISTRATION',
|
|
|
businessLicense: 'BUSINESS_LICENSE'
|
|
businessLicense: 'BUSINESS_LICENSE'
|
|
|
};
|
|
};
|
|
|
|
|
+ // 初始化主营产品
|
|
|
|
|
+ $scope.description = '';
|
|
|
// 初始化品牌信息
|
|
// 初始化品牌信息
|
|
|
$scope.brands = [{ type: 'BRAND' }];
|
|
$scope.brands = [{ type: 'BRAND' }];
|
|
|
$scope.reason = null;
|
|
$scope.reason = null;
|
|
@@ -388,6 +390,10 @@ define(['app/app', 'jquery-uploadify'], function (app) {
|
|
|
toaster.pop('error', '请上传品牌信息');
|
|
toaster.pop('error', '请上传品牌信息');
|
|
|
return ;
|
|
return ;
|
|
|
}
|
|
}
|
|
|
|
|
+ if(!$scope.description) {
|
|
|
|
|
+ toaster.pop('error', '请填写主营产品信息');
|
|
|
|
|
+ return ;
|
|
|
|
|
+ }
|
|
|
|
|
|
|
|
// 设置店铺申请资质信息
|
|
// 设置店铺申请资质信息
|
|
|
$scope.storeApply.qualifications = [];
|
|
$scope.storeApply.qualifications = [];
|
|
@@ -441,6 +447,7 @@ define(['app/app', 'jquery-uploadify'], function (app) {
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
$scope.storeApply.brands = brands;
|
|
$scope.storeApply.brands = brands;
|
|
|
|
|
+ $scope.storeApply.applyDescription = $scope.description
|
|
|
console.log(brands);
|
|
console.log(brands);
|
|
|
console.log($scope.storeApply);
|
|
console.log($scope.storeApply);
|
|
|
submitApplyInfo();
|
|
submitApplyInfo();
|