|
|
|
@ -668,17 +668,17 @@ define(['angular', 'decimal', 'static/commons/commons', 'uiBootstrap', 'uiRouter
|
|
|
|
|
|
|
|
|
|
//制作卡支付合同
|
|
|
|
|
$scope.exportCardAgreegatePDF = function(){
|
|
|
|
|
$scope.showCardBg = true;
|
|
|
|
|
$scope.showBg = true;
|
|
|
|
|
$http.get('/sys/partners/' + $scope.partner.client_moniker + '/export/aggregate/card_agree_pdf').then(function () {
|
|
|
|
|
commonDialog.alert({
|
|
|
|
|
title: 'Success',
|
|
|
|
|
content: 'Agreement File Generate Succeed! Please notify BD!',
|
|
|
|
|
type: 'success'
|
|
|
|
|
});
|
|
|
|
|
$scope.showCardBg = false;
|
|
|
|
|
$scope.showBg = false;
|
|
|
|
|
$state.reload();
|
|
|
|
|
}, function (resp) {
|
|
|
|
|
$scope.showCardBg = false;
|
|
|
|
|
$scope.showBg = false;
|
|
|
|
|
$state.reload();
|
|
|
|
|
commonDialog.alert({title: 'Error', content: resp.data.message, type: 'error'});
|
|
|
|
|
});
|
|
|
|
@ -698,7 +698,7 @@ define(['angular', 'decimal', 'static/commons/commons', 'uiBootstrap', 'uiRouter
|
|
|
|
|
var choises = [{label: '取消', className: 'btn-danger', key: '2', dismiss: true},
|
|
|
|
|
{label: '确认生成', className: 'btn-success', key: '1'}];
|
|
|
|
|
var content = '';
|
|
|
|
|
$scope.showCardPromotionaBg = true;
|
|
|
|
|
$scope.showBg = true;
|
|
|
|
|
commonDialog.confirm({
|
|
|
|
|
title: title,
|
|
|
|
|
content: content,
|
|
|
|
@ -716,10 +716,10 @@ define(['angular', 'decimal', 'static/commons/commons', 'uiBootstrap', 'uiRouter
|
|
|
|
|
content: 'Agreement File Generate Succeed! Please notify BD!',
|
|
|
|
|
type: 'success'
|
|
|
|
|
});
|
|
|
|
|
$scope.showCardPromotionaBg = false;
|
|
|
|
|
$scope.showBg = false;
|
|
|
|
|
$state.reload();
|
|
|
|
|
}, function (resp) {
|
|
|
|
|
$scope.showCardPromotionaBg = false;
|
|
|
|
|
$scope.showBg = false;
|
|
|
|
|
$state.reload();
|
|
|
|
|
commonDialog.alert({title: 'Error', content: resp.data.message, type: 'error'});
|
|
|
|
|
});
|
|
|
|
|