|
|
@ -6815,6 +6815,8 @@ define(['angular', 'decimal', 'static/commons/commons', 'uiBootstrap', 'uiRouter
|
|
|
|
function ($scope, $http, $uibModal, $state, subMerchantInfo, $filter, merchantIds, commonDialog, wechatGoodMcc, businessTypesMap) {
|
|
|
|
function ($scope, $http, $uibModal, $state, subMerchantInfo, $filter, merchantIds, commonDialog, wechatGoodMcc, businessTypesMap) {
|
|
|
|
$scope.wxIndustries = angular.copy(wxMerchantIndustries)
|
|
|
|
$scope.wxIndustries = angular.copy(wxMerchantIndustries)
|
|
|
|
$scope.subMerchantInfo = angular.copy(subMerchantInfo)
|
|
|
|
$scope.subMerchantInfo = angular.copy(subMerchantInfo)
|
|
|
|
|
|
|
|
$scope.subMerchantInfo.address= subMerchantInfo.address+","+subMerchantInfo.suburb
|
|
|
|
|
|
|
|
+","+subMerchantInfo.state+","+subMerchantInfo.country;
|
|
|
|
$scope.subMerchantInfo.company_register_no = subMerchantInfo.abn ? subMerchantInfo.abn : subMerchantInfo.acn
|
|
|
|
$scope.subMerchantInfo.company_register_no = subMerchantInfo.abn ? subMerchantInfo.abn : subMerchantInfo.acn
|
|
|
|
$scope.wechatMccIndustries = wechatGoodMcc.configs()
|
|
|
|
$scope.wechatMccIndustries = wechatGoodMcc.configs()
|
|
|
|
$scope.merchantIds = merchantIds.data
|
|
|
|
$scope.merchantIds = merchantIds.data
|
|
|
@ -6993,7 +6995,8 @@ define(['angular', 'decimal', 'static/commons/commons', 'uiBootstrap', 'uiRouter
|
|
|
|
$scope.subMerchantInfo.short_name = $scope.merchantInfo.short_name
|
|
|
|
$scope.subMerchantInfo.short_name = $scope.merchantInfo.short_name
|
|
|
|
$scope.subMerchantInfo.industry = $scope.merchantInfo.industry
|
|
|
|
$scope.subMerchantInfo.industry = $scope.merchantInfo.industry
|
|
|
|
$scope.subMerchantInfo.company_website = $scope.merchantInfo.company_website
|
|
|
|
$scope.subMerchantInfo.company_website = $scope.merchantInfo.company_website
|
|
|
|
$scope.subMerchantInfo.address = $scope.merchantInfo.address
|
|
|
|
$scope.subMerchantInfo.address = $scope.merchantInfo.address+","+$scope.merchantInfo.suburb
|
|
|
|
|
|
|
|
+","+$scope.merchantInfo.state+","+$scope.merchantInfo.country;
|
|
|
|
$scope.subMerchantInfo.company_phone = $scope.merchantInfo.company_phone
|
|
|
|
$scope.subMerchantInfo.company_phone = $scope.merchantInfo.company_phone
|
|
|
|
$scope.subMerchantInfo.contact_person = $scope.merchantInfo.contact_person
|
|
|
|
$scope.subMerchantInfo.contact_person = $scope.merchantInfo.contact_person
|
|
|
|
$scope.subMerchantInfo.contact_phone = $scope.merchantInfo.contact_phone
|
|
|
|
$scope.subMerchantInfo.contact_phone = $scope.merchantInfo.contact_phone
|
|
|
|