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