git-svn-id: svn+ssh://10.10.101.21/source/platform/platform-b2b@10657 f3bf4e98-0cf0-11e4-a00c-a99a8b9d557d
@@ -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',