Просмотр исходного кода

线下支付,订单确认-去掉收款账户选项,修复无法确认的bug

liusw 8 лет назад
Родитель
Сommit
75dbc7db50

+ 8 - 8
src/main/webapp/resources/js/usercenter/controllers/forstore/buyer_transfer_ctrl.js

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

+ 2 - 0
src/main/webapp/resources/view/usercenter/forstore/buyer_transfer.html

@@ -21,6 +21,7 @@
 					<!--</li>-->
 				<!--</ul>-->
 			<!--</div>-->
+			<!--
 			<div class="common-title margin-top-8">收款账户</div>
 			<div class="payment-style">
 				<ul class="payment-80">
@@ -64,6 +65,7 @@
 					</li>
 				</ul>
 			</div>
+			-->
 			<div class="common-title margin-top-8" ng-if="type == 'PAIDTOVENDOR'">分期付款明细</div>
 			<div class="payment-detail" ng-if="type == 'PAIDTOVENDOR'">
 				<ul>