|
@@ -79,6 +79,7 @@ define(['app/app'], function(app) {
|
|
|
var getOrderData = function() {
|
|
var getOrderData = function() {
|
|
|
return Order.findStatusByOrderid({enOrderid : $stateParams.orderid}, function (response) {
|
|
return Order.findStatusByOrderid({enOrderid : $stateParams.orderid}, function (response) {
|
|
|
|
|
|
|
|
|
|
+ $scope.storeArray = [];
|
|
|
if (response.status == 501){
|
|
if (response.status == 501){
|
|
|
Order.orderContainGoods({enOrderid : $stateParams.orderid}, function(data) {
|
|
Order.orderContainGoods({enOrderid : $stateParams.orderid}, function(data) {
|
|
|
$scope.order = data;
|
|
$scope.order = data;
|
|
@@ -97,6 +98,7 @@ define(['app/app'], function(app) {
|
|
|
if($scope.$$orderDetailsMap[detail.storeName]) {
|
|
if($scope.$$orderDetailsMap[detail.storeName]) {
|
|
|
$scope.$$orderDetailsMap[detail.storeName].push(detail);
|
|
$scope.$$orderDetailsMap[detail.storeName].push(detail);
|
|
|
}else {
|
|
}else {
|
|
|
|
|
+ $scope.storeArray.push(detail.storeid);
|
|
|
$scope.$$orderDetailsMap[detail.storeName] = [];
|
|
$scope.$$orderDetailsMap[detail.storeName] = [];
|
|
|
$scope.remarkList[detail.storeid] = "";
|
|
$scope.remarkList[detail.storeid] = "";
|
|
|
$scope.$$orderDetailsMap[detail.storeName].push(detail);
|
|
$scope.$$orderDetailsMap[detail.storeName].push(detail);
|
|
@@ -124,6 +126,7 @@ define(['app/app'], function(app) {
|
|
|
if($scope.$$orderDetailsMap[detail.storeName]) {
|
|
if($scope.$$orderDetailsMap[detail.storeName]) {
|
|
|
$scope.$$orderDetailsMap[detail.storeName].push(detail);
|
|
$scope.$$orderDetailsMap[detail.storeName].push(detail);
|
|
|
}else {
|
|
}else {
|
|
|
|
|
+ $scope.storeArray.push(detail.storeid);
|
|
|
$scope.$$orderDetailsMap[detail.storeName] = [];
|
|
$scope.$$orderDetailsMap[detail.storeName] = [];
|
|
|
$scope.$$orderDetailsMap[detail.storeName].push(detail);
|
|
$scope.$$orderDetailsMap[detail.storeName].push(detail);
|
|
|
}
|
|
}
|