|
|
@ -5685,6 +5685,21 @@ define(['angular', 'decimal', 'static/commons/commons', 'uiBootstrap', 'uiRouter
|
|
|
|
});
|
|
|
|
});
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
$scope.copyMWProfile = function () {
|
|
|
|
|
|
|
|
commonDialog.inputText({title:'请输入复制来源商户编码'}).then(function (text) {
|
|
|
|
|
|
|
|
$http.put('/sys/partners/' + $scope.partner.client_moniker + '/copy_mw_config',{client_moniker: text}).then(function (resp) {
|
|
|
|
|
|
|
|
commonDialog.alert({
|
|
|
|
|
|
|
|
title: 'Success',
|
|
|
|
|
|
|
|
content: 'Modify successfully',
|
|
|
|
|
|
|
|
type: 'success'
|
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
$scope.loadPartnerInfo();
|
|
|
|
|
|
|
|
},function (resp) {
|
|
|
|
|
|
|
|
commonDialog.alert({ title: 'Error', content: resp.data.message, type: 'error' });
|
|
|
|
|
|
|
|
})
|
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
// $scope.showMoreMerchantInfo = false;
|
|
|
|
// $scope.showMoreMerchantInfo = false;
|
|
|
|
// $scope.hideMerchantInfo = function () {
|
|
|
|
// $scope.hideMerchantInfo = function () {
|
|
|
|
// $scope.showMoreMerchantInfo = !$scope.showMoreMerchantInfo;
|
|
|
|
// $scope.showMoreMerchantInfo = !$scope.showMoreMerchantInfo;
|
|
|
|