Browse Source

主动报价选择客户物料时先进行判断是否选择客户

git-svn-id: svn+ssh://10.10.101.21/source/platform/platform-b2b@10657 f3bf4e98-0cf0-11e4-a00c-a99a8b9d557d
hejq 8 years ago
parent
commit
8a48327e5e
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/main/webapp/resources/js/index/app.js

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

@@ -5680,7 +5680,7 @@ define(['toaster', 'charts', 'ngTable', 'common/services', 'common/directives',
         // 查找客户物料
         $scope.dbfindCustProd = function () {
             if ($scope.item.$editing) {
-                if ($scope.item.quotation.cust.uu) {
+                if ($scope.item.quotation.cust) {
                     var modalInstance = $modal.open({
                         templateUrl: 'static/tpl/index/sale/quotation_new_custProd.html',
                         controller: 'DbfindCustProdCtrl',