|
|
@@ -499,23 +499,23 @@ define(['app/app'], function(app) {
|
|
|
return ;
|
|
|
}
|
|
|
if (!account.bankname || !account.branchname || !account.number ||
|
|
|
- !account.accountname || !account.attachUrl){
|
|
|
+ !account.accountname){
|
|
|
toaster.pop('error', '请按要求填写正确的信息');
|
|
|
return ;
|
|
|
}
|
|
|
if (!$scope.matchData || $scope.branchError || $scope.branchPattError || $scope.numberError || $scope.numberPattError ||
|
|
|
- $scope.nameError || $scope.repeatError || $scope.fileError || $scope.fileLegError){
|
|
|
+ $scope.nameError || $scope.repeatError){
|
|
|
toaster.pop('error', '请按要求填写正确的信息');
|
|
|
return ;
|
|
|
}
|
|
|
|
|
|
- var file = null;
|
|
|
- if($scope.account.files && $scope.account.files[0]) {
|
|
|
- file = $scope.account.files[0];
|
|
|
- }
|
|
|
+ // var file = null;
|
|
|
+ // if($scope.account.files && $scope.account.files[0]) {
|
|
|
+ // file = $scope.account.files[0];
|
|
|
+ // }
|
|
|
$upload.upload({
|
|
|
url: 'trade/bankInfo/save/enterprise',
|
|
|
- file: file,
|
|
|
+ // file: file,
|
|
|
method: 'POST',
|
|
|
params : {type : 'sup'},
|
|
|
data: {
|