Browse Source

更新批量回复方法,采用主表id去维护未回复的订单信息

hejq 7 years ago
parent
commit
0fe6cfbeb6
1 changed files with 2 additions and 4 deletions
  1. 2 4
      src/main/webapp/resources/js/index/app.js

+ 2 - 4
src/main/webapp/resources/js/index/app.js

@@ -3326,10 +3326,8 @@ define(['toaster', 'charts', 'ngTable', 'common/services', 'common/directives',
             var str = '';
             angular.forEach($scope.tableParams.data, function (order) {
                 if (order.$selected == true) {
-                    angular.forEach(order.orderItems, function (item) {
-                        str += item.id;
-                        str += ',';
-                    });
+                    str += order.id;
+                    str += ',';
                 }
             });
             if (!(str == '')) {