Browse Source

公共询价客户分配时,设置默认值更新

hejq 8 years ago
parent
commit
49e10089d1

+ 1 - 1
src/main/java/com/uas/platform/b2b/controller/PubInquiryListController.java

@@ -173,7 +173,7 @@ public class PubInquiryListController {
             modelAndView.addObject("state", "我的客户询价");
             List<Long> uuList = customerService.getCustomerDistribute();
             if (CollectionUtils.isEmpty(uuList)) {
-                uuList.add(1l);
+                uuList.add(0l);
             }
             modelAndView.addObject("data", enquiryService.fingByPageInfo(pageInfo, filter, uuList).getContent());
             modelAndView.setView(new JxlsExcelView("classpath:jxls-tpl/public/publicInquiry", "客户公共询价列表"));

+ 1 - 1
src/main/webapp/resources/js/index/app.js

@@ -5575,7 +5575,7 @@ define(['toaster', 'charts', 'ngTable', 'common/services', 'common/directives',
                 } else if ($scope.active == 'customer') {
                     $scope.distribute = $scope.customer;
                     if ($scope.distribute.length == 0) {
-                        $scope.distribute = [1];
+                        $scope.distribute = [0];
                     }
                     $scope.remind = false;
                 } else if ($scope.active == 'remind') {