|
|
@@ -4178,7 +4178,7 @@ define(['toaster', 'charts', 'ngTable', 'common/services', 'common/directives',
|
|
|
item.history = data;
|
|
|
}, function (response) {
|
|
|
$scope.historyShow = false;
|
|
|
- toaster.pop('error', '数据加载失败', response.data);
|
|
|
+ //toaster.pop('error', '数据加载失败', response.data);
|
|
|
});
|
|
|
}
|
|
|
};
|
|
|
@@ -6434,8 +6434,6 @@ define(['toaster', 'charts', 'ngTable', 'common/services', 'common/directives',
|
|
|
mould.history = data;
|
|
|
},function (response) {
|
|
|
$scope.historyShow = false;
|
|
|
- toaster.pop('error', '提示', response.data);
|
|
|
- //$Scope.PurcInquiryMouldpermission = true;
|
|
|
});
|
|
|
}
|
|
|
};
|
|
|
@@ -6645,7 +6643,7 @@ define(['toaster', 'charts', 'ngTable', 'common/services', 'common/directives',
|
|
|
mould.history = data;
|
|
|
},function (response) {
|
|
|
$scope.historyShow = false;
|
|
|
- toaster.pop('error', '提示', response.data);
|
|
|
+ //toaster.pop('error', '提示', response.data);
|
|
|
});
|
|
|
}
|
|
|
};
|
|
|
@@ -13409,11 +13407,13 @@ define(['toaster', 'charts', 'ngTable', 'common/services', 'common/directives',
|
|
|
$scope.isUser = data.isUser;
|
|
|
});
|
|
|
var loadData = function () {
|
|
|
- MakeOutOrder.getItem({id: $stateParams.id}, function (data) {
|
|
|
+ MakeOutOrder.getItem({id: $stateParams.id},{}, function (data) {
|
|
|
$scope.order = data;
|
|
|
var sum = $scope.order.qty * $scope.order.price;
|
|
|
$scope.order.total = sum;
|
|
|
$scope.loading = false;
|
|
|
+ }, function (response) {
|
|
|
+ toaster.pop('error', '提示', response.data);
|
|
|
});
|
|
|
};
|
|
|
loadData();
|