|
@@ -1,6 +1,6 @@
|
|
|
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', function ($scope, $rootScope, ngTableParams, $upload, $q, AuthenticationService, BaseService, StoreInfo, SessionService, $modal, toaster, ReleaseProductByBatch, Loading, Enterprise, DistributionRule, $state) {
|
|
|
|
|
|
|
+ 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) {
|
|
|
if (!$rootScope.$$productOn) {
|
|
if (!$rootScope.$$productOn) {
|
|
|
$rootScope.$$productOn = {};
|
|
$rootScope.$$productOn = {};
|
|
|
$rootScope.$$productOn.leadIn = 'bathOn';
|
|
$rootScope.$$productOn.leadIn = 'bathOn';
|
|
@@ -15,12 +15,21 @@ define([ 'app/app' ], function(app) {
|
|
|
$state.reload();
|
|
$state.reload();
|
|
|
}
|
|
}
|
|
|
};
|
|
};
|
|
|
|
|
+ if ($location.$$search.type == 'self') {
|
|
|
|
|
+ $scope.toggleActive('bathOnPerson');
|
|
|
|
|
+ }
|
|
|
$scope.deletePop = false;
|
|
$scope.deletePop = false;
|
|
|
$scope.personMedol =false;
|
|
$scope.personMedol =false;
|
|
|
$scope.setPersonMedol = function () {
|
|
$scope.setPersonMedol = function () {
|
|
|
$scope.personMedol =false;
|
|
$scope.personMedol =false;
|
|
|
};
|
|
};
|
|
|
|
|
|
|
|
|
|
+ $scope.showTip = true;
|
|
|
|
|
+
|
|
|
|
|
+ $scope.closeTip = function () {
|
|
|
|
|
+ $scope.showTip = false;
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
//获取币别信息
|
|
//获取币别信息
|
|
|
Enterprise.getCurrencyByRegisterAddress(null, function (data) {
|
|
Enterprise.getCurrencyByRegisterAddress(null, function (data) {
|
|
|
if(data.code == 1) {
|
|
if(data.code == 1) {
|