|
@@ -1,13 +1,13 @@
|
|
|
define([ 'app/app' ], function(app) {
|
|
define([ 'app/app' ], function(app) {
|
|
|
'use strict';
|
|
'use strict';
|
|
|
- app.register.controller('vendorUploadCtrl', ['$scope', '$rootScope', 'ngTableParams', '$upload', '$q', 'AuthenticationService', 'BaseService', 'StoreInfo', 'SessionService', '$modal', 'toaster', 'ReleaseProductByBatch', 'Loading', 'Enterprise', 'DistributionRule', '$state', '$location', function ($scope, $rootScope, ngTableParams, $upload, $q, AuthenticationService, BaseService, StoreInfo, SessionService, $modal, toaster, ReleaseProductByBatch, Loading, Enterprise, DistributionRule, $state, $location) {
|
|
|
|
|
|
|
+ app.register.controller('productUploadCtrl', ['$scope', '$rootScope', 'ngTableParams', '$upload', '$q', 'AuthenticationService', 'BaseService', 'StoreInfo', 'SessionService', '$modal', 'toaster', 'ReleaseProductByBatch', 'Loading', 'Enterprise', 'DistributionRule', '$state', '$location', function ($scope, $rootScope, ngTableParams, $upload, $q, AuthenticationService, BaseService, StoreInfo, SessionService, $modal, toaster, ReleaseProductByBatch, Loading, Enterprise, DistributionRule, $state, $location) {
|
|
|
$scope.ignoreImport = 1;
|
|
$scope.ignoreImport = 1;
|
|
|
if (!$rootScope.$$productOn) {
|
|
if (!$rootScope.$$productOn) {
|
|
|
$rootScope.$$productOn = {};
|
|
$rootScope.$$productOn = {};
|
|
|
$rootScope.$$productOn.leadIn = 'bathOn';
|
|
$rootScope.$$productOn.leadIn = 'bathOn';
|
|
|
$rootScope.$$productOn.tab = 'bathOnPerson';
|
|
$rootScope.$$productOn.tab = 'bathOnPerson';
|
|
|
}
|
|
}
|
|
|
- $rootScope.active = 'vendor_upload';
|
|
|
|
|
|
|
+ $rootScope.active = 'product_upload';
|
|
|
document.title = '产品导入-优软商城';
|
|
document.title = '产品导入-优软商城';
|
|
|
//切换展示的信息
|
|
//切换展示的信息
|
|
|
$scope.toggleActive = function(active) {
|
|
$scope.toggleActive = function(active) {
|