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

购物车功能优化

git-svn-id: svn+ssh://10.10.101.21/source/platform/platform-b2b@10189 f3bf4e98-0cf0-11e4-a00c-a99a8b9d557d
hejq 8 лет назад
Родитель
Сommit
0bb2a297c6
1 измененных файлов с 1 добавлено и 2 удалено
  1. 1 2
      src/main/webapp/resources/js/index/app.js

+ 1 - 2
src/main/webapp/resources/js/index/app.js

@@ -13203,9 +13203,8 @@ define([ 'toaster', 'charts', 'ngTable', 'common/services', 'common/directives',
 				$scope.contact = data;
 				$scope.contact.venduu = uu;
 				Vendor.saveContact({}, $scope.contact, function(data) {
-					Vendor.contacts({venduu: $scope.order.cust.uu}, {}, function(data) {
+					Vendor.contacts({venduu: $scope.order.receiveCode}, {}, function(data) {
 						$scope.contacts = data;
-						$scope.order.vendor = $scope.contacts[0];
 					});
 					toaster.pop('success', '提示', '联系人保存成功');
 				}, function(response) {