ソースを参照

修复点击卖家发货再点击自提点不可点击的问题

hulh 8 年 前
コミット
8b9846e862

+ 2 - 2
src/main/webapp/resources/js/vendor/controllers/forstore/vendor_takeSelf_ctrl.js

@@ -63,7 +63,7 @@ define([ 'app/app' ], function(app) {
         $scope.editTakeSelf = function (addressTakeSelf) {
             $modal.open({
                 templateUrl : 'static/view/vendor/modal/edit_address_takeSelf.html',
-                controller : 'editAddrCtrl',
+                controller : 'editTakeSelfCtrl',
                 size : 'lg',
                 resolve : {
                     addressTakeSelf : function () {
@@ -90,7 +90,7 @@ define([ 'app/app' ], function(app) {
         };
 
         //地址编辑模态框
-        app.register.controller('editAddrCtrl', ['$scope', '$rootScope', 'isModify', '$modalInstance', 'addressTakeSelf', 'nameList', '$http', function ($scope, $rootScope, isModify, $modalInstance, addressTakeSelf, nameList, $http) {
+        app.register.controller('editTakeSelfCtrl', ['$scope', '$rootScope', 'isModify', '$modalInstance', 'addressTakeSelf', 'nameList', '$http', function ($scope, $rootScope, isModify, $modalInstance, addressTakeSelf, nameList, $http) {
             $scope.isModify = isModify;
             $scope.nameList = nameList;
             if (!addressTakeSelf){