Jelajahi Sumber

去掉企业开票功能

hejq 7 tahun lalu
induk
melakukan
99a31ff939

+ 0 - 21
src/main/webapp/resources/js/index/app.js

@@ -10970,12 +10970,6 @@ define(['toaster', 'charts', 'ngTable', 'common/services', 'common/directives',
                 toaster.pop('error', '提示', response.data);
             });
 
-            // 获取企业开票信息
-            AccountEnterprise.getApBillOutInfo({enuu: $scope.enterprise.uu}, {}, function(data) {
-                $scope.apBillOutInfo = data;
-            }, function(response) {
-                toaster.pop('error', '提示', response.data);
-            });
         });
 
         // 更新企业信息
@@ -10994,21 +10988,6 @@ define(['toaster', 'charts', 'ngTable', 'common/services', 'common/directives',
             });
         };
 
-        // 更新企业开票信息
-        $scope.updateApBillOutInfo = function(uu){
-            $scope.loading = true;
-            $scope.apBillOutInfo.uu = uu;
-            AccountEnterprise.saveApBillOutInfo($scope.apBillOutInfo, function(){
-                $scope.loading = false;
-                $scope.apBillOutInfoEditing = false;
-                toaster.pop('success', '提示', '修改企业开票信息成功');
-                $state.reload();
-            }, function(response){
-                $scope.loading = false;
-                toaster.pop('error', '修改信息失败', response.data);
-            });
-        };
-
         // 申请Saas
         $scope.applySaas = function () {
             if ($scope.enterprise.enUrl && $scope.enterprise.enAddress && $scope.enterprise.enIndustry) {

+ 0 - 8
src/main/webapp/resources/js/index/services/Account.js

@@ -8,14 +8,6 @@ define([ 'ngResource' ], function() {
 			applySaas: {
 				url: 'account/enterprise/applySaas',
 				method: 'POST'
-			},
-			saveApBillOutInfo: {
-				url: 'account/enterprise/saveApBillOutInfo',
-				method: 'POST'
-			},
-			getApBillOutInfo: {
-				url: 'account/enterprise/getApBillOutInfo/:enuu',
-				method: 'GET'
 			}
 		});
 	}]).factory('ErpLog', ['$resource', function($resource) {