Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
T
traffic-front
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wangxiaoming
traffic-front
Commits
dc7fd7a0
Commit
dc7fd7a0
authored
Apr 04, 2019
by
kevin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
#
parent
5a872d30
Hide whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
128 additions
and
62 deletions
+128
-62
AnalysisServiceImpl.java
...va/pwc/taxtech/atms/service/impl/AnalysisServiceImpl.java
+2
-0
ReportServiceImpl.java
.../pwc/taxtech/atms/vat/service/impl/ReportServiceImpl.java
+8
-1
conf_profile_uat.properties
atms-api/src/main/resources/conf/conf_profile_uat.properties
+1
-1
app.json
atms-web/src/main/webapp/app-resources/i18n/zh-CN/app.json
+1
-1
international-data-import.ctrl.js
...ternational-data-import/international-data-import.ctrl.js
+43
-11
international-data-import.html
.../international-data-import/international-data-import.html
+36
-30
international-data-import.less
.../international-data-import/international-data-import.less
+3
-3
table-report-sheet.js
...ain/webapp/app/analysis/table/sheet/table-report-sheet.js
+14
-3
tb-ebit-form.ctrl.js
...b/src/main/webapp/app/analysis/table/tb-ebit-form.ctrl.js
+17
-8
import-invoice-record.ctrl.js
...mport/import-invoice-record/import-invoice-record.ctrl.js
+0
-1
import-invoice-record.less
...s/import/import-invoice-record/import-invoice-record.less
+2
-2
constant.js
atms-web/src/main/webapp/app/common/utils/constant.js
+1
-1
No files found.
atms-api/src/main/java/pwc/taxtech/atms/service/impl/AnalysisServiceImpl.java
View file @
dc7fd7a0
...
@@ -548,6 +548,8 @@ public class AnalysisServiceImpl extends BaseService {
...
@@ -548,6 +548,8 @@ public class AnalysisServiceImpl extends BaseService {
if
(
isSheetEmpty
(
sheet
))
continue
;
if
(
isSheetEmpty
(
sheet
))
continue
;
List
<
AnalysisInternationalBusinessData
>
lists
=
Lists
.
newArrayList
();
List
<
AnalysisInternationalBusinessData
>
lists
=
Lists
.
newArrayList
();
for
(
int
j
=
1
;
j
<=
sheet
.
getLastRowNum
();
j
++)
{
for
(
int
j
=
1
;
j
<=
sheet
.
getLastRowNum
();
j
++)
{
if
(
j
>
2
)
break
;
AnalysisInternationalBusinessData
model
=
new
AnalysisInternationalBusinessData
();
AnalysisInternationalBusinessData
model
=
new
AnalysisInternationalBusinessData
();
model
.
setId
(
idService
.
nextId
());
model
.
setId
(
idService
.
nextId
());
model
.
setPeriod
(
selectedPer
);
model
.
setPeriod
(
selectedPer
);
...
...
atms-api/src/main/java/pwc/taxtech/atms/vat/service/impl/ReportServiceImpl.java
View file @
dc7fd7a0
...
@@ -2520,7 +2520,7 @@ public class ReportServiceImpl extends BaseService {
...
@@ -2520,7 +2520,7 @@ public class ReportServiceImpl extends BaseService {
}
}
InputStream
inputStream
=
httpFileService
.
getUserTemplate
(
path
);
InputStream
inputStream
=
httpFileService
.
getUserTemplate
(
path
);
Workbook
workbook1
=
WorkbookFactory
.
create
(
inputStream
);
Workbook
workbook1
=
WorkbookFactory
.
create
(
inputStream
);
fileName
=
zipPath
+
"/"
+
requestParameterDto
.
getPeriod
()
+
".xlsx"
;
fileName
=
zipPath
+
"/"
+
getOrgName
(
ebitSpreadData
.
get
(
i
).
getOrganizationId
())
+
requestParameterDto
.
getPeriod
()
+
".xlsx"
;
fileList
.
add
(
FileExcelUtil
.
generateExcelToPath
(
workbook1
,
fileName
));
fileList
.
add
(
FileExcelUtil
.
generateExcelToPath
(
workbook1
,
fileName
));
}
}
String
zipPath1
=
zipPath
+
"/sizegang.zip"
;
String
zipPath1
=
zipPath
+
"/sizegang.zip"
;
...
@@ -2532,6 +2532,13 @@ public class ReportServiceImpl extends BaseService {
...
@@ -2532,6 +2532,13 @@ public class ReportServiceImpl extends BaseService {
InputStream is = new ByteArrayInputStream(barray);*/
InputStream is = new ByteArrayInputStream(barray);*/
// FileOutputStream fileOut = new FileOutputStream(path);
// FileOutputStream fileOut = new FileOutputStream(path);
}
}
@Autowired
private
OrganizationMapper
organizationMapper
;
public
String
getOrgName
(
String
orgId
){
OrganizationExample
example
=
new
OrganizationExample
();
example
.
createCriteria
().
andIdEqualTo
(
orgId
);
return
organizationMapper
.
selectByExample
(
example
).
get
(
0
).
getName
();
}
private
String
getCellStringValue
(
Cell
cell
)
{
private
String
getCellStringValue
(
Cell
cell
)
{
if
(
cell
.
getCellTypeEnum
().
equals
(
CellType
.
STRING
))
{
if
(
cell
.
getCellTypeEnum
().
equals
(
CellType
.
STRING
))
{
...
...
atms-api/src/main/resources/conf/conf_profile_uat.properties
View file @
dc7fd7a0
...
@@ -59,7 +59,7 @@ org_sync_token=174af08f
...
@@ -59,7 +59,7 @@ org_sync_token=174af08f
dd_pubkey
=
MFwwDQYJKoZIhvcNAQEBBQADSwAwSAJBAKUfMPRKV6I5num1dDWcxTrgTjXf5LctsVj0CpbwHE83mmjUO5CAlvA0Fwy30ajCX5sLmsyi+Eu/4uNmM6GQF3kCAwEAAQ==
dd_pubkey
=
MFwwDQYJKoZIhvcNAQEBBQADSwAwSAJBAKUfMPRKV6I5num1dDWcxTrgTjXf5LctsVj0CpbwHE83mmjUO5CAlvA0Fwy30ajCX5sLmsyi+Eu/4uNmM6GQF3kCAwEAAQ==
ebs_call_url
=
http://172.20.201.201:8020/ebs-proxy-test/dts
/glMonthlyBal?pageNum=1&pageSize=1000&ledgerId=2021&companyCode=120200&period=2018-11
ebs_call_url
=
http://172.20.201.201:8020/ebs-proxy-test/dts
#tableau config
#tableau config
tableau_get_ticket
=
http://47.94.233.173:16010/trusted?username=%s
tableau_get_ticket
=
http://47.94.233.173:16010/trusted?username=%s
...
...
atms-web/src/main/webapp/app-resources/i18n/zh-CN/app.json
View file @
dc7fd7a0
...
@@ -892,7 +892,7 @@
...
@@ -892,7 +892,7 @@
"Form"
:
"表格"
,
"Form"
:
"表格"
,
"DomesticDataImport"
:
"国内数据"
,
"DomesticDataImport"
:
"国内数据"
,
"InternationalDataImport"
:
"国际税数据"
,
"InternationalDataImport"
:
"国际税数据"
,
"TBEBITForm"
:
"T
B
EBIT 表格"
,
"TBEBITForm"
:
"T
P
EBIT 表格"
,
"ClickEnsureTip"
:
"请点击确定按钮!"
,
"ClickEnsureTip"
:
"请点击确定按钮!"
,
"MenuUnreturnedTax"
:
"未返还税金分析"
,
"MenuUnreturnedTax"
:
"未返还税金分析"
,
"MenuTaxComparison"
:
"未返还/返还后税金比较"
,
"MenuTaxComparison"
:
"未返还/返还后税金比较"
,
...
...
atms-web/src/main/webapp/app/analysis/data-import/international-data-import/international-data-import.ctrl.js
View file @
dc7fd7a0
...
@@ -49,7 +49,7 @@
...
@@ -49,7 +49,7 @@
$scope
.
selectCountry
=
''
;
$scope
.
selectCountry
=
''
;
$scope
.
internationalDataList
=
constant
.
internationalDataList
;
$scope
.
internationalDataList
=
constant
.
internationalDataList
;
$scope
.
countryList
=
constant
.
countryCNList
;
$scope
.
country
CNNAME
List
=
constant
.
countryCNList
;
var
date
=
new
Date
();
var
date
=
new
Date
();
var
year
=
date
.
getFullYear
();
var
year
=
date
.
getFullYear
();
...
@@ -195,12 +195,12 @@
...
@@ -195,12 +195,12 @@
}
}
if
(
!
$scope
.
selectCountry
||
''
===
$scope
.
selectCountry
)
{
if
(
!
$scope
.
selectCountry
||
''
===
$scope
.
selectCountry
)
{
SweetAlert
.
warning
(
$translate
.
instant
(
'PleaseSelect
File
First'
));
SweetAlert
.
warning
(
$translate
.
instant
(
'PleaseSelect
Country
First'
));
return
;
return
;
}
}
if
(
!
$scope
.
selectCompany
||
''
===
$scope
.
selectCompany
)
{
if
(
!
$scope
.
selectCompany
||
''
===
$scope
.
selectCompany
)
{
SweetAlert
.
warning
(
$translate
.
instant
(
'PleaseSelect
File
First'
));
SweetAlert
.
warning
(
$translate
.
instant
(
'PleaseSelect
Company
First'
));
return
;
return
;
}
}
...
@@ -576,8 +576,8 @@
...
@@ -576,8 +576,8 @@
refreshGrid
();
refreshGrid
();
};
};
$scope
.
selectCountryEvent
=
function
(
country
)
{
$scope
.
selectCountryEvent
=
function
()
{
$scope
.
selectCountry
=
country
;
////
$scope.selectCountry = country;
refreshGrid
();
refreshGrid
();
};
};
...
@@ -654,11 +654,32 @@
...
@@ -654,11 +654,32 @@
//机构下拉设置
//机构下拉设置
$scope
.
selectOrgOptions
=
{
$scope
.
selectOrgOptions
Contry
=
{
displayExpr
:
'name'
,
displayExpr
:
'name'
,
valueExpr
:
'id'
,
valueExpr
:
'id'
,
bindingOptions
:
{
bindingOptions
:
{
value
:
'relation._orgId'
,
value
:
'_selectCountry'
,
dataSource
:
'countryCNNAMEList'
},
height
:
'30px'
,
placeholder
:
$translate
.
instant
(
'PleaseSelected'
),
showClearButton
:
true
,
searchEnabled
:
true
,
noDataText
:
$translate
.
instant
(
'RevenueNoOrgData'
),
showSelectionControls
:
false
,
onInitialized
:
function
(
e
){
},
onItemClick
:
function
(
e
)
{
$scope
.
selectCountryEvent
();
}
};
$scope
.
selectOrgOptionsComany
=
{
displayExpr
:
'name'
,
valueExpr
:
'id'
,
bindingOptions
:
{
value
:
'_selectCompany'
,
dataSource
:
'companyList'
dataSource
:
'companyList'
},
},
height
:
'30px'
,
height
:
'30px'
,
...
@@ -670,12 +691,23 @@
...
@@ -670,12 +691,23 @@
onInitialized
:
function
(
e
){
onInitialized
:
function
(
e
){
},
},
onItemClick
:
function
(
e
)
{
onItemClick
:
function
(
e
)
{
loadCellData
(
$scope
.
relation
.
period
,
e
.
itemData
.
id
,
function
(){
$scope
.
selectCompanyEvent
(
e
.
itemData
);
$scope
.
relation
.
orgId
=
e
.
itemData
.
id
;
/* loadCellData($scope.relation.period, e.itemData.id,function(){
$scope
.
relation
.
orgName
=
e
.
itemData
.
name
;
$scope.
selectCompany
= e.itemData.name;
});
});
*/
}
}
};
};
$scope
.
_selectCountry
=
null
;
$scope
.
$watch
(
'_selectCountry'
,
function
(
n
,
o
){
if
(
n
!=
undefined
)
$scope
.
selectCountry
=
n
.
pop
();
});
$scope
.
_selectCompany
=
null
;
$scope
.
$watch
(
'_selectCompany'
,
function
(
n
,
o
){
if
(
n
!=
undefined
)
$scope
.
selectCompany
=
n
.
pop
();
});
/*------------------------------------------------------------------------------------------------------------*/
/*------------------------------------------------------------------------------------------------------------*/
//开始
//开始
...
...
atms-web/src/main/webapp/app/analysis/data-import/international-data-import/international-data-import.html
View file @
dc7fd7a0
...
@@ -10,31 +10,33 @@
...
@@ -10,31 +10,33 @@
<!--导航栏-->
<!--导航栏-->
<div
id=
"tab_total"
>
<div
id=
"tab_total"
>
<form
class=
"form-inline"
id=
"navigationForm"
name=
"navigationForm"
>
<form
class=
"form-inline"
id=
"navigationForm"
name=
"navigationForm"
>
<div
class=
"form-group"
ng-style=
"setButtonWrapStyle()"
>
<div
class=
"form-group"
ng-style=
"setButtonWrapStyle()"
style=
"width:100%;"
>
<div
class=
"import-wrapper"
style=
"margin-left: 17px;"
>
<div
class=
"import-wrapper"
style=
"margin-left: 17px;"
>
<div
class=
"row"
>
<div
class=
"row"
style=
"margin-top: 10px;"
>
<span
class=
"text-bold"
translate=
"SelectedImportType"
></span>
:
<div
class=
"col-sm-7"
>
<div
class=
"dropdown"
style=
"margin-left:10px"
>
<span
class=
"text-bold"
translate=
"SelectedImportType"
></span>
:
<button
class=
"btn btn-default dropdown-toggle"
type=
"button"
id=
"dropdownMenu2"
<div
class=
"dropdown"
style=
"margin-left:10px"
>
data-toggle=
"dropdown"
aria-haspopup=
"true"
aria-expanded=
"true"
style=
"width: 140px;"
>
<button
class=
"btn btn-default dropdown-toggle"
type=
"button"
id=
"dropdownMenu2"
{{selectType ? ((selectType)|translate):('PleaseSelect' | translate)}}
data-toggle=
"dropdown"
aria-haspopup=
"true"
aria-expanded=
"true"
style=
"width: 140px;"
>
<span
class=
"caret"
style=
"float: right "
></span>
{{selectType ? ((selectType)|translate):('PleaseSelect' | translate)}}
</button>
<span
class=
"caret"
style=
"float: right "
></span>
<ul
class=
"dropdown-menu"
style=
"width: 140px;"
aria-labelledby=
"dropdownMenu2"
>
</button>
<li
ng-repeat=
"i in internationalDataList"
ng-click=
"changeTab(i)"
>
<ul
class=
"dropdown-menu"
style=
"width: 140px;"
aria-labelledby=
"dropdownMenu2"
>
<div
class=
"checkbox-custom checkbox-default"
>
<li
ng-repeat=
"i in internationalDataList"
ng-click=
"changeTab(i)"
>
<span
style=
"margin-left:15px; float: left;"
>
{{(i.type)|translate}}
</span>
<div
class=
"checkbox-custom checkbox-default"
>
</div>
<span
style=
"margin-left:15px; float: left;"
>
{{(i.type)|translate}}
</span>
</li>
</div>
</ul>
</li>
</div>
</ul>
<span
class=
"text-bold"
translate=
"Period"
></span>
:
</div>
<div
class=
"period-picker"
style=
"margin-left:10px; width:141px;"
>
<span
class=
"text-bold"
translate=
"Period"
></span>
:
<input
type=
"text"
id=
"periodDatepicker"
class=
"datepicker imp-subheader"
style=
" width: 111px;"
<div
class=
"period-picker"
style=
"margin-left:10px; width:141px;"
>
readonly=
"readonly"
ng-model=
"UploadPeriodTime"
/>
<input
type=
"text"
id=
"periodDatepicker"
class=
"datepicker imp-subheader"
style=
" width: 111px;"
<i
class=
"fa fa-calendar imp-subheader red-color"
style=
"width:20px;"
></i>
readonly=
"readonly"
ng-model=
"UploadPeriodTime"
/>
</div>
<i
class=
"fa fa-calendar imp-subheader red-color"
style=
"width:20px;"
></i>
</div>
</div>
<div
class=
"col-sm-5"
style=
"width:60%;padding-left: 0px;"
>
<button
type=
"button"
<button
type=
"button"
ngf-select=
""
type=
"file"
ng-model=
"importExcelFile"
ngf-drag-over-class=
"'dragover'"
accept=
".xls,.xlsx"
ngf-multiple=
"false"
ngf-select=
""
type=
"file"
ng-model=
"importExcelFile"
ngf-drag-over-class=
"'dragover'"
accept=
".xls,.xlsx"
ngf-multiple=
"false"
ngf-allow-dir=
"false"
class=
"btn btn-vat-third"
>
ngf-allow-dir=
"false"
class=
"btn btn-vat-third"
>
...
@@ -56,9 +58,11 @@
...
@@ -56,9 +58,11 @@
translate=
"ExportBtn"
translate=
"ExportBtn"
ng-click=
"doExport()"
></button>
ng-click=
"doExport()"
></button>
</div>
</div>
</div>
<div
class=
"row"
style=
"margin-top: 10px;"
>
<div
class=
"row"
style=
"margin-top: 10px;"
>
<span
class=
"text-bold"
translate=
"Country"
></span>
:
<span
class=
"text-bold"
translate=
"Country"
style=
"position: relative; top: -7px;"
>
:
</span>
<div
class=
"dropdown"
style=
"margin-left:10px"
>
<!--
<div class="dropdown" style="margin-left:10px">
<button class="btn btn-default dropdown-toggle" type="button" id="dropdownMenu3"
<button class="btn btn-default dropdown-toggle" type="button" id="dropdownMenu3"
data-toggle="dropdown" aria-haspopup="true" aria-expanded="true" style="width: 150px;margin-left: 28px;">
data-toggle="dropdown" aria-haspopup="true" aria-expanded="true" style="width: 150px;margin-left: 28px;">
{{selectCountry ? ((selectCountry)|translate):('PleaseSelect' | translate)}}
{{selectCountry ? ((selectCountry)|translate):('PleaseSelect' | translate)}}
...
@@ -71,9 +75,11 @@
...
@@ -71,9 +75,11 @@
</div>
</div>
</li>
</li>
</ul>
</ul>
</div>
</div>-->
<span
class=
"text-bold"
translate=
"Company"
></span>
:
<div
dx-tag-box=
"selectOrgOptionsContry"
style=
"width: 287px;display: inline-block"
></div>
<div
class=
"dropdown"
style=
"margin-left:38px"
>
<span
class=
"text-bold"
translate=
"Company"
style=
"position: relative; top: -7px;"
>
:
</span>
<div
dx-tag-box=
"selectOrgOptionsComany"
style=
"width: 287px;display: inline-block"
></div>
<!-- <div class="dropdown" style="margin-left:38px">
<button class="btn btn-default dropdown-toggle" type="button" id="dropdownMenu4"
<button class="btn btn-default dropdown-toggle" type="button" id="dropdownMenu4"
data-toggle="dropdown" aria-haspopup="true" aria-expanded="true" style="width: 320px;">
data-toggle="dropdown" aria-haspopup="true" aria-expanded="true" style="width: 320px;">
{{selectCompany ? ((selectCompany)|translate):('PleaseSelect' | translate)}}
{{selectCompany ? ((selectCompany)|translate):('PleaseSelect' | translate)}}
...
@@ -86,7 +92,7 @@
...
@@ -86,7 +92,7 @@
</div>
</div>
</li>
</li>
</ul>
</ul>
</div>
</div>
-->
</div>
</div>
</div>
</div>
</div>
</div>
...
...
atms-web/src/main/webapp/app/analysis/data-import/international-data-import/international-data-import.less
View file @
dc7fd7a0
...
@@ -109,7 +109,7 @@
...
@@ -109,7 +109,7 @@
.import-wrapper {
.import-wrapper {
span {
span {
margin-left: 10px;
/* margin-left: 10px;*/
color: #333;
color: #333;
font-family: "Microsoft YaHei";
font-family: "Microsoft YaHei";
font-style: normal;
font-style: normal;
...
@@ -147,10 +147,10 @@
...
@@ -147,10 +147,10 @@
}
}
input {
input {
width:
50px
;
width:
100%
;
outline: none;
outline: none;
border-radius: 3px;
border-radius: 3px;
border: 1px solid #3c3a36;
/* border: 1px solid #3c3a36;*/
padding: 2px;
padding: 2px;
text-align: center;
text-align: center;
}
}
...
...
atms-web/src/main/webapp/app/analysis/table/sheet/table-report-sheet.js
View file @
dc7fd7a0
...
@@ -194,7 +194,7 @@
...
@@ -194,7 +194,7 @@
var
addEbitRow
=
function
(
sheet
)
{
var
addEbitRow
=
function
(
sheet
)
{
if
(
sheet
==
undefined
||
sheet
==
null
)
if
(
sheet
==
undefined
||
sheet
==
null
)
sheet
=
scope
.
spread
.
getActiveSheet
();
sheet
=
scope
.
spread
.
getActiveSheet
();
sheet
.
setColumnWidth
(
0
,
400
)
//sheet.setColumnWidth(0, 2
)
//添加单元格
//添加单元格
if
(
sheet
.
getRowCount
()
>
43
)
if
(
sheet
.
getRowCount
()
>
43
)
return
;
return
;
...
@@ -225,6 +225,9 @@
...
@@ -225,6 +225,9 @@
///解锁指定单元格
///解锁指定单元格
sheet
.
getCell
(
38
,
2
).
locked
(
false
);
//特殊因素
sheet
.
getCell
(
38
,
2
).
locked
(
false
);
//特殊因素
sheet
.
getCell
(
40
,
2
).
locked
(
false
);
//ebit比率
sheet
.
getCell
(
40
,
2
).
locked
(
false
);
//ebit比率
//
sheet
.
setFormatter
(
38
,
2
,
"0.00"
);
sheet
.
setFormatter
(
40
,
2
,
"0.00"
);
};
};
// 每个单元格大致由以下部分构成:_SumAll(_Inter(...)+_Manual(...)+C1)
// 每个单元格大致由以下部分构成:_SumAll(_Inter(...)+_Manual(...)+C1)
...
@@ -298,7 +301,7 @@
...
@@ -298,7 +301,7 @@
// 根据已有信息通过spreadJS计算各单元格的值
// 根据已有信息通过spreadJS计算各单元格的值
var
setData
=
function
(
init
)
{
var
setData
=
function
(
upload
)
{
var
sheet
=
scope
.
spread
.
sheets
[
0
];
var
sheet
=
scope
.
spread
.
sheets
[
0
];
/* if (!init && scope.relation.broadcast == true) {
/* if (!init && scope.relation.broadcast == true) {
scope.relation.loadEbitCell(sheet);
scope.relation.loadEbitCell(sheet);
...
@@ -313,7 +316,14 @@
...
@@ -313,7 +316,14 @@
}*/
}*/
scope
.
spread
.
suspendPaint
();
scope
.
spread
.
suspendPaint
();
scope
.
relation
.
loadEbitCell
(
sheet
);
if
(
upload
){
scope
.
relation
.
loadEbitCell
(
sheet
);
lockCell
(
scope
.
spread
);
scope
.
spread
.
resumePaint
();
return
}
else
{
scope
.
relation
.
loadEbitCell
(
sheet
);
}
/* if (scope.reportSource.length == 0 && scope.relation.emptyData && scope.relation.emptyData == true) {
/* if (scope.reportSource.length == 0 && scope.relation.emptyData && scope.relation.emptyData == true) {
_init(scope.templateId, true);///如果没有数据,需要重新加载
_init(scope.templateId, true);///如果没有数据,需要重新加载
lockCell(scope.spread);
lockCell(scope.spread);
...
@@ -349,6 +359,7 @@
...
@@ -349,6 +359,7 @@
}
}
};
};
scope
.
relation
.
setData
=
setData
;
(
function
initialize
()
{
(
function
initialize
()
{
loadSheet
(
scope
.
templateId
);
loadSheet
(
scope
.
templateId
);
})();
})();
...
...
atms-web/src/main/webapp/app/analysis/table/tb-ebit-form.ctrl.js
View file @
dc7fd7a0
...
@@ -2924,10 +2924,12 @@
...
@@ -2924,10 +2924,12 @@
onInitialized
:
function
(
e
){
onInitialized
:
function
(
e
){
},
},
onItemClick
:
function
(
e
)
{
onItemClick
:
function
(
e
)
{
loadCellData
(
$scope
.
relation
.
period
,
e
.
itemData
.
id
,
function
(){
setTimeout
(
function
(){
$scope
.
relation
.
orgId
=
e
.
itemData
.
id
;
loadCellData
(
$scope
.
relation
.
period
,
e
.
itemData
.
id
,
function
(){
$scope
.
relation
.
orgName
=
e
.
itemData
.
name
;
$scope
.
relation
.
orgId
=
e
.
itemData
.
id
;
});
$scope
.
relation
.
orgName
=
e
.
itemData
.
name
;
});
},
500
);
}
}
};
};
...
@@ -2951,16 +2953,18 @@
...
@@ -2951,16 +2953,18 @@
vatReportService
.
saveAndRefresh
(
$scope
.
relation
.
orgId
,
$scope
.
relation
.
period
,
specialConsiderations
,
ebitRate
).
success
(
function
(
res
){
vatReportService
.
saveAndRefresh
(
$scope
.
relation
.
orgId
,
$scope
.
relation
.
period
,
specialConsiderations
,
ebitRate
).
success
(
function
(
res
){
if
(
res
.
result
){
if
(
res
.
result
){
$scope
.
relation
.
data
=
res
.
data
;
var
cb
=
function
(){
$scope
.
relation
.
data
=
res
.
data
;
}
$timeout
(
function
(){
$timeout
(
function
(){
spreadTODb
();
spreadTODb
(
cb
);
},
3000
);
},
3000
);
}
}
}).
error
(
function
(
error
){
}).
error
(
function
(
error
){
});
});
}
}
var
spreadTODb
=
function
(){
var
spreadTODb
=
function
(
cb
){
/*//spread序列化参数
/*//spread序列化参数
var serializationOption = {
var serializationOption = {
ignoreFormula: false, // indicate to ignore the style when convert workbook to json, default value is false
ignoreFormula: false, // indicate to ignore the style when convert workbook to json, default value is false
...
@@ -3000,6 +3004,7 @@
...
@@ -3000,6 +3004,7 @@
success
:
function
(
data
)
{
success
:
function
(
data
)
{
if
(
data
.
result
){
if
(
data
.
result
){
//alert("上传成功!");
//alert("上传成功!");
cb
();
}
else
{
}
else
{
SweetAlert
.
error
(
data
.
resultMsg
);
SweetAlert
.
error
(
data
.
resultMsg
);
}
}
...
@@ -3016,6 +3021,9 @@
...
@@ -3016,6 +3021,9 @@
});
});
//上传模板
//上传模板
$scope
.
upload
=
function
(
file
)
{
$scope
.
upload
=
function
(
file
)
{
if
(
file
.
length
==
0
)
return
file
=
file
[
0
];
frontImport
(
file
);
//前端导入
frontImport
(
file
);
//前端导入
/*if(file.length == 0)
/*if(file.length == 0)
return
return
...
@@ -3092,9 +3100,10 @@
...
@@ -3092,9 +3100,10 @@
var
frontImport
=
function
(
file
){
var
frontImport
=
function
(
file
){
if
(
$scope
.
spread
!=
undefined
&&
$scope
.
spread
){
if
(
$scope
.
spread
!=
undefined
&&
$scope
.
spread
){
var
excelIo
=
new
GC
.
Spread
.
Excel
.
IO
();
var
excelIo
=
new
GC
.
Spread
.
Excel
.
IO
();
excelIo
.
open
(
file
,
function
(
json
)
{
excelIo
.
open
(
file
,
function
(
json
)
{
var
workbookObj
=
json
;
var
workbookObj
=
json
;
$scope
.
spread
.
fromJSON
(
workbookObj
);
$scope
.
spread
.
fromJSON
(
workbookObj
);
$scope
.
relation
.
setData
(
true
);
},
function
(
e
)
{
},
function
(
e
)
{
// process error
// process error
alert
(
e
.
errorMessage
);
alert
(
e
.
errorMessage
);
...
...
atms-web/src/main/webapp/app/common/controls/import/import-invoice-record/import-invoice-record.ctrl.js
View file @
dc7fd7a0
...
@@ -7,7 +7,6 @@
...
@@ -7,7 +7,6 @@
,
vatSessionService
,
enums
,
vatOperationLogService
,
vatSessionService
,
enums
,
vatOperationLogService
,
projectService
,
vatCommonService
,
orgService
,
templateService
)
{
,
projectService
,
vatCommonService
,
orgService
,
templateService
)
{
'use strict'
;
'use strict'
;
var
comment
=
vatSessionService
.
project
.
name
+
" "
+
vatSessionService
.
project
.
year
+
"年"
+
vatSessionService
.
month
+
"月"
;
var
comment
=
vatSessionService
.
project
.
name
+
" "
+
vatSessionService
.
project
.
year
+
"年"
+
vatSessionService
.
month
+
"月"
;
$scope
.
period
=
$scope
.
periodId
;
$scope
.
period
=
$scope
.
periodId
;
$scope
.
moduleid
=
enums
.
vatModuleEnum
.
Import_TrialBalance
;
$scope
.
moduleid
=
enums
.
vatModuleEnum
.
Import_TrialBalance
;
...
...
atms-web/src/main/webapp/app/common/controls/import/import-invoice-record/import-invoice-record.less
View file @
dc7fd7a0
...
@@ -149,10 +149,10 @@
...
@@ -149,10 +149,10 @@
}
}
input {
input {
width:
50px
;
width:
100%
;
outline: none;
outline: none;
border-radius: 3px;
border-radius: 3px;
border: 1px solid #3c3a36;
/* border: 1px solid #3c3a36;*/
padding: 2px;
padding: 2px;
text-align: center;
text-align: center;
}
}
...
...
atms-web/src/main/webapp/app/common/utils/constant.js
View file @
dc7fd7a0
...
@@ -1639,7 +1639,7 @@ constant.anlDownLoadFileNameList = [
...
@@ -1639,7 +1639,7 @@ constant.anlDownLoadFileNameList = [
];
];
constant
.
countryCNList
=
[
'安哥拉'
,
'阿富汗'
,
'阿尔巴尼亚'
,
'阿尔及利亚'
,
'安道尔共和国'
,
'安圭拉岛'
,
'安提瓜和巴布达'
,
'阿根廷'
,
'亚美尼亚'
,
'阿森松'
,
'澳大利亚'
,
'奥地利'
,
'阿塞拜疆'
,
'巴哈马'
,
'巴林'
,
'孟加拉国'
,
'巴巴多斯'
,
'白俄罗斯'
,
'比利时'
,
'伯利兹'
,
'贝宁'
,
'百慕大群岛'
,
'玻利维亚'
,
'博茨瓦纳'
,
'巴西'
,
'文莱'
,
'保加利亚'
,
'布基纳法索'
,
'缅甸'
,
'布隆迪'
,
'喀麦隆'
,
'加拿大'
,
'开曼群岛'
,
'中非共和国'
,
'乍得'
,
'智利'
,
'中国'
,
'哥伦比亚'
,
'刚果'
,
'库克群岛'
,
'哥斯达黎加'
,
'古巴'
,
'塞浦路斯'
,
'捷克'
,
'丹麦'
,
'吉布提'
,
'多米尼加共和国'
,
'厄瓜多尔'
,
'埃及'
,
'萨尔瓦多'
,
'爱沙尼亚'
,
'埃塞俄比亚'
,
'斐济'
,
'芬兰'
,
'法国'
,
'法属圭亚那'
,
'法属玻利尼西亚'
,
'加蓬'
,
'冈比亚'
,
'格鲁吉亚'
,
'德国'
,
'加纳'
,
'直布罗陀'
,
'希腊'
,
'格林纳达'
,
'关岛'
,
'危地马拉'
,
'几内亚'
,
'圭亚那'
,
'海地'
,
'洪都拉斯'
,
'香港'
,
'匈牙利'
,
'冰岛'
,
'印度'
,
'印度尼西亚'
,
'伊朗'
,
'伊拉克'
,
'爱尔兰'
,
'以色列'
,
'意大利'
,
'科特迪瓦'
,
'牙买加'
,
'日本'
,
'约旦'
,
'柬埔寨'
,
'哈萨克斯坦'
,
'肯尼亚'
,
'韩国'
,
'科威特'
,
'吉尔吉斯坦'
,
'老挝'
,
'拉脱维亚'
,
'黎巴嫩'
,
'莱索托'
,
'利比里亚'
,
'利比亚'
,
'列支敦士登'
,
'立陶宛'
,
'卢森堡'
,
'澳门'
,
'马达加斯加'
,
'马拉维'
,
'马来西亚'
,
'马尔代夫'
,
'马里'
,
'马耳他'
,
'马里亚那群岛'
,
'马提尼克'
,
'毛里求斯'
,
'墨西哥'
,
'摩尔多瓦'
,
'摩纳哥'
,
'蒙古'
,
'蒙特塞拉特岛'
,
'摩洛哥'
,
'莫桑比克'
,
'纳米比亚'
,
'瑙鲁'
,
'尼泊尔'
,
'荷属安的列斯'
,
'荷兰'
,
'新西兰'
,
'尼加拉瓜'
,
'尼日尔'
,
'尼日利亚'
,
'朝鲜'
,
'挪威'
,
'阿曼'
,
'巴基斯坦'
,
'巴拿马'
,
'巴布亚新几内亚'
,
'巴拉圭'
,
'秘鲁'
,
'菲律宾'
,
'波兰'
,
'葡萄牙'
,
'波多黎各'
,
'卡塔尔'
,
'留尼旺'
,
'罗马尼亚'
,
'俄罗斯'
,
'圣卢西亚'
,
'圣文森特岛'
,
'东萨摩亚(美)'
,
'西萨摩亚'
,
'圣马力诺'
,
'圣多美和普林西比'
,
'沙特阿拉伯'
,
'塞内加尔'
,
'塞舌尔'
,
'塞拉利昂'
,
'新加坡'
,
'斯洛伐克'
,
'斯洛文尼亚'
,
'所罗门群岛'
,
'索马里'
,
'南非'
,
'西班牙'
,
'斯里兰卡'
,
'圣文森特'
,
'苏丹'
,
'苏里南'
,
'斯威士兰'
,
'瑞典'
,
'瑞士'
,
'叙利亚'
,
'台湾省'
,
'塔吉克斯坦'
,
'坦桑尼亚'
,
'泰国'
,
'多哥'
,
'汤加'
,
'特立尼达和多巴哥'
,
'突尼斯'
,
'土耳其'
,
'土库曼斯坦'
,
'乌干达'
,
'乌克兰'
,
'阿拉伯联合酋长国'
,
'英国'
,
'美国'
,
'乌拉圭'
,
'乌兹别克斯坦'
,
'委内瑞拉'
,
'越南'
,
'也门'
,
'南斯拉夫'
,
'津巴布韦'
,
'扎伊尔'
,
'赞比亚'
];
constant
.
countryCNList
=
[
'安哥拉'
,
'阿富汗'
,
'阿尔巴尼亚'
,
'阿尔及利亚'
,
'安道尔共和国'
,
'安圭拉岛'
,
'安提瓜和巴布达'
,
'阿根廷'
,
'亚美尼亚'
,
'阿森松'
,
'澳大利亚'
,
'奥地利'
,
'阿塞拜疆'
,
'巴哈马'
,
'巴林'
,
'孟加拉国'
,
'巴巴多斯'
,
'白俄罗斯'
,
'比利时'
,
'伯利兹'
,
'贝宁'
,
'百慕大群岛'
,
'玻利维亚'
,
'博茨瓦纳'
,
'巴西'
,
'文莱'
,
'保加利亚'
,
'布基纳法索'
,
'缅甸'
,
'布隆迪'
,
'喀麦隆'
,
'加拿大'
,
'开曼群岛'
,
'中非共和国'
,
'乍得'
,
'智利'
,
'中国'
,
'哥伦比亚'
,
'刚果'
,
'库克群岛'
,
'哥斯达黎加'
,
'古巴'
,
'塞浦路斯'
,
'捷克'
,
'丹麦'
,
'吉布提'
,
'多米尼加共和国'
,
'厄瓜多尔'
,
'埃及'
,
'萨尔瓦多'
,
'爱沙尼亚'
,
'埃塞俄比亚'
,
'斐济'
,
'芬兰'
,
'法国'
,
'法属圭亚那'
,
'法属玻利尼西亚'
,
'加蓬'
,
'冈比亚'
,
'格鲁吉亚'
,
'德国'
,
'加纳'
,
'直布罗陀'
,
'希腊'
,
'格林纳达'
,
'关岛'
,
'危地马拉'
,
'几内亚'
,
'圭亚那'
,
'海地'
,
'洪都拉斯'
,
'香港'
,
'匈牙利'
,
'冰岛'
,
'印度'
,
'印度尼西亚'
,
'伊朗'
,
'伊拉克'
,
'爱尔兰'
,
'以色列'
,
'意大利'
,
'科特迪瓦'
,
'牙买加'
,
'日本'
,
'约旦'
,
'柬埔寨'
,
'哈萨克斯坦'
,
'肯尼亚'
,
'韩国'
,
'科威特'
,
'吉尔吉斯坦'
,
'老挝'
,
'拉脱维亚'
,
'黎巴嫩'
,
'莱索托'
,
'利比里亚'
,
'利比亚'
,
'列支敦士登'
,
'立陶宛'
,
'卢森堡'
,
'澳门'
,
'马达加斯加'
,
'马拉维'
,
'马来西亚'
,
'马尔代夫'
,
'马里'
,
'马耳他'
,
'马里亚那群岛'
,
'马提尼克'
,
'毛里求斯'
,
'墨西哥'
,
'摩尔多瓦'
,
'摩纳哥'
,
'蒙古'
,
'蒙特塞拉特岛'
,
'摩洛哥'
,
'莫桑比克'
,
'纳米比亚'
,
'瑙鲁'
,
'尼泊尔'
,
'荷属安的列斯'
,
'荷兰'
,
'新西兰'
,
'尼加拉瓜'
,
'尼日尔'
,
'尼日利亚'
,
'朝鲜'
,
'挪威'
,
'阿曼'
,
'巴基斯坦'
,
'巴拿马'
,
'巴布亚新几内亚'
,
'巴拉圭'
,
'秘鲁'
,
'菲律宾'
,
'波兰'
,
'葡萄牙'
,
'波多黎各'
,
'卡塔尔'
,
'留尼旺'
,
'罗马尼亚'
,
'俄罗斯'
,
'圣卢西亚'
,
'圣文森特岛'
,
'东萨摩亚(美)'
,
'西萨摩亚'
,
'圣马力诺'
,
'圣多美和普林西比'
,
'沙特阿拉伯'
,
'塞内加尔'
,
'塞舌尔'
,
'塞拉利昂'
,
'新加坡'
,
'斯洛伐克'
,
'斯洛文尼亚'
,
'所罗门群岛'
,
'索马里'
,
'南非'
,
'西班牙'
,
'斯里兰卡'
,
'圣文森特'
,
'苏丹'
,
'苏里南'
,
'斯威士兰'
,
'瑞典'
,
'瑞士'
,
'叙利亚'
,
'台湾省'
,
'塔吉克斯坦'
,
'坦桑尼亚'
,
'泰国'
,
'多哥'
,
'汤加'
,
'特立尼达和多巴哥'
,
'突尼斯'
,
'土耳其'
,
'土库曼斯坦'
,
'乌干达'
,
'乌克兰'
,
'阿拉伯联合酋长国'
,
'英国'
,
'美国'
,
'乌拉圭'
,
'乌兹别克斯坦'
,
'委内瑞拉'
,
'越南'
,
'也门'
,
'南斯拉夫'
,
'津巴布韦'
,
'扎伊尔'
,
'赞比亚'
];
constant
.
countryCNNAMEList
=
[
{
'name'
:
'安哥拉'
},
{
'name'
:
'阿富汗'
},
{
'name'
:
'阿尔巴尼亚'
},
{
'name'
:
'阿尔及利亚'
},
{
'name'
:
'安道尔共和国'
},
{
'name'
:
'安圭拉岛'
},
{
'name'
:
'安提瓜和巴布达'
},
{
'name'
:
'阿根廷'
},
{
'name'
:
'亚美尼亚'
},
{
'name'
:
'阿森松'
},
{
'name'
:
'澳大利亚'
},
{
'name'
:
'奥地利'
},
{
'name'
:
'阿塞拜疆'
},
{
'name'
:
'巴哈马'
},
{
'name'
:
'巴林'
},
{
'name'
:
'孟加拉国'
},
{
'name'
:
'巴巴多斯'
},
{
'name'
:
'白俄罗斯'
},
{
'name'
:
'比利时'
},
{
'name'
:
'伯利兹'
},
{
'name'
:
'贝宁'
},
{
'name'
:
'百慕大群岛'
},
{
'name'
:
'玻利维亚'
},
{
'name'
:
'博茨瓦纳'
},
{
'name'
:
'巴西'
},
{
'name'
:
'文莱'
},
{
'name'
:
'保加利亚'
},
{
'name'
:
'布基纳法索'
},
{
'name'
:
'缅甸'
},
{
'name'
:
'布隆迪'
},
{
'name'
:
'喀麦隆'
},
{
'name'
:
'加拿大'
},
{
'name'
:
'开曼群岛'
},
{
'name'
:
'中非共和国'
},
{
'name'
:
'乍得'
},
{
'name'
:
'智利'
},
{
'name'
:
'中国'
},
{
'name'
:
'哥伦比亚'
},
{
'name'
:
'刚果'
},
{
'name'
:
'库克群岛'
},
{
'name'
:
'哥斯达黎加'
},
{
'name'
:
'古巴'
},
{
'name'
:
'塞浦路斯'
},
{
'name'
:
'捷克'
},
{
'name'
:
'丹麦'
},
{
'name'
:
'吉布提'
},
{
'name'
:
'多米尼加共和国'
},
{
'name'
:
'厄瓜多尔'
},
{
'name'
:
'埃及'
},
{
'name'
:
'萨尔瓦多'
},
{
'name'
:
'爱沙尼亚'
},
{
'name'
:
'埃塞俄比亚'
},
{
'name'
:
'斐济'
},
{
'name'
:
'芬兰'
},
{
'name'
:
'法国'
},
{
'name'
:
'法属圭亚那'
},
{
'name'
:
'法属玻利尼西亚'
},
{
'name'
:
'加蓬'
},
{
'name'
:
'冈比亚'
},
{
'name'
:
'格鲁吉亚'
},
{
'name'
:
'德国'
},
{
'name'
:
'加纳'
},
{
'name'
:
'直布罗陀'
},
{
'name'
:
'希腊'
},
{
'name'
:
'格林纳达'
},
{
'name'
:
'关岛'
},
{
'name'
:
'危地马拉'
},
{
'name'
:
'几内亚'
},
{
'name'
:
'圭亚那'
},
{
'name'
:
'海地'
},
{
'name'
:
'洪都拉斯'
},
{
'name'
:
'香港'
},
{
'name'
:
'匈牙利'
},
{
'name'
:
'冰岛'
},
{
'name'
:
'印度'
},
{
'name'
:
'印度尼西亚'
},
{
'name'
:
'伊朗'
},
{
'name'
:
'伊拉克'
},
{
'name'
:
'爱尔兰'
},
{
'name'
:
'以色列'
},
{
'name'
:
'意大利'
},
{
'name'
:
'科特迪瓦'
},
{
'name'
:
'牙买加'
},
{
'name'
:
'日本'
},
{
'name'
:
'约旦'
},
{
'name'
:
'柬埔寨'
},
{
'name'
:
'哈萨克斯坦'
},
{
'name'
:
'肯尼亚'
},
{
'name'
:
'韩国'
},
{
'name'
:
'科威特'
},
{
'name'
:
'吉尔吉斯坦'
},
{
'name'
:
'老挝'
},
{
'name'
:
'拉脱维亚'
},
{
'name'
:
'黎巴嫩'
},
{
'name'
:
'莱索托'
},
{
'name'
:
'利比里亚'
},
{
'name'
:
'利比亚'
},
{
'name'
:
'列支敦士登'
},
{
'name'
:
'立陶宛'
},
{
'name'
:
'卢森堡'
},
{
'name'
:
'澳门'
},
{
'name'
:
'马达加斯加'
},
{
'name'
:
'马拉维'
},
{
'name'
:
'马来西亚'
},
{
'name'
:
'马尔代夫'
},
{
'name'
:
'马里'
},
{
'name'
:
'马耳他'
},
{
'name'
:
'马里亚那群岛'
},
{
'name'
:
'马提尼克'
},
{
'name'
:
'毛里求斯'
},
{
'name'
:
'墨西哥'
},
{
'name'
:
'摩尔多瓦'
},
{
'name'
:
'摩纳哥'
},
{
'name'
:
'蒙古'
},
{
'name'
:
'蒙特塞拉特岛'
},
{
'name'
:
'摩洛哥'
},
{
'name'
:
'莫桑比克'
},
{
'name'
:
'纳米比亚'
},
{
'name'
:
'瑙鲁'
},
{
'name'
:
'尼泊尔'
},
{
'name'
:
'荷属安的列斯'
},
{
'name'
:
'荷兰'
},
{
'name'
:
'新西兰'
},
{
'name'
:
'尼加拉瓜'
},
{
'name'
:
'尼日尔'
},
{
'name'
:
'尼日利亚'
},
{
'name'
:
'朝鲜'
},
{
'name'
:
'挪威'
},
{
'name'
:
'阿曼'
},
{
'name'
:
'巴基斯坦'
},
{
'name'
:
'巴拿马'
},
{
'name'
:
'巴布亚新几内亚'
},
{
'name'
:
'巴拉圭'
},
{
'name'
:
'秘鲁'
},
{
'name'
:
'菲律宾'
},
{
'name'
:
'波兰'
},
{
'name'
:
'葡萄牙'
},
{
'name'
:
'波多黎各'
},
{
'name'
:
'卡塔尔'
},
{
'name'
:
'留尼旺'
},
{
'name'
:
'罗马尼亚'
},
{
'name'
:
'俄罗斯'
},
{
'name'
:
'圣卢西亚'
},
{
'name'
:
'圣文森特岛'
},
{
'name'
:
'东萨摩亚(美)'
},
{
'name'
:
'西萨摩亚'
},
{
'name'
:
'圣马力诺'
},
{
'name'
:
'圣多美和普林西比'
},
{
'name'
:
'沙特阿拉伯'
},
{
'name'
:
'塞内加尔'
},
{
'name'
:
'塞舌尔'
},
{
'name'
:
'塞拉利昂'
},
{
'name'
:
'新加坡'
},
{
'name'
:
'斯洛伐克'
},
{
'name'
:
'斯洛文尼亚'
},
{
'name'
:
'所罗门群岛'
},
{
'name'
:
'索马里'
},
{
'name'
:
'南非'
},
{
'name'
:
'西班牙'
},
{
'name'
:
'斯里兰卡'
},
{
'name'
:
'圣文森特'
},
{
'name'
:
'苏丹'
},
{
'name'
:
'苏里南'
},
{
'name'
:
'斯威士兰'
},
{
'name'
:
'瑞典'
},
{
'name'
:
'瑞士'
},
{
'name'
:
'叙利亚'
},
{
'name'
:
'台湾省'
},
{
'name'
:
'塔吉克斯坦'
},
{
'name'
:
'坦桑尼亚'
},
{
'name'
:
'泰国'
},
{
'name'
:
'多哥'
},
{
'name'
:
'汤加'
},
{
'name'
:
'特立尼达和多巴哥'
},
{
'name'
:
'突尼斯'
},
{
'name'
:
'土耳其'
},
{
'name'
:
'土库曼斯坦'
},
{
'name'
:
'乌干达'
},
{
'name'
:
'乌克兰'
},
{
'name'
:
'阿拉伯联合酋长国'
},
{
'name'
:
'英国'
},
{
'name'
:
'美国'
},
{
'name'
:
'乌拉圭'
},
{
'name'
:
'乌兹别克斯坦'
},
{
'name'
:
'委内瑞拉'
},
{
'name'
:
'越南'
},
{
'name'
:
'也门'
},
{
'name'
:
'南斯拉夫'
},
{
'name'
:
'津巴布韦'
},
{
'name'
:
'扎伊尔'
},
{
'name'
:
'赞比亚'
}];
constant
.
countryENList
=
[
'Angola'
,
'Afghanistan'
,
'Albania'
,
'Algeria'
,
'Andorra'
,
'Anguilla'
,
'Antigua and Barbuda'
,
'Argentina'
,
'Armenia'
,
'Ascension'
,
'Australia'
,
'Austria'
,
'Azerbaijan'
,
'Bahamas'
,
'Bahrain'
,
'Bangladesh'
,
'Barbados'
,
'Belarus'
,
'Belgium'
,
'Belize'
,
'Benin'
,
'Bermuda Is'
,
'Bolivia'
,
'Botswana'
,
'Brazil'
,
'Brunei'
,
'Bulgaria'
,
'Burkina Faso'
,
'Burma'
,
'Burundi'
,
'Cameroon'
,
'Canada'
,
'Cayman Is'
,
'Central African Republic'
,
'Chad'
,
'Chile'
,
'China'
,
'Colombia'
,
'Congo'
,
'Cook Is'
,
'Costa Rica'
,
'Cuba'
,
'Cyprus'
,
'Czech Republic'
,
'Denmark'
,
'Djibouti'
,
'Dominica Rep'
,
'Ecuador'
,
'Egypt'
,
'EI Salvador'
,
'Estonia'
,
'Ethiopia'
,
'Fiji'
,
'Finland'
,
'France'
,
'French Guiana'
,
'French Polynesia'
,
'Gabon'
,
'Gambia'
,
'Georgia'
,
'Germany'
,
'Ghana'
,
'Gibraltar'
,
'Greece'
,
'Grenada'
,
'Guam'
,
'Guatemala'
,
'Guinea'
,
'Guyana'
,
'Haiti'
,
'Honduras'
,
'Hongkong'
,
'Hungary'
,
'Iceland'
,
'India'
,
'Indonesia'
,
'Iran'
,
'Iraq'
,
'Ireland'
,
'Israel'
,
'Italy'
,
'Ivory Coast'
,
'Jamaica'
,
'Japan'
,
'Jordan'
,
'Kampuchea (Cambodia )'
,
'Kazakstan'
,
'Kenya'
,
'Korea'
,
'Kuwait'
,
'Kyrgyzstan'
,
'Laos'
,
'Latvia'
,
'Lebanon'
,
'Lesotho'
,
'Liberia'
,
'Libya'
,
'Liechtenstein'
,
'Lithuania'
,
'Luxembourg'
,
'Macao'
,
'Madagascar'
,
'Malawi'
,
'Malaysia'
,
'Maldives'
,
'Mali'
,
'Malta'
,
'Mariana Is'
,
'Martinique'
,
'Mauritius'
,
'Mexico'
,
'Moldova'
,
'Monaco'
,
'Mongolia'
,
'Montserrat Is'
,
'Morocco'
,
'Mozambique'
,
'Namibia'
,
'Nauru'
,
'Nepal'
,
'Netheriands Antilles'
,
'Netherlands'
,
'New Zealand'
,
'Nicaragua'
,
'Niger'
,
'Nigeria'
,
'North Korea'
,
'Norway'
,
'Oman'
,
'Pakistan'
,
'Panama'
,
'Papua New Cuinea'
,
'Paraguay'
,
'Peru'
,
'Philippines'
,
'Poland'
,
'Portugal'
,
'Puerto Rico'
,
'Qatar'
,
'Reunion'
,
'Romania'
,
'Russia'
,
'Saint Lueia'
,
'Saint Vincent'
,
'Samoa Eastern'
,
'Samoa Western'
,
'San Marino'
,
'Sao Tome and Principe'
,
'Saudi Arabia'
,
'Senegal'
,
'Seychelles'
,
'Sierra Leone'
,
'Singapore'
,
'Slovakia'
,
'Slovenia'
,
'Solomon Is'
,
'Somali'
,
'South Africa'
,
'Spain'
,
'SriLanka'
,
'St.Lucia'
,
'St.Vincent'
,
'Sudan'
,
'Suriname'
,
'Swaziland'
,
'Sweden'
,
'Switzerland'
,
'Syria'
,
'Taiwan'
,
'Tajikstan'
,
'Tanzania'
,
'Thailand'
,
'Togo'
,
'Tonga'
,
'Trinidad and Tobago'
,
'Tunisia'
,
'Turkey'
,
'Turkmenistan'
,
'Uganda'
,
'Ukraine'
,
'United Arab Emirates'
,
'United Kiongdom'
,
'United States of America'
,
'Uruguay'
,
'Uzbekistan'
,
'Venezuela'
,
'Vietnam'
,
'Yemen'
,
'Yugoslavia'
,
'Zimbabwe'
,
'Zaire'
,
'Zambia'
];
constant
.
countryENList
=
[
'Angola'
,
'Afghanistan'
,
'Albania'
,
'Algeria'
,
'Andorra'
,
'Anguilla'
,
'Antigua and Barbuda'
,
'Argentina'
,
'Armenia'
,
'Ascension'
,
'Australia'
,
'Austria'
,
'Azerbaijan'
,
'Bahamas'
,
'Bahrain'
,
'Bangladesh'
,
'Barbados'
,
'Belarus'
,
'Belgium'
,
'Belize'
,
'Benin'
,
'Bermuda Is'
,
'Bolivia'
,
'Botswana'
,
'Brazil'
,
'Brunei'
,
'Bulgaria'
,
'Burkina Faso'
,
'Burma'
,
'Burundi'
,
'Cameroon'
,
'Canada'
,
'Cayman Is'
,
'Central African Republic'
,
'Chad'
,
'Chile'
,
'China'
,
'Colombia'
,
'Congo'
,
'Cook Is'
,
'Costa Rica'
,
'Cuba'
,
'Cyprus'
,
'Czech Republic'
,
'Denmark'
,
'Djibouti'
,
'Dominica Rep'
,
'Ecuador'
,
'Egypt'
,
'EI Salvador'
,
'Estonia'
,
'Ethiopia'
,
'Fiji'
,
'Finland'
,
'France'
,
'French Guiana'
,
'French Polynesia'
,
'Gabon'
,
'Gambia'
,
'Georgia'
,
'Germany'
,
'Ghana'
,
'Gibraltar'
,
'Greece'
,
'Grenada'
,
'Guam'
,
'Guatemala'
,
'Guinea'
,
'Guyana'
,
'Haiti'
,
'Honduras'
,
'Hongkong'
,
'Hungary'
,
'Iceland'
,
'India'
,
'Indonesia'
,
'Iran'
,
'Iraq'
,
'Ireland'
,
'Israel'
,
'Italy'
,
'Ivory Coast'
,
'Jamaica'
,
'Japan'
,
'Jordan'
,
'Kampuchea (Cambodia )'
,
'Kazakstan'
,
'Kenya'
,
'Korea'
,
'Kuwait'
,
'Kyrgyzstan'
,
'Laos'
,
'Latvia'
,
'Lebanon'
,
'Lesotho'
,
'Liberia'
,
'Libya'
,
'Liechtenstein'
,
'Lithuania'
,
'Luxembourg'
,
'Macao'
,
'Madagascar'
,
'Malawi'
,
'Malaysia'
,
'Maldives'
,
'Mali'
,
'Malta'
,
'Mariana Is'
,
'Martinique'
,
'Mauritius'
,
'Mexico'
,
'Moldova'
,
'Monaco'
,
'Mongolia'
,
'Montserrat Is'
,
'Morocco'
,
'Mozambique'
,
'Namibia'
,
'Nauru'
,
'Nepal'
,
'Netheriands Antilles'
,
'Netherlands'
,
'New Zealand'
,
'Nicaragua'
,
'Niger'
,
'Nigeria'
,
'North Korea'
,
'Norway'
,
'Oman'
,
'Pakistan'
,
'Panama'
,
'Papua New Cuinea'
,
'Paraguay'
,
'Peru'
,
'Philippines'
,
'Poland'
,
'Portugal'
,
'Puerto Rico'
,
'Qatar'
,
'Reunion'
,
'Romania'
,
'Russia'
,
'Saint Lueia'
,
'Saint Vincent'
,
'Samoa Eastern'
,
'Samoa Western'
,
'San Marino'
,
'Sao Tome and Principe'
,
'Saudi Arabia'
,
'Senegal'
,
'Seychelles'
,
'Sierra Leone'
,
'Singapore'
,
'Slovakia'
,
'Slovenia'
,
'Solomon Is'
,
'Somali'
,
'South Africa'
,
'Spain'
,
'SriLanka'
,
'St.Lucia'
,
'St.Vincent'
,
'Sudan'
,
'Suriname'
,
'Swaziland'
,
'Sweden'
,
'Switzerland'
,
'Syria'
,
'Taiwan'
,
'Tajikstan'
,
'Tanzania'
,
'Thailand'
,
'Togo'
,
'Tonga'
,
'Trinidad and Tobago'
,
'Tunisia'
,
'Turkey'
,
'Turkmenistan'
,
'Uganda'
,
'Ukraine'
,
'United Arab Emirates'
,
'United Kiongdom'
,
'United States of America'
,
'Uruguay'
,
'Uzbekistan'
,
'Venezuela'
,
'Vietnam'
,
'Yemen'
,
'Yugoslavia'
,
'Zimbabwe'
,
'Zaire'
,
'Zambia'
];
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment