Przeglądaj źródła

产品明细滚动条修复,选择供应商问题处理

git-svn-id: svn+ssh://10.10.101.21/source/platform/platform-b2b@7743 f3bf4e98-0cf0-11e4-a00c-a99a8b9d557d
dongbw 9 lat temu
rodzic
commit
71c9f0750b

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

@@ -10178,6 +10178,12 @@ define([ 'toaster', 'charts', 'ngTable', 'common/services', 'service/Purc', 'ser
                 toaster.pop('error', '数据加载失败', response.data);
             });
         }
+
+        if(angular.isUndefined($stateParams.id)) { // 发布招标单之后,再次新增招标单时,新增供应商时不会勾选上一个单据选择的供应商
+            $scope.tenderProd.enterpriseBaseInfo = [{}];
+            $rootScope.tenderVendor = $scope.tenderProd.enterpriseBaseInfo;
+        }
+
         $scope.changeShipAddress = false;
         $scope.changeAddress = function() {
             if ($scope.changeShipAddress) {
@@ -10200,7 +10206,6 @@ define([ 'toaster', 'charts', 'ngTable', 'common/services', 'service/Purc', 'ser
           }
         };
 
-
         // 查找供应商
         $scope.dbfindVendor = function(){
             var modalInstance = $modal.open({

+ 1 - 1
src/main/webapp/resources/tpl/index/purc/tender.html

@@ -304,7 +304,7 @@
     .tender-list02 dl span.wid03 a.active{ display: inline-block;}
     .tender-list02 dl span.wid03 a i{width: 20px;height: 20px;display: inline-block;line-height: 20px;background: #d2272d;text-align: center;border-radius: 100%;color: #fff;}
     .tender-list02 .com_title01 a{float: right;margin-right: 45px;font-size: 14px;line-height: 50px;}
-    .scroll-y{width: 100%;margin: 0 auto;max-height: 500px;}
+    .scroll-y{width: 100%;margin: 0 auto;max-height: 500px; overflow-y: auto;}
     .scroll-y.active{overflow-y: scroll;  overflow-x: hidden;  }
 
     /* 弹框 */