|
|
@@ -2074,8 +2074,7 @@ define([ 'toaster', 'charts', 'ngTable', 'common/services', 'service/Purc', 'ser
|
|
|
};
|
|
|
}]);
|
|
|
|
|
|
- // 模具询价管理
|
|
|
- //TODO
|
|
|
+ // 模具询价管理
|
|
|
app.controller('SaleInquiryMouldCtrl',['$scope', '$filter', 'PurcInquiryMould', 'ngTableParams', 'toaster', 'BaseService', '$upload', function($scope, $filter, PurcInquiryMould, ngTableParams, toaster, BaseService, $upload){
|
|
|
$scope.active = 'todo';
|
|
|
$scope.agreedText = '全部';
|
|
|
@@ -2293,7 +2292,7 @@ define([ 'toaster', 'charts', 'ngTable', 'common/services', 'service/Purc', 'ser
|
|
|
}]);
|
|
|
|
|
|
|
|
|
- //TODO 模具询价单明细
|
|
|
+ // 模具询价单明细
|
|
|
app.controller('SaleInquiryMouldDetailCtrl', ['$scope', '$stateParams', 'PurcInquiryMould','$filter', 'toaster','$upload', function($scope, $stateParams, PurcInquiryMould, $filter, toaster, $upload){
|
|
|
|
|
|
var inquiryMould_copy = {};
|
|
|
@@ -7758,6 +7757,9 @@ app.controller('SaleSendCtrl', ['$scope', '$filter', 'SaleSend', 'ngTableParams'
|
|
|
toaster.pop('error', '失败', response.data);
|
|
|
})
|
|
|
};
|
|
|
+
|
|
|
+
|
|
|
+ $scope.status = 'send';
|
|
|
}]);
|
|
|
|
|
|
|
|
|
@@ -7838,12 +7840,17 @@ app.controller('SaleSendCtrl', ['$scope', '$filter', 'SaleSend', 'ngTableParams'
|
|
|
toaster.pop('error', '提示', response.data);
|
|
|
});
|
|
|
}
|
|
|
+
|
|
|
+ $scope.status = 'get';
|
|
|
}]);
|
|
|
|
|
|
/**
|
|
|
* 我的合作伙伴
|
|
|
*/
|
|
|
app.controller('MyPartnersCtrl', ['$scope', 'toaster', 'GetProductInfo', function($scope, toaster, GetProductInfo) {
|
|
|
+ // 默认显示合作伙伴
|
|
|
+ $scope.status = 'news';
|
|
|
+
|
|
|
// 获取所有的合作伙伴
|
|
|
GetProductInfo.getAllPartners({}, function(data) {
|
|
|
console.log(data);
|
|
|
@@ -7910,5 +7917,6 @@ app.controller('SaleSendCtrl', ['$scope', '$filter', 'SaleSend', 'ngTableParams'
|
|
|
});
|
|
|
}]);
|
|
|
|
|
|
+
|
|
|
return app;
|
|
|
});
|