|
|
@@ -10142,7 +10142,7 @@ define([ 'toaster', 'charts', 'ngTable', 'common/services', 'common/directives',
|
|
|
// 一键匹配
|
|
|
$scope.matchall = function() {
|
|
|
Products.matchall({}, function(data) {
|
|
|
- toaster.pop('info', '提示', '匹配成功'+data.size+'标准器件');
|
|
|
+ toaster.pop('info', '提示', '匹配成功'+data.size+'个标准器件');
|
|
|
window.location.href = "#/sale/productmatches";
|
|
|
}, function(response) {
|
|
|
toaster.pop('error', '提示', response.data);
|
|
|
@@ -10186,7 +10186,6 @@ define([ 'toaster', 'charts', 'ngTable', 'common/services', 'common/directives',
|
|
|
loadData();
|
|
|
|
|
|
$scope.okay = function() {
|
|
|
- console.log($scope.parameter);
|
|
|
Products.alterByBatch({parameter: $scope.parameter}, {}, function(data) {
|
|
|
$modalInstance.close(data);
|
|
|
}, function(response) {
|
|
|
@@ -15965,7 +15964,7 @@ define([ 'toaster', 'charts', 'ngTable', 'common/services', 'common/directives',
|
|
|
// 一键匹配
|
|
|
$scope.matchall = function() {
|
|
|
Products.matchall({}, function(data) {
|
|
|
- toaster.pop('info', '提示', '匹配成功'+data.size+'标准器件');
|
|
|
+ toaster.pop('info', '提示', '匹配成功'+data.size+'个标准器件');
|
|
|
window.location.href = "#/approvalFlow/productmatches";
|
|
|
}, function(response) {
|
|
|
toaster.pop('error', '提示', response.data);
|
|
|
@@ -16679,7 +16678,7 @@ define([ 'toaster', 'charts', 'ngTable', 'common/services', 'common/directives',
|
|
|
// 一键匹配
|
|
|
$scope.matchall = function() {
|
|
|
Products.matchall({}, function(data) {
|
|
|
- toaster.pop('info', '提示', '匹配成功'+data.size+'标准器件');
|
|
|
+ toaster.pop('info', '提示', '匹配成功'+data.size+'个标准器件');
|
|
|
window.location.href = "#/purc/productmatches";
|
|
|
}, function(response) {
|
|
|
toaster.pop('error', '提示', response.data);
|