|
|
@@ -646,10 +646,10 @@ define([ 'app/app' ], function(app) {
|
|
|
toaster.pop('info', '提示', '没有选择要付款的订单,或付款总额为0');
|
|
|
return ;
|
|
|
}
|
|
|
- if(angular.isUndefined($scope.buyAccount)||angular.equals("{}", angular.toJson($scope.buyAccount)) || $scope.buyAccount == null) {
|
|
|
- toaster.pop('info', '提示', '请选择买家账户');
|
|
|
- return ;
|
|
|
- }
|
|
|
+ // if(angular.isUndefined($scope.buyAccount)||angular.equals("{}", angular.toJson($scope.buyAccount)) || $scope.buyAccount == null) {
|
|
|
+ // toaster.pop('info', '提示', '请选择买家账户');
|
|
|
+ // return ;
|
|
|
+ // }
|
|
|
if ($scope.type == 'PAIDTOVENDOR'){
|
|
|
$scope.saleAccount = $scope.salePerAccount;
|
|
|
}
|
|
|
@@ -701,14 +701,14 @@ define([ 'app/app' ], function(app) {
|
|
|
transfer.installmentDetailId = installmentDetailId;
|
|
|
};
|
|
|
|
|
|
- var buyAccount = angular.copy($scope.buyAccount);
|
|
|
- var saleAccount = angular.copy($scope.saleAccount);
|
|
|
- delete saleAccount.filterAccount;
|
|
|
- delete buyAccount.filterAccount;
|
|
|
- var jsonPament = angular.toJson(buyAccount);
|
|
|
- var jsonReceive = angular.toJson(saleAccount);
|
|
|
- transfer.jsonPament = jsonPament;
|
|
|
- transfer.jsonReceive = jsonReceive;
|
|
|
+ // var buyAccount = angular.copy($scope.buyAccount);
|
|
|
+ // var saleAccount = angular.copy($scope.saleAccount);
|
|
|
+ // delete saleAccount.filterAccount;
|
|
|
+ // delete buyAccount.filterAccount;
|
|
|
+ // var jsonPament = angular.toJson(buyAccount);
|
|
|
+ // var jsonReceive = angular.toJson(saleAccount);
|
|
|
+ // transfer.jsonPament = jsonPament;
|
|
|
+ // transfer.jsonReceive = jsonReceive;
|
|
|
// console.log(transfer.jsonReceive)
|
|
|
transfer.imgUrl = str;
|
|
|
transfer.type = $scope.type;
|