|
|
@@ -445,7 +445,7 @@ define(['app/app'], function(app) {
|
|
|
$scope.isnotCheck = true;
|
|
|
$modal.open({
|
|
|
templateUrl : $rootScope.rootPath + '/static/view/common/modal/edit_address_modal.html',
|
|
|
- controller : 'editAddrCtrl',
|
|
|
+ controller : 'editAddrPayCtrl',
|
|
|
size : 'lg',
|
|
|
resolve : {
|
|
|
addr : function(){
|
|
|
@@ -570,7 +570,7 @@ define(['app/app'], function(app) {
|
|
|
}]);
|
|
|
|
|
|
//地址编辑模态框
|
|
|
- app.register.controller('editAddrCtrl', ['$scope', 'addr', '$modalInstance', 'toaster', '$http', 'ShippingAddress', 'isModify', function($scope, addr, $modalInstance, toaster, $http, ShippingAddress, isModify){
|
|
|
+ app.register.controller('editAddrPayCtrl', ['$scope', 'addr', '$modalInstance', 'toaster', '$http', 'ShippingAddress', 'isModify', function($scope, addr, $modalInstance, toaster, $http, ShippingAddress, isModify){
|
|
|
if (addr){
|
|
|
$scope.isSetTop = addr.num == 1;
|
|
|
}else {
|