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
8aed3bca
Commit
8aed3bca
authored
Apr 19, 2019
by
chase
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev_mysql' of
http://code.tech.tax.asia.pwcinternal.com/root/atms
into dev_mysql
parents
e1d3d452
3e9bb5ee
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
43 changed files
with
858 additions
and
347 deletions
+858
-347
ErrorMessage.java
...in/java/pwc/taxtech/atms/common/message/ErrorMessage.java
+1
-1
AnalysisJobServiceImpl.java
...pwc/taxtech/atms/service/impl/AnalysisJobServiceImpl.java
+3
-3
AnalysisServiceImpl.java
...va/pwc/taxtech/atms/service/impl/AnalysisServiceImpl.java
+40
-8
AssetListServiceImpl.java
...a/pwc/taxtech/atms/service/impl/AssetListServiceImpl.java
+8
-8
CitPreviewDataServiceImpl.java
.../taxtech/atms/service/impl/CitPreviewDataServiceImpl.java
+4
-0
DataImportService.java
...java/pwc/taxtech/atms/service/impl/DataImportService.java
+15
-5
eamDispoal.xlsx
...api/src/main/resources/cit_excel_template/eamDispoal.xlsx
+0
-0
enterprise-account-manage.ctrl.js
...enterpriseAccountManage/enterprise-account-manage.ctrl.js
+0
-0
organization-manage.ctrl.js
...astructure/organizationManage/organization-manage.ctrl.js
+0
-0
organization-manage.html
...nfrastructure/organizationManage/organization-manage.html
+1
-1
international-data-import.ctrl.js
...ternational-data-import/international-data-import.ctrl.js
+2
-0
cit-import-asset-list.html
...t/import/cit-import-asset-list/cit-import-asset-list.html
+4
-1
cit-preview-salaryAdvance-list.ctrl.js
...salaryAdvance-list/cit-preview-salaryAdvance-list.ctrl.js
+4
-0
cit-preview-salaryAdvance-list.html
...ew-salaryAdvance-list/cit-preview-salaryAdvance-list.html
+1
-1
cit-preview-tb-generate-ver.ctrl.js
...eview-tb-generate-ver/cit-preview-tb-generate-ver.ctrl.js
+54
-18
cit-preview-tb-generate-ver.html
...-preview-tb-generate-ver/cit-preview-tb-generate-ver.html
+8
-28
cit-preview-tb-generate-ver.less
...-preview-tb-generate-ver/cit-preview-tb-generate-ver.less
+201
-86
cit-preview-tb-mapping-ver.ctrl.js
...preview-tb-mapping-ver/cit-preview-tb-mapping-ver.ctrl.js
+55
-19
cit-preview-tb-mapping-ver.html
...it-preview-tb-mapping-ver/cit-preview-tb-mapping-ver.html
+8
-26
cit-preview-tb-mapping-ver.less
...it-preview-tb-mapping-ver/cit-preview-tb-mapping-ver.less
+201
-86
cit-report-layout.ctrl.js
...pp/cit/report/cit-report-layout/cit-report-layout.ctrl.js
+9
-0
citPreviewData.svc.js
.../main/webapp/app/common/webservices/citPreviewData.svc.js
+7
-1
vat-preview-cash-flow.ctrl.js
...eview/vat-preview-cash-flow/vat-preview-cash-flow.ctrl.js
+12
-2
vat-preview-cash-flow.less
.../preview/vat-preview-cash-flow/vat-preview-cash-flow.less
+3
-1
vat-preview-certified-invoices-list.ctrl.js
...invoices-list/vat-preview-certified-invoices-list.ctrl.js
+10
-2
vat-preview-certified-invoices-list.less
...ed-invoices-list/vat-preview-certified-invoices-list.less
+3
-1
vat-preview-coupa-purchasing-report.ctrl.js
...hasing-report/vat-preview-coupa-purchasing-report.ctrl.js
+18
-3
vat-preview-coupa-purchasing-report.less
...urchasing-report/vat-preview-coupa-purchasing-report.less
+3
-1
vat-preview-invoice-data.ctrl.js
...vat-preview-invoice-data/vat-preview-invoice-data.ctrl.js
+36
-9
vat-preview-invoice-data.less
...ew/vat-preview-invoice-data/vat-preview-invoice-data.less
+3
-1
vat-preview-invoice-record.ctrl.js
...preview-invoice-record/vat-preview-invoice-record.ctrl.js
+19
-4
vat-preview-invoice-record.less
...at-preview-invoice-record/vat-preview-invoice-record.less
+3
-1
vat-preview-journal.ctrl.js
...t/preview/vat-preview-journal/vat-preview-journal.ctrl.js
+30
-5
vat-preview-journal.less
.../vat/preview/vat-preview-journal/vat-preview-journal.less
+3
-1
vat-preview-off-balance-sheet.ctrl.js
...w-off-balance-sheet/vat-preview-off-balance-sheet.ctrl.js
+14
-3
vat-preview-off-balance-sheet.less
...view-off-balance-sheet/vat-preview-off-balance-sheet.less
+3
-1
vat-preview-profit-loss.ctrl.js
...w/vat-preview-profit-loss/vat-preview-profit-loss.ctrl.js
+14
-3
vat-preview-profit-loss.less
...view/vat-preview-profit-loss/vat-preview-profit-loss.less
+3
-1
vat-preview-red-letter-info-tab.ctrl.js
...d-letter-info-tab/vat-preview-red-letter-info-tab.ctrl.js
+10
-2
vat-preview-red-letter-info-tab.less
...-red-letter-info-tab/vat-preview-red-letter-info-tab.less
+3
-1
vat-preview-trial-balance.ctrl.js
...t-preview-trial-balance/vat-preview-trial-balance.ctrl.js
+38
-8
vat-preview-trial-balance.less
.../vat-preview-trial-balance/vat-preview-trial-balance.less
+3
-1
vat-report-layout.ctrl.js
...pp/vat/report/vat-report-layout/vat-report-layout.ctrl.js
+1
-4
No files found.
atms-api/src/main/java/pwc/taxtech/atms/common/message/ErrorMessage.java
View file @
8aed3bca
...
...
@@ -12,7 +12,7 @@ public class ErrorMessage {
public
static
final
String
NoSelectSheet
=
"NoSelectSheet"
;
public
static
final
String
DIDNOTSELECTPERIOD
=
"You should select period!"
;
public
static
final
String
ImportFailed
=
"
ImportFailed
!"
;
public
static
final
String
ImportFailed
=
"
导入失败
!"
;
public
static
final
String
ImportNotMatch
=
"导入文件与选择机构或期间不匹配!"
;
public
static
final
String
ExportFailed
=
"ExportFailed!"
;
public
static
final
String
NoData
=
"无数据!"
;
...
...
atms-api/src/main/java/pwc/taxtech/atms/service/impl/AnalysisJobServiceImpl.java
View file @
8aed3bca
...
...
@@ -105,8 +105,8 @@ public class AnalysisJobServiceImpl extends BaseService {
private
final
static
String
MONEYTYPE
=
"CNY"
;
private
final
static
List
<
Integer
>
YEAR_LIST
=
Lists
.
newArrayList
(
2017
,
2018
,
2019
);
private
static
List
<
Integer
>
periodInit
=
Lists
.
newArrayList
();
private
static
final
String
ZZSNSSBB
=
"增值税纳税申报表"
;
//增值税申报表(一般纳税人)
private
static
final
String
QYSDSYJB
=
"
企业所得税预缴表"
;
//企业所得税预缴表
private
static
final
String
ZZSNSSBB
=
"增值税纳税申报表"
;
//增值税申报表(一般纳税人)
todo 模板名称改的话这里也要改
private
static
final
String
QYSDSYJB
=
"
预缴纳税申报表"
;
//企业所得税预缴表 todo 模板名称改的话这里也要改
private
String
gzzscode
=
null
;
//一般纳税人
private
String
szzscode
=
null
;
//小规模纳税人
...
...
@@ -847,7 +847,7 @@ public class AnalysisJobServiceImpl extends BaseService {
private
String
qysdscode
=
null
;
public
void
analysisTax
(
List
<
Organization
>
orgs
,
Integer
period
,
Integer
type
)
{
qysdscode
=
projectMapper
.
getTemplateCode
(
"1"
,
QYSDSYJB
).
get
(
0
).
getName
()
;
//一般纳税人
qysdscode
=
projectMapper
.
getTemplateCode
(
"1"
,
QYSDSYJB
).
size
()
!=
0
?
projectMapper
.
getTemplateCode
(
"1"
,
QYSDSYJB
).
get
(
0
).
getName
()
:
null
;
//一般纳税人
List
<
String
>
orgIds
=
orgs
.
stream
().
map
(
Organization:
:
getId
).
collect
(
Collectors
.
toList
());
if
(
type
.
equals
(
EnumTbImportType
.
CoverImport
.
getCode
()))
{
AnalysisTaxExample
example
=
new
AnalysisTaxExample
();
...
...
atms-api/src/main/java/pwc/taxtech/atms/service/impl/AnalysisServiceImpl.java
View file @
8aed3bca
...
...
@@ -307,6 +307,24 @@ public class AnalysisServiceImpl extends BaseService {
return
null
;
}
public
Organization
getOrgById
(
String
organizationId
)
{
OrganizationExample
organizationExample
=
new
OrganizationExample
();
organizationExample
.
createCriteria
().
andIdEqualTo
(
organizationId
);
List
<
Organization
>
organizations
=
organizationMapper
.
selectByExample
(
organizationExample
);
if
(
organizations
.
size
()
!=
0
)
return
organizations
.
get
(
0
);
return
null
;
}
public
Organization
getOrgByCompanyName
(
String
companyName
)
{
OrganizationExample
organizationExample
=
new
OrganizationExample
();
organizationExample
.
createCriteria
().
andNameEqualTo
(
companyName
);
List
<
Organization
>
organizations
=
organizationMapper
.
selectByExample
(
organizationExample
);
if
(
organizations
.
size
()
!=
0
)
return
organizations
.
get
(
0
);
return
null
;
}
private
void
importAnalysisReturnTaxExcelFile
(
MultipartFile
file
,
String
periodDate
)
{
try
{
...
...
@@ -392,6 +410,12 @@ public class AnalysisServiceImpl extends BaseService {
continue
;
}
model
.
setCompanyName
(
getCellStringValue
(
sheet
.
getRow
(
j
).
getCell
(
0
)));
try
{
model
.
setSeqNo
(
getSeqNoByPeriod
(
getOrgByCompanyName
(
getCellStringValue
(
sheet
.
getRow
(
j
).
getCell
(
0
))).
getId
(),
selectedPer
));
}
catch
(
Exception
e
)
{
logger
.
warn
(
getCellStringValue
(
sheet
.
getRow
(
j
).
getCell
(
0
))
+
"公司名称匹配不成功"
);
continue
;
}
model
.
setFullTimeAmount
(
getCellBigDecimalValue
(
sheet
.
getRow
(
j
).
getCell
(
1
)));
model
.
setInternAmount
(
getCellBigDecimalValue
(
sheet
.
getRow
(
j
).
getCell
(
2
)));
model
.
setVendorAmount
(
getCellBigDecimalValue
(
sheet
.
getRow
(
j
).
getCell
(
3
)));
...
...
@@ -521,7 +545,7 @@ public class AnalysisServiceImpl extends BaseService {
}
private
void
importAnalysisInterTaxDataExcelFile
(
MultipartFile
file
,
String
periodDate
,
String
companyName
,
String
country
)
{
String
organizationId
,
String
country
)
{
try
{
InputStream
inputStream
=
file
.
getInputStream
();
Workbook
workbook
=
WorkbookFactory
.
create
(
inputStream
);
...
...
@@ -542,15 +566,22 @@ public class AnalysisServiceImpl extends BaseService {
AnalysisInternationalTaxData
model
=
new
AnalysisInternationalTaxData
();
model
.
setId
(
idService
.
nextId
());
model
.
setPeriod
(
selectedPer
);
model
.
setCompanyName
(
companyName
);
model
.
setOrganizationId
(
organizationId
);
model
.
setCompanyName
(
getOrgById
(
organizationId
).
getName
());
model
.
setCountry
(
country
);
try
{
model
.
setSeqNo
(
getSeqNoByPeriod
(
organizationId
,
DateUtils
.
strToPeriod
(
periodDate
)));
}
catch
(
Exception
e
)
{
continue
;
}
model
.
setTaxCategory
(
getCellStringValue
(
sheet
.
getRow
(
j
).
getCell
(
0
)));
model
.
setTaxType
(
getCellStringValue
(
sheet
.
getRow
(
j
).
getCell
(
1
)));
model
.
setTaxAmount
(
getCellBigDecimalValue
(
sheet
.
getRow
(
j
).
getCell
(
2
)));
lists
.
add
(
model
);
}
AnalysisInternationalTaxDataExample
example
=
new
AnalysisInternationalTaxDataExample
();
example
.
createCriteria
().
andPeriodEqualTo
(
selectedPer
).
andCountryEqualTo
(
country
).
and
CompanyNameEqualTo
(
companyName
);
example
.
createCriteria
().
andPeriodEqualTo
(
selectedPer
).
andCountryEqualTo
(
country
).
and
OrganizationIdEqualTo
(
organizationId
);
analysisInternationalTaxDataMapper
.
deleteByExample
(
example
);
lists
.
forEach
(
l
->
{
analysisInternationalTaxDataMapper
.
insertSelective
(
l
);
...
...
@@ -566,7 +597,7 @@ public class AnalysisServiceImpl extends BaseService {
}
private
void
importAnalysisInterBuDataExcelFile
(
MultipartFile
file
,
String
periodDate
,
String
companyName
,
String
country
)
{
String
organizationId
,
String
country
)
{
try
{
InputStream
inputStream
=
file
.
getInputStream
();
Workbook
workbook
=
WorkbookFactory
.
create
(
inputStream
);
...
...
@@ -585,10 +616,12 @@ public class AnalysisServiceImpl extends BaseService {
AnalysisInternationalBusinessData
model
=
new
AnalysisInternationalBusinessData
();
model
.
setId
(
idService
.
nextId
());
model
.
setPeriod
(
selectedPer
);
model
.
set
CompanyName
(
companyName
);
model
.
set
OrganizationId
(
organizationId
);
model
.
setCountry
(
country
);
Cell
cell1
=
sheet
.
getRow
(
j
).
getCell
(
0
);
if
(
null
==
cell1
||
StringUtils
.
isEmpty
(
getCellStringValue
(
cell1
)))
{
try
{
model
.
setSeqNo
(
getSeqNoByPeriod
(
organizationId
,
DateUtils
.
strToPeriod
(
periodDate
)));
}
catch
(
Exception
e
)
{
continue
;
}
model
.
setGmv
(
getCellBigDecimalValue
(
cell1
));
...
...
@@ -606,7 +639,7 @@ public class AnalysisServiceImpl extends BaseService {
lists
.
add
(
model
);
}
AnalysisInternationalBusinessDataExample
example
=
new
AnalysisInternationalBusinessDataExample
();
example
.
createCriteria
().
andPeriodEqualTo
(
selectedPer
).
andCountryEqualTo
(
country
).
and
CompanyNameEqualTo
(
companyName
);
example
.
createCriteria
().
andPeriodEqualTo
(
selectedPer
).
andCountryEqualTo
(
country
).
and
OrganizationIdEqualTo
(
organizationId
);
analysisInternationalBusinessDataMapper
.
deleteByExample
(
example
);
lists
.
forEach
(
l
->
{
analysisInternationalBusinessDataMapper
.
insertSelective
(
l
);
...
...
@@ -848,7 +881,6 @@ public class AnalysisServiceImpl extends BaseService {
jdbcTemplate
.
update
(
sql
);
}
//e.createCriteria().andIsActiveEqualTo(true);
List
<
Organization
>
orgs
=
organizationMapper
.
selectByExample
(
e
);
//首先要先初始化master表数据,所有的数据要依赖master表
...
...
atms-api/src/main/java/pwc/taxtech/atms/service/impl/AssetListServiceImpl.java
View file @
8aed3bca
...
...
@@ -485,13 +485,13 @@ public class AssetListServiceImpl extends BaseService {
//把购入日期放入到Calendar
cal
.
setTime
(
citAsset
.
getBuyDate
());
//获取截止去年累计折旧期间,此值根据分类
citAsset
.
setTaxToLastYearDepreciationPeriod
((
year
-
1
-
cal
.
get
(
Calendar
.
YEAR
))
==
-
1
?
0
:((
year
-
1
-
cal
.
get
(
Calendar
.
YEAR
))*
12
+
12
-
cal
.
get
(
Calendar
.
MONTH
)));
citAsset
.
setTaxToLastYearDepreciationPeriod
((
year
-
1
-
cal
.
get
(
Calendar
.
YEAR
))
==
-
1
?
0
:((
year
-
1
-
cal
.
get
(
Calendar
.
YEAR
))*
12
+
12
-
cal
.
get
(
Calendar
.
MONTH
)
-
1
));
//获取截止本年累计折旧期间,此值根据分类
if
(
"完全报废"
.
equals
(
citAsset
.
getScrapType
())){
calendar
.
setTime
(
citAsset
.
getDisposedDate
());
citAsset
.
setTaxToCurrentYearDepreciationPeriod
((
calendar
.
get
(
Calendar
.
YEAR
)-
cal
.
get
(
Calendar
.
YEAR
))*
12
+
12
-
cal
.
get
(
Calendar
.
MONTH
));
citAsset
.
setTaxToCurrentYearDepreciationPeriod
((
calendar
.
get
(
Calendar
.
YEAR
)-
cal
.
get
(
Calendar
.
YEAR
))*
12
+
12
-
cal
.
get
(
Calendar
.
MONTH
)
-
1
);
}
else
{
citAsset
.
setTaxToCurrentYearDepreciationPeriod
((
year
-
cal
.
get
(
Calendar
.
YEAR
))*
12
+
12
-
cal
.
get
(
Calendar
.
MONTH
));
citAsset
.
setTaxToCurrentYearDepreciationPeriod
((
year
-
cal
.
get
(
Calendar
.
YEAR
))*
12
+
12
-
cal
.
get
(
Calendar
.
MONTH
)
-
1
);
}
cal
.
add
(
Calendar
.
MONTH
,
1
);
...
...
@@ -507,13 +507,13 @@ public class AssetListServiceImpl extends BaseService {
//把购入日期放入到Calendar
cal
.
setTime
(
citAsset
.
getBuyDate
());
//获取截止去年累计折旧期间,此值根据分类
citAsset
.
setTaxToLastYearDepreciationPeriod
((
year
-
1
-
cal
.
get
(
Calendar
.
YEAR
))
==
-
1
?
0
:((
year
-
1
-
cal
.
get
(
Calendar
.
YEAR
))*
12
+
12
-
cal
.
get
(
Calendar
.
MONTH
)));
citAsset
.
setTaxToLastYearDepreciationPeriod
((
year
-
1
-
cal
.
get
(
Calendar
.
YEAR
))
==
-
1
?
0
:((
year
-
1
-
cal
.
get
(
Calendar
.
YEAR
))*
12
+
12
-
cal
.
get
(
Calendar
.
MONTH
)
-
1
));
//获取截止本年累计折旧期间,此值根据分类
if
(
"完全报废"
.
equals
(
citAsset
.
getScrapType
())){
calendar
.
setTime
(
citAsset
.
getDisposedDate
());
citAsset
.
setTaxToCurrentYearDepreciationPeriod
((
calendar
.
get
(
Calendar
.
YEAR
)-
cal
.
get
(
Calendar
.
YEAR
))*
12
+
12
-
cal
.
get
(
Calendar
.
MONTH
));
citAsset
.
setTaxToCurrentYearDepreciationPeriod
((
calendar
.
get
(
Calendar
.
YEAR
)-
cal
.
get
(
Calendar
.
YEAR
))*
12
+
12
-
cal
.
get
(
Calendar
.
MONTH
)
-
1
);
}
else
{
citAsset
.
setTaxToCurrentYearDepreciationPeriod
((
year
-
cal
.
get
(
Calendar
.
YEAR
))*
12
+
12
-
cal
.
get
(
Calendar
.
MONTH
));
citAsset
.
setTaxToCurrentYearDepreciationPeriod
((
year
-
cal
.
get
(
Calendar
.
YEAR
))*
12
+
12
-
cal
.
get
(
Calendar
.
MONTH
)
-
1
);
}
cal
.
add
(
Calendar
.
MONTH
,
1
);
...
...
@@ -533,9 +533,9 @@ public class AssetListServiceImpl extends BaseService {
//获取截止本年累计折旧期间,此值根据分类
if
(
"完全报废"
.
equals
(
citAsset
.
getScrapType
())){
calendar
.
setTime
(
citAsset
.
getDisposedDate
());
citAsset
.
setTaxToCurrentYearDepreciationPeriod
((
calendar
.
get
(
Calendar
.
YEAR
)-
cal
.
get
(
Calendar
.
YEAR
))*
12
+
12
-
cal
.
get
(
Calendar
.
MONTH
)
+
1
);
citAsset
.
setTaxToCurrentYearDepreciationPeriod
((
calendar
.
get
(
Calendar
.
YEAR
)-
cal
.
get
(
Calendar
.
YEAR
))*
12
+
12
-
cal
.
get
(
Calendar
.
MONTH
));
}
else
{
citAsset
.
setTaxToCurrentYearDepreciationPeriod
((
year
-
cal
.
get
(
Calendar
.
YEAR
))*
12
+
12
-
cal
.
get
(
Calendar
.
MONTH
)
+
1
);
citAsset
.
setTaxToCurrentYearDepreciationPeriod
((
year
-
cal
.
get
(
Calendar
.
YEAR
))*
12
+
12
-
cal
.
get
(
Calendar
.
MONTH
));
}
//计算开始折旧日期
citAsset
.
setDepreciationDate
(
citAsset
.
getBuyDate
());
...
...
atms-api/src/main/java/pwc/taxtech/atms/service/impl/CitPreviewDataServiceImpl.java
View file @
8aed3bca
...
...
@@ -27,6 +27,9 @@ public class CitPreviewDataServiceImpl extends BaseService {
public
PageInfo
<
CitSalaryAdvance
>
getCitSalaryAdvanceDataList
(
CitSalaryDataDto
citSalaryDataDto
){
CitSalaryAdvanceExample
example
=
new
CitSalaryAdvanceExample
();
CitSalaryAdvanceExample
.
Criteria
criteria
=
example
.
createCriteria
();
criteria
.
andProjectIdEqualTo
(
citSalaryDataDto
.
getProjectId
());
criteria
.
andPeriodEqualTo
(
citSalaryDataDto
.
getPeriod
());
criteria
.
andCreatedByEqualTo
(
authUserHelper
.
getCurrentAuditor
().
get
());
if
(!
""
.
equals
(
citSalaryDataDto
.
getPoSubjectName
())
&&
citSalaryDataDto
.
getPoSubjectName
()
!=
null
){
//根据PO主体名称进行查询
criteria
.
andPoSubjectNameEqualTo
(
citSalaryDataDto
.
getPoSubjectName
());
}
...
...
@@ -47,6 +50,7 @@ public class CitPreviewDataServiceImpl extends BaseService {
if
(
periodStart
!=
null
&&
periodEnd
==
null
){
criteria
.
andPeriodGreaterThanOrEqualTo
(
periodStart
);
}
Page
page
=
PageHelper
.
startPage
(
citSalaryDataDto
.
getPageInfo
().
getPageIndex
(),
citSalaryDataDto
.
getPageInfo
().
getPageSize
());
List
<
CitSalaryAdvance
>
citSalaryAdvances
=
citSalaryAdvanceMapper
.
selectByExample
(
example
);
PageInfo
<
CitSalaryAdvance
>
pageInfo
=
new
PageInfo
<
CitSalaryAdvance
>(
citSalaryAdvances
);
...
...
atms-api/src/main/java/pwc/taxtech/atms/service/impl/DataImportService.java
View file @
8aed3bca
...
...
@@ -962,10 +962,13 @@ public class DataImportService extends BaseService {
rlits
.
stream
().
collect
(
Collectors
.
groupingBy
(
RedLetterInfoTable:
:
getSubjectNum
));
atsGroupRes
.
forEach
((
k
,
v
)
->
processRlits
(
k
,
v
,
orgIds
,
tmsPeriod
,
importType
,
dataImportLogs
));
}
if
(
dataImportLogs
.
size
()
==
0
)
return
OperationResultDto
.
error
(
ErrorMessage
.
NoData
);
addDataImportLog
(
dataImportLogs
);
int
isSuccess
=
(
int
)
dataImportLogs
.
stream
().
filter
(
di
->
Boolean
.
TRUE
.
equals
(
di
.
getImportResult
())).
count
();
if
(
isSuccess
<
1
)
{
return
OperationResultDto
.
error
(
ErrorMessage
.
NoData
);
return
OperationResultDto
.
error
(
ErrorMessage
.
ImportNotMatch
);
}
return
operationResultDto
.
success
();
}
catch
(
Exception
e
)
{
...
...
@@ -1068,9 +1071,11 @@ public class DataImportService extends BaseService {
atsGroupRes
.
forEach
((
k
,
v
)
->
processAts
(
k
,
v
,
orgIds
,
tmsPeriod
,
importType
,
dataImportLogs
));
}
addDataImportLog
(
dataImportLogs
);
if
(
dataImportLogs
.
size
()
==
0
)
return
OperationResultDto
.
error
(
ErrorMessage
.
NoData
);
int
isSuccess
=
(
int
)
dataImportLogs
.
stream
().
filter
(
di
->
Boolean
.
TRUE
.
equals
(
di
.
getImportResult
())).
count
();
if
(
isSuccess
<
1
)
{
return
OperationResultDto
.
error
(
ErrorMessage
.
NoData
);
return
OperationResultDto
.
error
(
ErrorMessage
.
ImportNotMatch
);
}
return
OperationResultDto
.
success
();
}
catch
(
ServiceException
e
)
{
...
...
@@ -1172,9 +1177,12 @@ public class DataImportService extends BaseService {
atsGroupRes
.
forEach
((
k
,
v
)
->
processCprs
(
k
,
v
,
orgIds
,
tmsPeriod
,
importType
,
dataImportLogs
));
}
int
isSuccess
=
(
int
)
dataImportLogs
.
stream
().
filter
(
di
->
Boolean
.
TRUE
.
equals
(
di
.
getImportResult
())).
count
();
if
(
dataImportLogs
.
size
()
==
0
)
return
OperationResultDto
.
error
(
ErrorMessage
.
NoData
);
addDataImportLog
(
dataImportLogs
);
if
(
isSuccess
<
1
)
{
return
OperationResultDto
.
error
(
ErrorMessage
.
NoData
);
return
OperationResultDto
.
error
(
ErrorMessage
.
ImportNotMatch
);
}
return
OperationResultDto
.
success
();
}
catch
(
ServiceException
e
)
{
...
...
@@ -1458,10 +1466,13 @@ public class DataImportService extends BaseService {
irs
.
stream
().
collect
(
Collectors
.
groupingBy
(
InvoiceRecord:
:
getBillingBody
));
atsGroupRes
.
forEach
((
k
,
v
)
->
processIrs
(
k
,
v
,
orgIds
,
tmsPeriod
,
importType
,
dataImportLogs
));
}
if
(
dataImportLogs
.
size
()
==
0
)
return
OperationResultDto
.
error
(
ErrorMessage
.
NoData
);
int
isSuccess
=
(
int
)
dataImportLogs
.
stream
().
filter
(
di
->
Boolean
.
TRUE
.
equals
(
di
.
getImportResult
())).
count
();
addDataImportLog
(
dataImportLogs
);
if
(
isSuccess
<
1
)
{
return
OperationResultDto
.
error
(
ErrorMessage
.
NoData
);
return
OperationResultDto
.
error
(
ErrorMessage
.
ImportNotMatch
);
}
return
OperationResultDto
.
success
();
}
catch
(
ServiceException
e
)
{
...
...
@@ -1740,7 +1751,6 @@ public class DataImportService extends BaseService {
cpr
.
setCurrency
(
getCellStringValue
(
row
.
getCell
(
12
)));
String
billNum
=
getCellStringValue
(
row
.
getCell
(
13
));
cpr
.
setBillNum
(
billNum
);
cpr
.
setCompanyCode
(
StringUtils
.
isNotEmpty
(
billNum
)
?
billNum
.
substring
(
0
,
6
)
:
""
);
cpr
.
setPaid
(
getCellBolleanValue
(
row
.
getCell
(
14
)));
cpr
.
setAmortization
(
getCellBolleanValue
(
row
.
getCell
(
15
)));
cpr
.
setPrepayments
(
getCellBolleanValue
(
row
.
getCell
(
16
)));
...
...
atms-api/src/main/resources/cit_excel_template/eamDispoal.xlsx
View file @
8aed3bca
No preview for this file type
atms-web/src/main/webapp/app/admin/basicData/financialData/enterpriseAccountManage/enterprise-account-manage.ctrl.js
View file @
8aed3bca
This diff is collapsed.
Click to expand it.
atms-web/src/main/webapp/app/admin/infrastructure/organizationManage/organization-manage.ctrl.js
View file @
8aed3bca
This diff is collapsed.
Click to expand it.
atms-web/src/main/webapp/app/admin/infrastructure/organizationManage/organization-manage.html
View file @
8aed3bca
...
...
@@ -1438,7 +1438,7 @@
<!-- 账套名称 -->
<span
class=
"block-span"
ng-show=
"!selectCompany.isUpdate"
>
{{set.enterpriseAccountSetName}}
</span>
ng-show=
"!selectCompany.isUpdate"
ng-click=
"jumpToAccount(set.enterpriseAccountSetID)"
>
{{set.enterpriseAccountSetName}}
</span>
<select
ng-show=
"selectCompany.isUpdate"
class=
"form-control account-set-select"
...
...
atms-web/src/main/webapp/app/analysis/data-import/international-data-import/international-data-import.ctrl.js
View file @
8aed3bca
...
...
@@ -397,6 +397,7 @@
};
var
getImportInternationalBUData
=
function
()
{
param
.
type
=
$scope
.
importType
;
vatImportService
.
displayAnalysisInternationalImportData
(
param
).
success
(
function
(
data
)
{
if
(
data
.
data
)
{
$scope
.
internationalBUDataGridSource
=
data
.
data
;
...
...
@@ -475,6 +476,7 @@
};
var
getImportInternationalTaxData
=
function
()
{
param
.
type
=
$scope
.
importType
;
vatImportService
.
displayAnalysisInternationalImportData
(
param
).
success
(
function
(
data
)
{
if
(
data
.
data
)
{
$scope
.
internationalTaxDataGridSource
=
data
.
data
;
...
...
atms-web/src/main/webapp/app/cit/import/cit-import-asset-list/cit-import-asset-list.html
View file @
8aed3bca
...
...
@@ -229,8 +229,11 @@
<
/div
>
<
/div
>
<
div
class
=
"modal-footer"
>
<!--
<
button
style
=
"margin-left: 22px;"
type
=
"button"
class
=
"btn btn-primary"
ng
-
click
=
"saveAssetGroupInfo()"
-->
<!--
ng
-
disabled
=
"!hasEditPermission"
>
{{
'Confirm'
|
translate
}}
-->
<!--
<
/button>--
>
<
button
style
=
"margin-left: 22px;"
type
=
"button"
class
=
"btn btn-primary"
ng
-
click
=
"saveAssetGroupInfo()"
ng
-
disabled
=
"!hasEditPermission"
>
{{
'Confirm'
|
translate
}}
>
{{
'Confirm'
|
translate
}}
<
/button
>
<
button
type
=
"button"
class
=
"btn btn-third"
ng
-
click
=
"cancelAsset()"
ng
-
if
=
"!isDisabled"
ng
-
disabled
=
"isDisabled"
>
{{
'ButtonCancel'
|
translate
}}
...
...
atms-web/src/main/webapp/app/cit/preview/cit-preview-salaryAdvance-list/cit-preview-salaryAdvance-list.ctrl.js
View file @
8aed3bca
...
...
@@ -107,6 +107,8 @@
//导出数据
$scope
.
downloadTB
=
function
()
{
$scope
.
queryParams
.
period
=
vatSessionService
.
year
;
$scope
.
queryParams
.
projectId
=
vatSessionService
.
project
.
id
;
citPreviewDataService
.
exportDataSalaryAdvance
(
$scope
.
queryParams
).
success
(
function
(
data
,
status
,
headers
)
{
if
(
status
===
204
){
SweetAlert
.
warning
(
"没有数据可以下载"
);
...
...
@@ -129,6 +131,8 @@
}
var
initListData
=
function
(){
$scope
.
queryParams
.
period
=
vatSessionService
.
year
;
$scope
.
queryParams
.
projectId
=
vatSessionService
.
project
.
id
;
citPreviewDataService
.
getCitPreviewSalaryAdvanceDataList
(
$scope
.
queryParams
).
success
(
function
(
res
)
{
$scope
.
listData
=
commonWebService
.
_index
(
res
.
list
);
$scope
.
queryParams
.
pagingOptions
.
totalItems
=
res
.
pageInfo
.
totalCount
;
...
...
atms-web/src/main/webapp/app/cit/preview/cit-preview-salaryAdvance-list/cit-preview-salaryAdvance-list.html
View file @
8aed3bca
...
...
@@ -9,7 +9,7 @@
data-templateurl=
"app/cit/preview/cit-preview-salaryAdvance-list/vat-preview-salaryAdvance-search.html"
>
<i
class=
"fa fa-filter"
aria-hidden=
"true"
></i>
</button>
<span
translate=
"
EAMDisposal
"
class=
"text-bold"
></span>
|
<span
translate=
"
salaryAdvance
"
class=
"text-bold"
></span>
|
<span
class=
"text-bold"
translate=
"InvoiceQJ"
style=
"display: none"
></span>
</div>
<input
type=
"text"
class=
"form-control input-width-middle periodInput"
style=
"position: relative; top: -30px; left: 210px;width: 200px;display: none"
id=
"input-invoice-period-picker"
/>
...
...
atms-web/src/main/webapp/app/cit/preview/cit-preview-tb-generate-ver/cit-preview-tb-generate-ver.ctrl.js
View file @
8aed3bca
...
...
@@ -66,7 +66,7 @@
data
.
list
.
forEach
(
function
(
v
)
{
v
.
index
=
index
++
;
});
$scope
.
grid
Options
.
data
=
data
.
list
;
$scope
.
grid
DataSource
=
data
.
list
;
$scope
.
pagingOptions
.
totalItems
=
data
.
total
;
}
...
...
@@ -185,24 +185,60 @@
loadJournalEntryDataFromDB
();
});
$scope
.
gridOptions
=
{
rowHeight
:
constant
.
UIGrid
.
rowHeight
,
selectionRowHeaderWidth
:
constant
.
UIGrid
.
rowHeight
,
// expandableRowTemplate: '<div ui-grid="row.entity.subGridOptions" style="height:150px;"></div>',
virtualizationThreshold
:
50
,
//默认加载50条数据,避免在数据展示时,只显示前面4条
enableSorting
:
false
,
enableColumnMenus
:
false
,
enableHorizontalScrollbar
:
1
,
columnDefs
:
[
{
name
:
$translate
.
instant
(
'AccountCode'
),
width
:
200
,
cellTemplate
:
'<div class="ui-grid-cell-contents"><span>{{row.entity.accountCode}}<span></div>'
},
{
name
:
$translate
.
instant
(
'AccountDescription'
),
width
:
200
,
cellTemplate
:
'<div class="ui-grid-cell-contents"><span title="{{row.entity.accountDescription}}">{{row.entity.accountDescription}}<span></div>'
},
{
name
:
$translate
.
instant
(
'AccountPeriod'
),
width
:
200
,
cellTemplate
:
'<div class="ui-grid-cell-contents"><span >{{row.entity.accountPeriod}}</span></div>'
},
{
name
:
$translate
.
instant
(
'DebitAmount'
),
width
:
200
,
cellTemplate
:
'<div class="ui-grid-cell-contents"><span >{{row.entity.debitAmount}}</span></div>'
},
{
name
:
$translate
.
instant
(
'CreditAmount'
),
width
:
200
,
cellTemplate
:
'<div class="ui-grid-cell-contents"><span >{{row.entity.creditAmount}}</span></div>'
},
{
name
:
$translate
.
instant
(
'BeginningBalance'
),
width
:
200
,
cellTemplate
:
'<div class="ui-grid-cell-contents"><span >{{row.entity.beginningBalance}}</span></div>'
},
{
name
:
$translate
.
instant
(
'EndingBalance'
),
width
:
200
,
cellTemplate
:
'<div class="ui-grid-cell-contents"><span >{{row.entity.endingBalance}}</span></div>'
},
]
bindingOptions
:
{
dataSource
:
'gridDataSource'
},
columns
:
[
{
caption
:
$translate
.
instant
(
'AccountCode'
),
dataField
:
"accountCode"
,
width
:
200
},
{
caption
:
$translate
.
instant
(
'AccountDescription'
),
dataField
:
"accountDescription"
,
width
:
250
},
{
caption
:
$translate
.
instant
(
'AccountPeriod'
),
dataField
:
"accountPeriod"
,
width
:
120
},
{
caption
:
$translate
.
instant
(
'DebitAmount'
),
dataField
:
"debitAmount"
,
format
:
{
type
:
'fixedPoint'
,
precision
:
2
},
width
:
200
},
{
caption
:
$translate
.
instant
(
'CreditAmount'
),
dataField
:
"creditAmount"
,
format
:
{
type
:
'fixedPoint'
,
precision
:
2
},
width
:
200
},
{
caption
:
$translate
.
instant
(
'BeginningBalance'
),
dataField
:
"beginningBalance"
,
format
:
{
type
:
'fixedPoint'
,
precision
:
2
},
width
:
200
},
{
caption
:
$translate
.
instant
(
'EndingBalance'
),
dataField
:
"endingBalance"
,
format
:
{
type
:
'fixedPoint'
,
precision
:
2
},
width
:
200
}
],
// onContentReady: function (e) {
// $scope.extractFinancialInstance = e.component;
// var totalCount = e.component.totalCount();
// if (totalCount > 0) {
// $scope.totalCount = totalCount;
// }
// },
loadPanel
:
{
enabled
:
true
},
selection
:
{
mode
:
"single"
},
paging
:
{
pageSize
:
50
,
},
showBorders
:
true
,
hoverStateEnabled
:
true
,
height
:
'99%'
,
noDataText
:
$translate
.
instant
(
'NoDataText'
)
};
$scope
.
doDataFilter
=
doDataFilter
;
...
...
atms-web/src/main/webapp/app/cit/preview/cit-preview-tb-generate-ver/cit-preview-tb-generate-ver.html
View file @
8aed3bca
...
...
@@ -23,35 +23,15 @@
<!--{{'ImportTime' | translate}}<span class="numAmount">{{importDate| date:'yyyy-MM-dd hh:mm:ss'}}</span>-->
<!--</div>-->
<div
id=
"filterCriteriaDiv"
style=
"max-width:98%;margin-bottom:2px;"
ng-show=
"criteriaList.length>0"
>
<span
class=
"text-bold margin-left20"
translate=
"FilterCriteriaTags"
></span>
:
<span
class=
"tag label label-default"
ng-repeat=
"criteria in criteriaListFirstRow"
>
<span
title=
"{{criteria.fullName}}"
>
{{criteria.name}}
</span>
<a><i
class=
"remove glyphicon glyphicon-remove-sign glyphicon-white"
ng-click=
"doDataFilter(criteria.propertyName)"
></i></a>
</span>
<span
ng-if=
"criteriaList.length>6"
><br/></span>
<span
ng-if=
"criteriaList.length>6"
style=
"margin-left: 81px; margin-top: 19px; display: inline-block;"
></span>
<span
ng-if=
"criteriaList.length>6"
class=
"tag label label-default"
ng-repeat=
"criteria in criteriaListSecondRow"
>
<span
title=
"{{criteria.fullName}}"
>
{{criteria.name}}
</span>
<a><i
class=
"remove glyphicon glyphicon-remove-sign glyphicon-white"
ng-click=
"doDataFilter(criteria.propertyName)"
></i></a>
</span>
</div>
<div
id=
"mainAreaDiv"
class=
"main-area"
>
<div
class=
"inputInvoiceGrid"
ui-grid=
"gridOptions"
>
<div
class=
"watermark"
ng-show=
"!gridOptions.data.length"
><span
translate=
"NoDataAvailable"
></span></div>
<div
id=
"tab_total"
>
<div
class=
"dt-init-wrapper"
>
<div
id=
"extractFinancialGridContainer"
dx-data-grid=
"gridOptions"
>
</div>
<div
class=
"page-footer"
>
<ack-pagination
page-options=
"pagingOptions"
refresh-table=
"refreshGrid()"
></ack-pagination>
</div>
</div>
</div>
<div
class=
"page-footer"
>
<ack-pagination
page-options=
"pagingOptions"
refresh-table=
"refreshGrid()"
></ack-pagination>
</div>
</div>
atms-web/src/main/webapp/app/cit/preview/cit-preview-tb-generate-ver/cit-preview-tb-generate-ver.less
View file @
8aed3bca
@import "~/app-resources/less/theme.less";
.cit-preview-tb-generate-ver {
background-color: white;
height: 100%;
.numAmount {
padding: 0 3px;
height: 21px;
margin-left: 5px;
/* font-family: 'Arial'; */
font-weight: 600;
border-radius: 2px;
font-style: normal;
outline: none;
border: none;
min-width: 20px;
background-color: #DDDDDD;
color: #AA0000;
}
/*background-color: @color-white;*/
padding-left: 20px;
/*min-height: 800px;*/
height: 96%;
.top-area-wrapper {
height: 60px;
width: 98%;
margin: 0 20px;
.dropdown-common() {
display: inline-block;
.filter-button {
width: 30px;
margin-top: 16px;
.select-button {
background-color: #F5F5F5;
padding: 6px 0;
width: 100px;
}
.operation-wrapper {
margin: 15px 25px 10px 10px;
.caret {
margin-top: 8px;
}
span {
cursor: pointer;
.dropdown-menu {
min-width: 100px;
li {
text-align: center;
min-height: 0px;
height: 30px;
line-height: 30px;
color: #000;
font-weight: normal;
&:hover {
background-color: #F91000;
color: #FFF;
}
}
}
}
.filter-popup-wrapper {
display: none;
}
#tab_total {
display: block;
height: calc(~'100% - 80px');
position: relative;
.import-wrapper {
span {
margin-left: 10px;
color: #333;
font-family: "Microsoft YaHei";
font-style: normal;
font-size: 14px;
font-weight: bold;
}
.checkbox-custom {
float: left;
position: relative;
margin-right : 10px;
margin-top: 0;
display: inline-block;
}
.margin-left20 {
margin-left: 20px;
}
/*******************************************/
/*Filter Criteria tags:*/
.tag {
font-size: 12px;
padding: .3em .4em .4em;
margin: 0 .1em;
.divider{
height: 1px;
margin: 9px 0;
overflow: hidden;
background-color: #e5e5e5;
}
a {
color: #bbb;
cursor: pointer;
opacity: 0.6;
margin: 0 0 0 .3em;
.checkbox-custom input[type="checkbox"] {
cursor: pointer;
z-index: 2;
margin: -6px 0 0 0;
top: 50%;
left: 3px;
}
.checkbox-custom label:before {
content: '';
position: absolute;
top: 50%;
left: 0;
margin-top: -9px;
width: 19px;
height: 18px;
display: inline-block;
border-radius: 2px;
border: 1px solid #bbb;
background: #fff;
}
.checkbox-custom input[type="checkbox"]:checked +label:after {
position: absolute;
display: inline-block;
font-family: 'Glyphicons Halflings';
content: "\e013";
top: 42%;
left: 3px;
margin-top: -5px;
font-size: 11px;
line-height: 1;
width: 16px;
height: 16px;
color: #333;
}
.checkbox-custom label {
cursor: pointer;
line-height: 1.2;
font-weight: normal;
margin-bottom: 0;
text-align: left;
}
.period-picker {
width: 110px;
border: 1px solid #c7c5c0;
display: inline-block;
line-height: 20px;
margin-top: 7px;
}
.imp-subheader {
display: inline-block;
font-size: 15px;
height: 30px;
line-height: 30px;
vertical-align: middle;
border: none;
&:hover {
opacity: 1.0;
select {
appearance: none;
-moz-appearance: none;
-webkit-appearance: none;
background: transparent;
}
}
.dropdown {
.dropdown-common();
}
.glyphicon-white {
color: #fff;
margin-bottom: 2px;
input {
width: 50px;
outline: none;
border-radius: 3px;
border: 1px solid #3c3a36;
padding: 2px;
text-align: center;
}
> button:last-child {
float: right;
margin-right: 20px;
}
.btn-wrapper {
border-radius: 5px;
background-color: #e0301e;
color: #FFF;
display: inline-block;
float: right;
margin-right: 10px;
.btn-vat-primary {
min-width: 80px;
}
}
}
.remove {
vertical-align: bottom;
top: 0;
.dt-init-wrapper {
margin: 0px 0;
max-width: 99%;
height: calc(~'100% - 20px');
position: relative;
margin-top: 10px;
}
}
/*Filter Criteria tags:*/
/*******************************************/
.main-area {
margin: 0 20px;
.
watermark
{
.
error-info-wrapper
{
position: absolute;
top: 50%
;
transform: translateY(-50%)
;
opacity: .25
;
font-size: 3em
;
width: 100%
;
text-align: center
;
z-index: 1000
;
height: 150px
;
bottom: 0
;
left: 0
;
right: 0
;
overflow: hidden
;
background-color: #FFF
;
margin-left: -40px
;
}
.inputInvoiceGrid {
width: 100%;
height: calc(~'100% - 158px');
#content-resizer {
width: 110%;
position: absolute;
height: 4px;
bottom: 150px;
left: 0;
right: 0;
background-color: red;
cursor: n-resize;
margin-left: -40px;
#topIcon {
cursor: pointer;
margin-top: -19px;
width: 38px;
margin-left: 46%;
z-index: 999;
bottom: -381px;
text-align: center;
display: block !important;
}
}
.ui-grid-header-cell-wrapper .ui-grid-header-cell-row .ui-grid-cell-contents {
height: 40px;
.dt-import-wrapper {
margin: 60px 0;
max-width: 99%;
overflow: auto;
height: calc(~"100% - 35px");
.dropdown {
.dropdown-common();
i {
display: none
;
color: #F85550
;
}
}
}
}
.
form-control
{
&:focus
{
border-color: transparent
;
-webkit-box-shadow: none;
box-shadow: none;
border: 1px solid #ccc
;
/*覆写ack-pagination.less中:.page-size, .pagination 中的margin演示 */
.
page-form-group
{
float:right;
.page-size
{
margin:0
;
}
.pagination {
margin:0
;
}
}
.input-width-middle {
width: 217px;
}
}
.popover {
min-width: 370px;
...
...
atms-web/src/main/webapp/app/cit/preview/cit-preview-tb-mapping-ver/cit-preview-tb-mapping-ver.ctrl.js
View file @
8aed3bca
...
...
@@ -69,7 +69,7 @@
data
.
list
.
forEach
(
function
(
v
)
{
v
.
index
=
index
++
;
});
$scope
.
grid
Options
.
data
=
data
.
list
;
$scope
.
grid
DataSource
=
data
.
list
;
$scope
.
pagingOptions
.
totalItems
=
data
.
total
;
}
...
...
@@ -190,25 +190,61 @@
loadJournalEntryDataFromDB
();
});
$scope
.
gridOptions
=
{
rowHeight
:
constant
.
UIGrid
.
rowHeight
,
selectionRowHeaderWidth
:
constant
.
UIGrid
.
rowHeight
,
// expandableRowTemplate: '<div ui-grid="row.entity.subGridOptions" style="height:150px;"></div>',
virtualizationThreshold
:
50
,
//默认加载50条数据,避免在数据展示时,只显示前面4条
enableSorting
:
false
,
enableColumnMenus
:
false
,
enableHorizontalScrollbar
:
1
,
columnDefs
:
[
{
name
:
$translate
.
instant
(
'Attribute'
),
width
:
200
,
cellTemplate
:
'<div class="ui-grid-cell-contents"><span>{{row.entity.attribute}}<span></div>'
},
{
name
:
$translate
.
instant
(
'AccountCode'
),
width
:
200
,
cellTemplate
:
'<div class="ui-grid-cell-contents"><span>{{row.entity.accountCode}}<span></div>'
},
{
name
:
$translate
.
instant
(
'AccountDescription'
),
width
:
200
,
cellTemplate
:
'<div class="ui-grid-cell-contents"><span title="{{row.entity.accountDescription}}">{{row.entity.accountDescription}}<span></div>'
},
{
name
:
$translate
.
instant
(
'AccountPeriod'
),
width
:
200
,
cellTemplate
:
'<div class="ui-grid-cell-contents"><span >{{row.entity.accountPeriod}}</span></div>'
},
{
name
:
$translate
.
instant
(
'DebitAmount'
),
width
:
200
,
cellTemplate
:
'<div class="ui-grid-cell-contents"><span >{{row.entity.debitAmount}}</span></div>'
},
{
name
:
$translate
.
instant
(
'CreditAmount'
),
width
:
200
,
cellTemplate
:
'<div class="ui-grid-cell-contents"><span >{{row.entity.creditAmount}}</span></div>'
},
{
name
:
$translate
.
instant
(
'BeginningBalance'
),
width
:
200
,
cellTemplate
:
'<div class="ui-grid-cell-contents"><span >{{row.entity.beginningBalance}}</span></div>'
},
{
name
:
$translate
.
instant
(
'EndingBalance'
),
width
:
200
,
cellTemplate
:
'<div class="ui-grid-cell-contents"><span >{{row.entity.endingBalance}}</span></div>'
},
]
bindingOptions
:
{
dataSource
:
'gridDataSource'
},
columns
:
[
{
caption
:
$translate
.
instant
(
'Attribute'
),
dataField
:
"attribute"
,
width
:
200
},
{
caption
:
$translate
.
instant
(
'AccountCode'
),
dataField
:
"accountCode"
,
width
:
200
},
{
caption
:
$translate
.
instant
(
'AccountDescription'
),
dataField
:
"accountDescription"
,
width
:
250
},
{
caption
:
$translate
.
instant
(
'AccountPeriod'
),
dataField
:
"accountPeriod"
,
width
:
100
},
{
caption
:
$translate
.
instant
(
'DebitAmount'
),
dataField
:
"debitAmount"
,
format
:
{
type
:
'fixedPoint'
,
precision
:
2
},
width
:
180
},
{
caption
:
$translate
.
instant
(
'CreditAmount'
),
dataField
:
"creditAmount"
,
format
:
{
type
:
'fixedPoint'
,
precision
:
2
},
width
:
180
},
{
caption
:
$translate
.
instant
(
'BeginningBalance'
),
dataField
:
"beginningBalance"
,
format
:
{
type
:
'fixedPoint'
,
precision
:
2
},
width
:
180
},
{
caption
:
$translate
.
instant
(
'EndingBalance'
),
dataField
:
"endingBalance"
,
format
:
{
type
:
'fixedPoint'
,
precision
:
2
},
width
:
180
}
],
// onContentReady: function (e) {
// $scope.extractFinancialInstance = e.component;
// var totalCount = e.component.totalCount();
// if (totalCount > 0) {
// $scope.totalCount = totalCount;
// }
// },
loadPanel
:
{
enabled
:
true
},
selection
:
{
mode
:
"single"
},
paging
:
{
pageSize
:
50
,
},
showBorders
:
true
,
hoverStateEnabled
:
true
,
height
:
'99%'
,
noDataText
:
$translate
.
instant
(
'NoDataText'
)
};
$scope
.
doDataFilter
=
doDataFilter
;
...
...
atms-web/src/main/webapp/app/cit/preview/cit-preview-tb-mapping-ver/cit-preview-tb-mapping-ver.html
View file @
8aed3bca
...
...
@@ -21,33 +21,15 @@
<!--{{'ImportTime' | translate}}<span class="numAmount">{{importDate| date:'yyyy-MM-dd hh:mm:ss'}}</span>-->
<!--</div>-->
<div
id=
"filterCriteriaDiv"
style=
"max-width:98%;margin-bottom:2px;"
ng-show=
"criteriaList.length>0"
>
<span
class=
"text-bold margin-left20"
translate=
"FilterCriteriaTags"
></span>
:
<span
class=
"tag label label-default"
ng-repeat=
"criteria in criteriaListFirstRow"
>
<span
title=
"{{criteria.fullName}}"
>
{{criteria.name}}
</span>
<a><i
class=
"remove glyphicon glyphicon-remove-sign glyphicon-white"
ng-click=
"doDataFilter(criteria.propertyName)"
></i></a>
</span>
<span
ng-if=
"criteriaList.length>6"
><br
/></span>
<span
ng-if=
"criteriaList.length>6"
style=
"margin-left: 81px; margin-top: 19px; display: inline-block;"
></span>
<span
ng-if=
"criteriaList.length>6"
class=
"tag label label-default"
ng-repeat=
"criteria in criteriaListSecondRow"
>
<span
title=
"{{criteria.fullName}}"
>
{{criteria.name}}
</span>
<a><i
class=
"remove glyphicon glyphicon-remove-sign glyphicon-white"
ng-click=
"doDataFilter(criteria.propertyName)"
></i></a>
</span>
</div>
<div
id=
"mainAreaDiv"
class=
"main-area"
>
<div
class=
"inputInvoiceGrid"
ui-grid=
"gridOptions"
>
<div
class=
"watermark"
ng-show=
"!gridOptions.data.length"
><span
translate=
"NoDataAvailable"
></span></div>
<div
id=
"tab_total"
>
<div
class=
"dt-init-wrapper"
>
<div
id=
"extractFinancialGridContainer"
dx-data-grid=
"gridOptions"
>
</div>
<div
class=
"page-footer"
>
<ack-pagination
page-options=
"pagingOptions"
refresh-table=
"refreshGrid()"
></ack-pagination>
</div>
</div>
</div>
<div
class=
"page-footer"
>
<ack-pagination
page-options=
"pagingOptions"
refresh-table=
"refreshGrid()"
></ack-pagination>
</div>
</div>
atms-web/src/main/webapp/app/cit/preview/cit-preview-tb-mapping-ver/cit-preview-tb-mapping-ver.less
View file @
8aed3bca
@import "~/app-resources/less/theme.less";
.cit-preview-tb-mapping-ver {
background-color: white;
height: 100%;
.numAmount {
padding: 0 3px;
height: 21px;
margin-left: 5px;
/* font-family: 'Arial'; */
font-weight: 600;
border-radius: 2px;
font-style: normal;
outline: none;
border: none;
min-width: 20px;
background-color: #DDDDDD;
color: #AA0000;
}
/*background-color: @color-white;*/
padding-left: 20px;
/*min-height: 800px;*/
height: 96%;
.top-area-wrapper {
height: 60px;
width: 98%;
margin: 0 20px;
.dropdown-common() {
display: inline-block;
.filter-button {
width: 30px;
margin-top: 16px;
.select-button {
background-color: #F5F5F5;
padding: 6px 0;
width: 100px;
}
.operation-wrapper {
margin: 15px 25px 10px 10px;
.caret {
margin-top: 8px;
}
span {
cursor: pointer;
.dropdown-menu {
min-width: 100px;
li {
text-align: center;
min-height: 0px;
height: 30px;
line-height: 30px;
color: #000;
font-weight: normal;
&:hover {
background-color: #F91000;
color: #FFF;
}
}
}
}
.filter-popup-wrapper {
display: none;
}
#tab_total {
display: block;
height: calc(~'100% - 80px');
position: relative;
.import-wrapper {
span {
margin-left: 10px;
color: #333;
font-family: "Microsoft YaHei";
font-style: normal;
font-size: 14px;
font-weight: bold;
}
.checkbox-custom {
float: left;
position: relative;
margin-right : 10px;
margin-top: 0;
display: inline-block;
}
.margin-left20 {
margin-left: 20px;
}
/*******************************************/
/*Filter Criteria tags:*/
.tag {
font-size: 12px;
padding: .3em .4em .4em;
margin: 0 .1em;
.divider{
height: 1px;
margin: 9px 0;
overflow: hidden;
background-color: #e5e5e5;
}
a {
color: #bbb;
cursor: pointer;
opacity: 0.6;
margin: 0 0 0 .3em;
.checkbox-custom input[type="checkbox"] {
cursor: pointer;
z-index: 2;
margin: -6px 0 0 0;
top: 50%;
left: 3px;
}
.checkbox-custom label:before {
content: '';
position: absolute;
top: 50%;
left: 0;
margin-top: -9px;
width: 19px;
height: 18px;
display: inline-block;
border-radius: 2px;
border: 1px solid #bbb;
background: #fff;
}
.checkbox-custom input[type="checkbox"]:checked +label:after {
position: absolute;
display: inline-block;
font-family: 'Glyphicons Halflings';
content: "\e013";
top: 42%;
left: 3px;
margin-top: -5px;
font-size: 11px;
line-height: 1;
width: 16px;
height: 16px;
color: #333;
}
.checkbox-custom label {
cursor: pointer;
line-height: 1.2;
font-weight: normal;
margin-bottom: 0;
text-align: left;
}
.period-picker {
width: 110px;
border: 1px solid #c7c5c0;
display: inline-block;
line-height: 20px;
margin-top: 7px;
}
.imp-subheader {
display: inline-block;
font-size: 15px;
height: 30px;
line-height: 30px;
vertical-align: middle;
border: none;
&:hover {
opacity: 1.0;
select {
appearance: none;
-moz-appearance: none;
-webkit-appearance: none;
background: transparent;
}
}
.dropdown {
.dropdown-common();
}
.glyphicon-white {
color: #fff;
margin-bottom: 2px;
input {
width: 50px;
outline: none;
border-radius: 3px;
border: 1px solid #3c3a36;
padding: 2px;
text-align: center;
}
> button:last-child {
float: right;
margin-right: 20px;
}
.btn-wrapper {
border-radius: 5px;
background-color: #e0301e;
color: #FFF;
display: inline-block;
float: right;
margin-right: 10px;
.btn-vat-primary {
min-width: 80px;
}
}
}
.remove {
vertical-align: bottom;
top: 0;
.dt-init-wrapper {
margin: 0px 0;
max-width: 99%;
height: calc(~'100% - 20px');
position: relative;
margin-top: 10px;
}
}
/*Filter Criteria tags:*/
/*******************************************/
.main-area {
margin: 0 20px;
.
watermark
{
.
error-info-wrapper
{
position: absolute;
top: 50%
;
transform: translateY(-50%)
;
opacity: .25
;
font-size: 3em
;
width: 100%
;
text-align: center
;
z-index: 1000
;
height: 150px
;
bottom: 0
;
left: 0
;
right: 0
;
overflow: hidden
;
background-color: #FFF
;
margin-left: -40px
;
}
.inputInvoiceGrid {
width: 100%;
height: calc(~'100% - 158px');
#content-resizer {
width: 110%;
position: absolute;
height: 4px;
bottom: 150px;
left: 0;
right: 0;
background-color: red;
cursor: n-resize;
margin-left: -40px;
#topIcon {
cursor: pointer;
margin-top: -19px;
width: 38px;
margin-left: 46%;
z-index: 999;
bottom: -381px;
text-align: center;
display: block !important;
}
}
.ui-grid-header-cell-wrapper .ui-grid-header-cell-row .ui-grid-cell-contents {
height: 40px;
.dt-import-wrapper {
margin: 60px 0;
max-width: 99%;
overflow: auto;
height: calc(~"100% - 35px");
.dropdown {
.dropdown-common();
i {
display: none
;
color: #F85550
;
}
}
}
}
.
form-control
{
&:focus
{
border-color: transparent
;
-webkit-box-shadow: none;
box-shadow: none;
border: 1px solid #ccc
;
/*覆写ack-pagination.less中:.page-size, .pagination 中的margin演示 */
.
page-form-group
{
float:right;
.page-size
{
margin:0
;
}
.pagination {
margin:0
;
}
}
.input-width-middle {
width: 217px;
}
}
.popover {
min-width: 370px;
...
...
atms-web/src/main/webapp/app/cit/report/cit-report-layout/cit-report-layout.ctrl.js
View file @
8aed3bca
...
...
@@ -202,6 +202,15 @@
$scope
.
hasTaxReturnPermission
=
data
[
reportTemp
.
taxReturnCode
];
$scope
.
hasQueryTaxReturnPermission
=
data
[
reportTemp
.
taxReturn
.
queryCode
];
$scope
.
hasEditTaxReturnPermission
=
data
[
reportTemp
.
taxReturn
.
editCode
];
// 将查看纳税申报表权限都赋上
$scope
.
hasBsPlPermission
=
true
;
$scope
.
hasBsPermission
=
true
;
$scope
.
hasPlPermission
=
true
;
$scope
.
hasTaxReturnPermission
=
true
;
$scope
.
hasQueryTaxReturnPermission
=
true
;
$scope
.
hasEditTaxReturnPermission
=
true
;
});
};
var
toggleGroup
=
function
(
group
)
{
...
...
atms-web/src/main/webapp/app/common/webservices/citPreviewData.svc.js
View file @
8aed3bca
...
...
@@ -4,7 +4,13 @@ webservices.factory('citPreviewDataService', ['$http', 'apiConfig', function ($h
return
{
//获取 预提分类数据源列表数据
getCitPreviewSalaryAdvanceDataList
:
function
(
params
){
return
$http
.
post
(
'/citPreviewDataController/getSalaryAdvaceListData'
,{
pageInfo
:
params
.
pagingOptions
,
periodStart
:
params
.
periodStart
,
periodEnd
:
params
.
periodEnd
,
period
:
params
.
period
},
apiConfig
.
createVat
());
return
$http
.
post
(
'/citPreviewDataController/getSalaryAdvaceListData'
,{
pageInfo
:
params
.
pagingOptions
,
periodStart
:
params
.
periodStart
,
periodEnd
:
params
.
periodEnd
,
period
:
params
.
period
,
projectId
:
params
.
projectId
},
apiConfig
.
createVat
());
},
getCitPreviewEamDisposalDataList
:
function
(
params
)
{
return
$http
.
post
(
'/citPreviewDataController/getCitPreviewEamDisposalDataList'
,
{
pageInfo
:
params
.
pagingOptions
,
periodStart
:
params
.
periodStart
,
periodEnd
:
params
.
periodEnd
,
organizationId
:
params
.
organizationId
,
period
:
params
.
period
,
compensationSaleAmount
:
params
.
compensationSaleAmount
,
assetLabelNumber
:
params
.
assetLabelNumber
},
apiConfig
.
createVat
());
...
...
atms-web/src/main/webapp/app/vat/preview/vat-preview-cash-flow/vat-preview-cash-flow.ctrl.js
View file @
8aed3bca
...
...
@@ -240,8 +240,18 @@
columnDefs
:
[
{
name
:
$translate
.
instant
(
'CashFlowEntry'
),
width
:
'32%'
,
cellTemplate
:
'<div class="ui-grid-cell-contents"><span>{{row.entity.itemName}}<span></div>'
},
{
name
:
$translate
.
instant
(
'Item'
),
width
:
'38%'
,
cellTemplate
:
'<div class="ui-grid-cell-contents"><span>{{row.entity.itemName2}}<span></div>'
},
{
name
:
$translate
.
instant
(
'CurrentPeriodAmount'
),
width
:
'15%'
,
cellTemplate
:
'<div class="ui-grid-cell-contents"><span>{{row.entity.periodAmt}}<span></div>'
},
{
name
:
$translate
.
instant
(
'ThisYearAccumulatedAmount'
),
width
:
'15%'
,
cellTemplate
:
'<div class="ui-grid-cell-contents"><span>{{row.entity.ytdAmt}}<span></div>'
}
{
name
:
$translate
.
instant
(
'CurrentPeriodAmount'
),
headerCellClass
:
'rightHeader'
,
width
:
'15%'
,
cellTemplate
:
'<div class="ui-grid-cell-contents" style="text-align: right"><span>{{row.entity.periodAmt | number:2}}<span></div>'
},
{
name
:
$translate
.
instant
(
'ThisYearAccumulatedAmount'
),
headerCellClass
:
'rightHeader'
,
width
:
'15%'
,
cellTemplate
:
'<div class="ui-grid-cell-contents" style="text-align: right"><span>{{row.entity.ytdAmt | number:2}}<span></div>'
}
]
};
...
...
atms-web/src/main/webapp/app/vat/preview/vat-preview-cash-flow/vat-preview-cash-flow.less
View file @
8aed3bca
...
...
@@ -123,7 +123,9 @@
}
}
.rightHeader{
text-align: right;
}
.popover {
min-width: 370px;
...
...
atms-web/src/main/webapp/app/vat/preview/vat-preview-certified-invoices-list/vat-preview-certified-invoices-list.ctrl.js
View file @
8aed3bca
...
...
@@ -287,8 +287,16 @@
{
name
:
$translate
.
instant
(
'BillingDate'
),
cellTemplate
:
'<div class="ui-grid-cell-contents"><span>{{row.entity.billingDate | date:"yyyy-MM-dd"}}</span></div>'
},
{
name
:
$translate
.
instant
(
'SalesTaxNum'
),
cellTemplate
:
'<div class="ui-grid-cell-contents"><span>{{row.entity.salesTaxNum}}</span></div>'
},
{
name
:
$translate
.
instant
(
'SalesTaxName'
),
cellTemplate
:
'<div class="ui-grid-cell-contents"><span>{{row.entity.salespersonName}}</span></div>'
},
{
name
:
$translate
.
instant
(
'Amount'
),
cellTemplate
:
'<div class="ui-grid-cell-contents"><span>{{row.entity.amount}}</span></div>'
},
{
name
:
$translate
.
instant
(
'TaxAmount'
),
cellTemplate
:
'<div class="ui-grid-cell-contents"><span>{{row.entity.taxAmount}}</span></div>'
},
{
name
:
$translate
.
instant
(
'Amount'
),
headerCellClass
:
'rightHeader'
,
cellTemplate
:
'<div class="ui-grid-cell-contents" style="text-align: right"><span>{{row.entity.amount | number:2}}</span></div>'
},
{
name
:
$translate
.
instant
(
'TaxAmount'
),
headerCellClass
:
'rightHeader'
,
cellTemplate
:
'<div class="ui-grid-cell-contents" style="text-align: right"><span>{{row.entity.taxAmount | number:2}}</span></div>'
},
{
name
:
$translate
.
instant
(
'VerificationMethod'
),
cellTemplate
:
'<div class="ui-grid-cell-contents"><span>{{row.entity.verificationMethod}}</span></div>'
},
{
name
:
$translate
.
instant
(
'ConfirmDate'
),
cellTemplate
:
'<div class="ui-grid-cell-contents"><span>{{row.entity.certifiedDate | date:"yyyy-MM-dd"}}</span></div>'
},
{
name
:
$translate
.
instant
(
'InvoiceType'
),
cellTemplate
:
'<div class="ui-grid-cell-contents"><span>{{row.entity.invoiceType}}</span></div>'
},
...
...
atms-web/src/main/webapp/app/vat/preview/vat-preview-certified-invoices-list/vat-preview-certified-invoices-list.less
View file @
8aed3bca
...
...
@@ -123,7 +123,9 @@
}
}
.rightHeader{
text-align: right;
}
.popover {
min-width: 370px;
...
...
atms-web/src/main/webapp/app/vat/preview/vat-preview-coupa-purchasing-report/vat-preview-coupa-purchasing-report.ctrl.js
View file @
8aed3bca
...
...
@@ -297,7 +297,12 @@
{
name
:
$translate
.
instant
(
'CoupaDescription'
),
width
:
200
,
cellTemplate
:
'<div class="ui-grid-cell-contents"><span>{{row.entity.description}}</span></div>'
},
{
name
:
$translate
.
instant
(
'SupplierNumber'
),
width
:
200
,
cellTemplate
:
'<div class="ui-grid-cell-contents"><span>{{row.entity.supplierNum}}</span></div>'
},
{
name
:
$translate
.
instant
(
'Supplier'
),
width
:
200
,
cellTemplate
:
'<div class="ui-grid-cell-contents"><span>{{row.entity.supplier}}</span></div>'
},
{
name
:
$translate
.
instant
(
'Total'
),
width
:
200
,
cellTemplate
:
'<div class="ui-grid-cell-contents"><span>{{row.entity.totalAmount}}</span></div>'
},
{
name
:
$translate
.
instant
(
'Total'
),
headerCellClass
:
'rightHeader'
,
width
:
200
,
cellTemplate
:
'<div class="ui-grid-cell-contents" style="text-align: right"><span>{{row.entity.totalAmount | number:2}}</span></div>'
},
{
name
:
$translate
.
instant
(
'Currency'
),
width
:
200
,
cellTemplate
:
'<div class="ui-grid-cell-contents"><span>{{row.entity.currency}}</span></div>'
},
{
name
:
$translate
.
instant
(
'Bill'
),
width
:
200
,
cellTemplate
:
'<div class="ui-grid-cell-contents"><span>{{row.entity.billNum}}</span></div>'
},
{
name
:
$translate
.
instant
(
'Paid'
),
width
:
200
,
cellTemplate
:
'<div class="ui-grid-cell-contents"><span>{{row.entity.paid}}</span></div>'
},
...
...
@@ -311,8 +316,18 @@
{
name
:
$translate
.
instant
(
'CoupaBillingDate'
),
width
:
200
,
cellTemplate
:
'<div class="ui-grid-cell-contents"><span>{{row.entity.billingDate | date:"yyyy-MM-dd"}}</span></div>'
},
{
name
:
$translate
.
instant
(
'LastUpdatedDate'
),
width
:
200
,
cellTemplate
:
'<div class="ui-grid-cell-contents"><span>{{row.entity.lastUpdatedDate | date:"yyyy-MM-dd"}}</span></div>'
},
{
name
:
$translate
.
instant
(
'LastUpdatedPerson'
),
width
:
200
,
cellTemplate
:
'<div class="ui-grid-cell-contents"><span>{{row.entity.lastUpdatedPerson}}</span></div>'
},
{
name
:
$translate
.
instant
(
'CoupaTotalTaxAmount'
),
width
:
200
,
cellTemplate
:
'<div class="ui-grid-cell-contents"><span>{{row.entity.totalTaxAmount}}</span></div>'
},
{
name
:
$translate
.
instant
(
'TotalTaxAmountHeader'
),
width
:
200
,
cellTemplate
:
'<div class="ui-grid-cell-contents"><span>{{row.entity.totalTaxAmountHeader}}</span></div>'
},
{
name
:
$translate
.
instant
(
'CoupaTotalTaxAmount'
),
headerCellClass
:
'rightHeader'
,
width
:
200
,
cellTemplate
:
'<div class="ui-grid-cell-contents" style="text-align: right"><span>{{row.entity.totalTaxAmount | number:2}}</span></div>'
},
{
name
:
$translate
.
instant
(
'TotalTaxAmountHeader'
),
headerCellClass
:
'rightHeader'
,
width
:
200
,
cellTemplate
:
'<div class="ui-grid-cell-contents" style="text-align: right"><span>{{row.entity.totalTaxAmountHeader | number:2}}</span></div>'
},
{
name
:
$translate
.
instant
(
'BillingNote'
),
width
:
200
,
cellTemplate
:
'<div class="ui-grid-cell-contents"><span>{{row.entity.billingNote}}</span></div>'
}
]
};
...
...
atms-web/src/main/webapp/app/vat/preview/vat-preview-coupa-purchasing-report/vat-preview-coupa-purchasing-report.less
View file @
8aed3bca
...
...
@@ -123,7 +123,9 @@
}
}
.rightHeader{
text-align: right;
}
.popover {
min-width: 370px;
...
...
atms-web/src/main/webapp/app/vat/preview/vat-preview-invoice-data/vat-preview-invoice-data.ctrl.js
View file @
8aed3bca
...
...
@@ -292,15 +292,42 @@
columnDefs
:
[
{
name
:
$translate
.
instant
(
'ProjectName'
),
cellTemplate
:
'<div class="ui-grid-cell-contents"><span>{{row.entity.projectName}}<span></div>'
},
// { name: $translate.instant('InvoiceQJ'), width: '8%', cellTemplate: '<div class="ui-grid-cell-contents"><span>{{row.entity.periodID}}<span></div>' },
{
name
:
$translate
.
instant
(
'IDTotalAmount'
),
cellTemplate
:
'<div class="ui-grid-cell-contents"><span>{{row.entity.totalAmount }}<span></div>'
},
{
name
:
$translate
.
instant
(
'Amount1'
),
cellTemplate
:
'<div class="ui-grid-cell-contents"><span>{{row.entity.amount1}}</span></div>'
},
{
name
:
$translate
.
instant
(
'Amount2'
),
cellTemplate
:
'<div class="ui-grid-cell-contents"><span>{{row.entity.amount2}}</span></div>'
},
{
name
:
$translate
.
instant
(
'Amount3'
),
cellTemplate
:
'<div class="ui-grid-cell-contents"><span>{{row.entity.amount3}}</span></div>'
},
{
name
:
$translate
.
instant
(
'Amount4'
),
cellTemplate
:
'<div class="ui-grid-cell-contents"><span>{{row.entity.amount4}}</span></div>'
},
{
name
:
$translate
.
instant
(
'Amount5'
),
cellTemplate
:
'<div class="ui-grid-cell-contents "><span>{{row.entity.amount5}}</span></div>'
},
{
name
:
$translate
.
instant
(
'Amount6'
),
cellTemplate
:
'<div class="ui-grid-cell-contents "><span>{{row.entity.amount6}}</span></div>'
},
{
name
:
$translate
.
instant
(
'Amount7'
),
cellTemplate
:
'<div class="ui-grid-cell-contents"><span>{{row.entity.amount7 }}</span></div>'
},
{
name
:
$translate
.
instant
(
'OtherAmount'
),
cellTemplate
:
'<div class="ui-grid-cell-contents"><span>{{row.entity.otherAmount}}</span></div>'
}
{
name
:
$translate
.
instant
(
'IDTotalAmount'
),
headerCellClass
:
'rightHeader'
,
cellTemplate
:
'<div class="ui-grid-cell-contents" style="text-align: right"><span>{{row.entity.totalAmount | number:2}}<span></div>'
},
{
name
:
$translate
.
instant
(
'Amount1'
),
headerCellClass
:
'rightHeader'
,
cellTemplate
:
'<div class="ui-grid-cell-contents" style="text-align: right"><span>{{row.entity.amount1 | number:2}}</span></div>'
},
{
name
:
$translate
.
instant
(
'Amount2'
),
headerCellClass
:
'rightHeader'
,
cellTemplate
:
'<div class="ui-grid-cell-contents" style="text-align: right"><span>{{row.entity.amount2 | number:2}}</span></div>'
},
{
name
:
$translate
.
instant
(
'Amount3'
),
headerCellClass
:
'rightHeader'
,
cellTemplate
:
'<div class="ui-grid-cell-contents" style="text-align: right"><span>{{row.entity.amount3 | number:2}}</span></div>'
},
{
name
:
$translate
.
instant
(
'Amount4'
),
headerCellClass
:
'rightHeader'
,
cellTemplate
:
'<div class="ui-grid-cell-contents" style="text-align: right"><span>{{row.entity.amount4 | number:2}}</span></div>'
},
{
name
:
$translate
.
instant
(
'Amount5'
),
headerCellClass
:
'rightHeader'
,
cellTemplate
:
'<div class="ui-grid-cell-contents " style="text-align: right"><span>{{row.entity.amount5 | number:2}}</span></div>'
},
{
name
:
$translate
.
instant
(
'Amount6'
),
headerCellClass
:
'rightHeader'
,
cellTemplate
:
'<div class="ui-grid-cell-contents " style="text-align: right"><span>{{row.entity.amount6 | number:2}}</span></div>'
},
{
name
:
$translate
.
instant
(
'Amount7'
),
headerCellClass
:
'rightHeader'
,
cellTemplate
:
'<div class="ui-grid-cell-contents" style="text-align: right"><span>{{row.entity.amount7 | number:2}}</span></div>'
},
{
name
:
$translate
.
instant
(
'OtherAmount'
),
headerCellClass
:
'rightHeader'
,
cellTemplate
:
'<div class="ui-grid-cell-contents" style="text-align: right"><span>{{row.entity.otherAmount | number:2}}</span></div>'
}
]
};
...
...
atms-web/src/main/webapp/app/vat/preview/vat-preview-invoice-data/vat-preview-invoice-data.less
View file @
8aed3bca
...
...
@@ -123,7 +123,9 @@
}
}
.rightHeader{
text-align: right;
}
.popover {
min-width: 370px;
...
...
atms-web/src/main/webapp/app/vat/preview/vat-preview-invoice-record/vat-preview-invoice-record.ctrl.js
View file @
8aed3bca
...
...
@@ -300,11 +300,21 @@
{
name
:
$translate
.
instant
(
'CustomerCompanyName'
),
width
:
200
,
cellTemplate
:
'<div class="ui-grid-cell-contents"><span title="{{row.entity.fpdm}}">{{row.entity.customerCompanyName}}</span></div>'
},
{
name
:
$translate
.
instant
(
'InvoiceType'
),
width
:
200
,
cellTemplate
:
'<div class="ui-grid-cell-contents"><span title="{{row.entity.fphm}}">{{row.entity.invoiceType}}</span></div>'
},
{
name
:
$translate
.
instant
(
'BillingContent'
),
width
:
200
,
cellTemplate
:
'<div class="ui-grid-cell-contents"><span title="{{row.entity.xfsh}}">{{row.entity.billingContent}}</span></div>'
},
{
name
:
$translate
.
instant
(
'InvoiceAmount'
),
width
:
200
,
cellTemplate
:
'<div class="ui-grid-cell-contents"><span title="{{row.entity.fplx}}">{{row.entity.invoiceAmount}}</span></div>'
},
{
name
:
$translate
.
instant
(
'InvoiceAmount'
),
headerCellClass
:
'rightHeader'
,
width
:
200
,
cellTemplate
:
'<div class="ui-grid-cell-contents" style="text-align: right"><span title="{{row.entity.fplx}}">{{row.entity.invoiceAmount | number:2}}</span></div>'
},
{
name
:
$translate
.
instant
(
'Applicant'
),
width
:
200
,
cellTemplate
:
'<div class="ui-grid-cell-contents "><span>{{row.entity.applicant}}</span></div>'
},
{
name
:
$translate
.
instant
(
'OAApplicationNum'
),
width
:
200
,
cellTemplate
:
'<div class="ui-grid-cell-contents "><span>{{row.entity.oaApplicationNum}}</span></div>'
},
{
name
:
$translate
.
instant
(
'ContractNo'
),
width
:
200
,
cellTemplate
:
'<div class="ui-grid-cell-contents"><span>{{row.entity.contractNo }}</span></div>'
},
{
name
:
$translate
.
instant
(
'ContractAmount'
),
width
:
200
,
cellTemplate
:
'<div class="ui-grid-cell-contents"><span>{{row.entity.contractAmount}}</span></div>'
},
{
name
:
$translate
.
instant
(
'ContractAmount'
),
headerCellClass
:
'rightHeader'
,
width
:
200
,
cellTemplate
:
'<div class="ui-grid-cell-contents" style="text-align: right"><span>{{row.entity.contractAmount | number:2}}</span></div>'
},
{
name
:
$translate
.
instant
(
'Department'
),
width
:
200
,
cellTemplate
:
'<div class="ui-grid-cell-contents"><span>{{row.entity.department}}</span></div>'
},
{
name
:
$translate
.
instant
(
'ApplicationDate'
),
width
:
200
,
cellTemplate
:
'<div class="ui-grid-cell-contents"><span>{{row.entity.applicationDate| date:"yyyy-MM-dd"}}</span></div>'
},
{
name
:
$translate
.
instant
(
'BillingDate'
),
width
:
200
,
cellTemplate
:
'<div class="ui-grid-cell-contents"><span>{{row.entity.billingDate| date:"yyyy-MM-dd"}}</span></div>'
},
...
...
@@ -314,8 +324,13 @@
{
name
:
$translate
.
instant
(
'InvoicePaperNum'
),
width
:
200
,
cellTemplate
:
'<div class="ui-grid-cell-contents"><span>{{row.entity.invoicesAmount}}</span></div>'
},
{
name
:
$translate
.
instant
(
'CustomerCompanyTaxNum'
),
width
:
200
,
cellTemplate
:
'<div class="ui-grid-cell-contents"><span>{{row.entity.customerCompanyTaxNum}}</span></div>'
},
{
name
:
$translate
.
instant
(
'CustomerSourceSystem'
),
width
:
200
,
cellTemplate
:
'<div class="ui-grid-cell-contents"><span>{{row.entity.contractSourceSystem}}</span></div>'
},
{
name
:
$translate
.
instant
(
'TaxRate'
),
width
:
200
,
cellTemplate
:
'<div class="ui-grid-cell-contents"><span>{{row.entity.taxRate*100+"%"}}</span></div>'
},
{
name
:
$translate
.
instant
(
'TaxAmount'
),
width
:
200
,
cellTemplate
:
'<div class="ui-grid-cell-contents"><span>{{row.entity.taxAmount}}</span></div>'
},
{
name
:
$translate
.
instant
(
'TaxRate'
),
width
:
100
,
cellTemplate
:
'<div class="ui-grid-cell-contents"><span>{{row.entity.taxRate*100+"%"}}</span></div>'
},
{
name
:
$translate
.
instant
(
'TaxAmount'
),
headerCellClass
:
'rightHeader'
,
width
:
200
,
cellTemplate
:
'<div class="ui-grid-cell-contents" style="text-align: right"><span>{{row.entity.taxAmount | number:2}}</span></div>'
},
{
name
:
$translate
.
instant
(
'InvoiceStatus'
),
width
:
200
,
cellTemplate
:
'<div class="ui-grid-cell-contents"><span>{{row.entity.invoiceStatus}}</span></div>'
},
{
name
:
$translate
.
instant
(
'InvoiceSource'
),
width
:
200
,
cellTemplate
:
'<div class="ui-grid-cell-contents"><span>{{row.entity.source}}</span></div>'
},
{
name
:
$translate
.
instant
(
'InvoiceRemarks'
),
width
:
200
,
cellTemplate
:
'<div class="ui-grid-cell-contents"><span>{{row.entity.remarks}}</span></div>'
}
...
...
atms-web/src/main/webapp/app/vat/preview/vat-preview-invoice-record/vat-preview-invoice-record.less
View file @
8aed3bca
...
...
@@ -123,7 +123,9 @@
}
}
.rightHeader{
text-align: right;
}
.popover {
min-width: 370px;
...
...
atms-web/src/main/webapp/app/vat/preview/vat-preview-journal/vat-preview-journal.ctrl.js
View file @
8aed3bca
...
...
@@ -330,11 +330,36 @@
{
name
:
$translate
.
instant
(
'Alternate2Description'
),
width
:
200
,
cellTemplate
:
'<div class="ui-grid-cell-contents"><span>{{row.entity.segment10Name}}</span></div>'
},
{
name
:
$translate
.
instant
(
'Currency'
),
width
:
200
,
cellTemplate
:
'<div class="ui-grid-cell-contents"><span>{{row.entity.journalCurrencyCode}}</span></div>'
},
{
name
:
$translate
.
instant
(
'LocalCurrency'
),
width
:
200
,
cellTemplate
:
'<div class="ui-grid-cell-contents"><span>{{row.entity.sobCurrencyCode}}</span></div>'
},
{
name
:
$translate
.
instant
(
'JournalDebitAmount'
),
width
:
200
,
cellTemplate
:
'<div class="ui-grid-cell-contents"><span>{{row.entity.accountedDr}}</span></div>'
},
{
name
:
$translate
.
instant
(
'JournalCreditAmount'
),
width
:
200
,
cellTemplate
:
'<div class="ui-grid-cell-contents"><span>{{row.entity.accountedCr}}</span></div>'
},
{
name
:
$translate
.
instant
(
'Amount'
),
width
:
200
,
cellTemplate
:
'<div class="ui-grid-cell-contents"><span></span></div>'
},
{
name
:
$translate
.
instant
(
'LocalCurrencyDebitAmount'
),
width
:
200
,
cellTemplate
:
'<div class="ui-grid-cell-contents"><span>{{row.entity.enteredDr}}</span></div>'
},
{
name
:
$translate
.
instant
(
'LocalCurrencyCreditAmount'
),
width
:
200
,
cellTemplate
:
'<div class="ui-grid-cell-contents"><span>{{row.entity.enteredCr}}</span></div>'
},
{
name
:
$translate
.
instant
(
'JournalDebitAmount'
),
headerCellClass
:
'rightHeader'
,
width
:
200
,
cellTemplate
:
'<div class="ui-grid-cell-contents" style="text-align: right"><span>{{row.entity.accountedDr | number:2}}</span></div>'
},
{
name
:
$translate
.
instant
(
'JournalCreditAmount'
),
headerCellClass
:
'rightHeader'
,
width
:
200
,
cellTemplate
:
'<div class="ui-grid-cell-contents" style="text-align: right"><span>{{row.entity.accountedCr | number:2}}</span></div>'
},
{
name
:
$translate
.
instant
(
'Amount'
),
headerCellClass
:
'rightHeader'
,
width
:
200
,
cellTemplate
:
'<div class="ui-grid-cell-contents" style="text-align: right"><span></span></div>'
},
{
name
:
$translate
.
instant
(
'LocalCurrencyDebitAmount'
),
headerCellClass
:
'rightHeader'
,
width
:
200
,
cellTemplate
:
'<div class="ui-grid-cell-contents" style="text-align: right"><span>{{row.entity.enteredDr | number:2}}</span></div>'
},
{
name
:
$translate
.
instant
(
'LocalCurrencyCreditAmount'
),
headerCellClass
:
'rightHeader'
,
width
:
200
,
cellTemplate
:
'<div class="ui-grid-cell-contents" style="text-align: right"><span>{{row.entity.enteredCr | number:2}}</span></div>'
},
{
name
:
$translate
.
instant
(
'CashFlowEntry'
),
width
:
200
,
cellTemplate
:
'<div class="ui-grid-cell-contents"><span>{{row.entity.cfItem}}</span></div>'
},
{
name
:
$translate
.
instant
(
'City'
),
width
:
200
,
cellTemplate
:
'<div class="ui-grid-cell-contents"><span>{{row.entity.attribute1}}</span></div>'
},
{
name
:
$translate
.
instant
(
'TransactionDate'
),
width
:
200
,
cellTemplate
:
'<div class="ui-grid-cell-contents"><span>{{row.entity.attribute2| date:"yyyy-MM-dd"}}</span></div>'
},
...
...
atms-web/src/main/webapp/app/vat/preview/vat-preview-journal/vat-preview-journal.less
View file @
8aed3bca
...
...
@@ -123,7 +123,9 @@
}
}
.rightHeader{
text-align: right;
}
.popover {
min-width: 370px;
...
...
atms-web/src/main/webapp/app/vat/preview/vat-preview-off-balance-sheet/vat-preview-off-balance-sheet.ctrl.js
View file @
8aed3bca
...
...
@@ -538,9 +538,20 @@
enableColumnMenus
:
false
,
enableHorizontalScrollbar
:
1
,
columnDefs
:
[
{
name
:
$translate
.
instant
(
'ProjectName'
),
cellTemplate
:
'<div class="ui-grid-cell-contents"><span>{{row.entity.itemName}}<span></div>'
},
{
name
:
$translate
.
instant
(
'EndingBalance'
),
cellTemplate
:
'<div class="ui-grid-cell-contents"><span>{{row.entity.endBal}}<span></div>'
},
{
name
:
$translate
.
instant
(
'InitialBalance'
),
cellTemplate
:
'<div class="ui-grid-cell-contents"><span>{{row.entity.begBal}}</span></div>'
}
{
name
:
$translate
.
instant
(
'ProjectName'
),
cellTemplate
:
'<div class="ui-grid-cell-contents"><span>{{row.entity.itemName}}<span></div>'
},
{
name
:
$translate
.
instant
(
'EndingBalance'
),
headerCellClass
:
'rightHeader'
,
cellTemplate
:
'<div class="ui-grid-cell-contents" style="text-align: right"><span>{{row.entity.endBal | number:2}}<span></div>'
},
{
name
:
$translate
.
instant
(
'InitialBalance'
),
headerCellClass
:
'rightHeader'
,
cellTemplate
:
'<div class="ui-grid-cell-contents" style="text-align: right"><span>{{row.entity.begBal | number:2}}</span></div>'
}
]
};
...
...
atms-web/src/main/webapp/app/vat/preview/vat-preview-off-balance-sheet/vat-preview-off-balance-sheet.less
View file @
8aed3bca
...
...
@@ -123,7 +123,9 @@
}
}
.rightHeader{
text-align: right;
}
.popover {
min-width: 370px;
...
...
atms-web/src/main/webapp/app/vat/preview/vat-preview-profit-loss/vat-preview-profit-loss.ctrl.js
View file @
8aed3bca
...
...
@@ -555,9 +555,20 @@
enableSorting
:
false
,
enableColumnMenus
:
false
,
columnDefs
:
[
{
name
:
$translate
.
instant
(
'ProjectName'
),
cellTemplate
:
'<div class="ui-grid-cell-contents"><span>{{row.entity.itemName}}<span></div>'
},
{
name
:
$translate
.
instant
(
'CurrentPeriodAmount'
),
cellTemplate
:
'<div class="ui-grid-cell-contents"><span>{{row.entity.periodAmt}}<span></div>'
},
{
name
:
$translate
.
instant
(
'ThisYearAccumulatedAmount'
),
cellTemplate
:
'<div class="ui-grid-cell-contents"><span>{{row.entity.ytdAmt}}</span></div>'
}
{
name
:
$translate
.
instant
(
'ProjectName'
),
cellTemplate
:
'<div class="ui-grid-cell-contents"><span>{{row.entity.itemName}}<span></div>'
},
{
name
:
$translate
.
instant
(
'CurrentPeriodAmount'
),
headerCellClass
:
'rightHeader'
,
cellTemplate
:
'<div class="ui-grid-cell-contents" style="text-align: right"><span>{{row.entity.periodAmt | number:2}}<span></div>'
},
{
name
:
$translate
.
instant
(
'ThisYearAccumulatedAmount'
),
headerCellClass
:
'rightHeader'
,
cellTemplate
:
'<div class="ui-grid-cell-contents" style="text-align: right"><span>{{row.entity.ytdAmt | number:2}}</span></div>'
}
]
};
...
...
atms-web/src/main/webapp/app/vat/preview/vat-preview-profit-loss/vat-preview-profit-loss.less
View file @
8aed3bca
...
...
@@ -123,7 +123,9 @@
}
}
.rightHeader{
text-align: right;
}
.popover {
min-width: 370px;
...
...
atms-web/src/main/webapp/app/vat/preview/vat-preview-red-letter-info-tab/vat-preview-red-letter-info-tab.ctrl.js
View file @
8aed3bca
...
...
@@ -301,8 +301,16 @@
{
name
:
$translate
.
instant
(
'FillInDate'
),
cellTemplate
:
'<div class="ui-grid-cell-contents"><span title="{{row.entity.fphm}}">{{row.entity.fillInDate | date:"yyyy-MM-dd"}}</span></div>'
},
{
name
:
$translate
.
instant
(
'RedLetterInfoSalesTaxNum'
),
cellTemplate
:
'<div class="ui-grid-cell-contents"><span title="{{row.entity.xfsh}}">{{row.entity.salesTaxNumber}}</span></div>'
},
{
name
:
$translate
.
instant
(
'SalespersonName'
),
cellTemplate
:
'<div class="ui-grid-cell-contents"><span title="{{row.entity.fplx}}">{{row.entity.salespersonName}}</span></div>'
},
{
name
:
$translate
.
instant
(
'RedLetterInfoTotalAmount'
),
cellTemplate
:
'<div class="ui-grid-cell-contents right"><span style="float:right">{{row.entity.totalAmount}}</span></div>'
},
{
name
:
$translate
.
instant
(
'RedLetterInfoTotalTaxAmount'
),
cellTemplate
:
'<div class="ui-grid-cell-contents right"><span style="float:right">{{row.entity.totalTaxAmount}}</span></div>'
},
{
name
:
$translate
.
instant
(
'RedLetterInfoTotalAmount'
),
headerCellClass
:
'rightHeader'
,
cellTemplate
:
'<div class="ui-grid-cell-contents right"><span style="float:right">{{row.entity.totalAmount | number:2}}</span></div>'
},
{
name
:
$translate
.
instant
(
'RedLetterInfoTotalTaxAmount'
),
headerCellClass
:
'rightHeader'
,
cellTemplate
:
'<div class="ui-grid-cell-contents right"><span style="float:right">{{row.entity.totalTaxAmount | number:2}}</span></div>'
},
{
name
:
$translate
.
instant
(
'ApplicationSelectionDescription'
),
cellTemplate
:
'<div class="ui-grid-cell-contents"><span>{{row.entity.applicationDescription}}</span></div>'
},
{
name
:
$translate
.
instant
(
'ApplicantsManager'
),
cellTemplate
:
'<div class="ui-grid-cell-contents"><span>{{row.entity.applicantManager }}</span></div>'
},
{
name
:
$translate
.
instant
(
'InvoiceCode'
),
cellTemplate
:
'<div class="ui-grid-cell-contents"><span>{{row.entity.invoiceCode}}</span></div>'
},
...
...
atms-web/src/main/webapp/app/vat/preview/vat-preview-red-letter-info-tab/vat-preview-red-letter-info-tab.less
View file @
8aed3bca
...
...
@@ -123,7 +123,9 @@
}
}
.rightHeader{
text-align: right;
}
.popover {
min-width: 370px;
...
...
atms-web/src/main/webapp/app/vat/preview/vat-preview-trial-balance/vat-preview-trial-balance.ctrl.js
View file @
8aed3bca
...
...
@@ -328,14 +328,44 @@
{
name
:
$translate
.
instant
(
'ProductManual'
),
width
:
200
,
cellTemplate
:
'<div class="ui-grid-cell-contents"><span>{{row.entity.segment6Name}}</span></div>'
},
{
name
:
$translate
.
instant
(
'ProjectInstruction'
),
width
:
200
,
cellTemplate
:
'<div class="ui-grid-cell-contents"><span>{{row.entity.segment7Name}}</span></div>'
},
{
name
:
$translate
.
instant
(
'InterCompanyDescription'
),
width
:
200
,
cellTemplate
:
'<div class="ui-grid-cell-contents"><span>{{row.entity.segment8Name}}</span></div>'
},
{
name
:
$translate
.
instant
(
'Alternate1Description'
),
width
:
200
,
cellTemplate
:
'<div class="ui-grid-cell-contents"><span>{{row.entity.segment9Name}}</span></div>'
},
{
name
:
$translate
.
instant
(
'Alternate2Description'
),
width
:
200
,
cellTemplate
:
'<div class="ui-grid-cell-contents"><span>{{row.entity.segment10Name}}</span></div>'
},
{
name
:
$translate
.
instant
(
'BegBal'
),
width
:
200
,
cellTemplate
:
'<div class="ui-grid-cell-contents"><span>{{row.entity.begBalBeq}}</span></div>'
},
{
name
:
$translate
.
instant
(
'DebitAmount'
),
width
:
200
,
cellTemplate
:
'<div class="ui-grid-cell-contents"><span>{{row.entity.periodDrBeq}}</span></div>'
},
{
name
:
$translate
.
instant
(
'CreditAmount'
),
width
:
200
,
cellTemplate
:
'<div class="ui-grid-cell-contents"><span>{{row.entity.periodCrBeq}}</span></div>'
},
{
name
:
$translate
.
instant
(
'EndingBalance'
),
width
:
200
,
cellTemplate
:
'<div class="ui-grid-cell-contents"><span>{{row.entity.endBalBeq}}</span></div>'
},
{
name
:
$translate
.
instant
(
'SeasonDebitAmount'
),
width
:
200
,
cellTemplate
:
'<div class="ui-grid-cell-contents"><span>{{row.entity.qtdDrBeq}}</span></div>'
},
{
name
:
$translate
.
instant
(
'SeasonCreditsAmount'
),
width
:
200
,
cellTemplate
:
'<div class="ui-grid-cell-contents"><span>{{row.entity.qtdCrBeq}}</span></div>'
}
{
name
:
$translate
.
instant
(
'Alternate1Description'
),
width
:
100
,
cellTemplate
:
'<div class="ui-grid-cell-contents"><span>{{row.entity.segment9Name}}</span></div>'
},
{
name
:
$translate
.
instant
(
'Alternate2Description'
),
width
:
100
,
cellTemplate
:
'<div class="ui-grid-cell-contents"><span>{{row.entity.segment10Name}}</span></div>'
},
{
name
:
$translate
.
instant
(
'BegBal'
),
headerCellClass
:
'rightHeader'
,
width
:
160
,
cellTemplate
:
'<div class="ui-grid-cell-contents" style="text-align: right"><span>{{row.entity.begBalBeq | number:2}}</span></div>'
},
{
name
:
$translate
.
instant
(
'DebitAmount'
),
headerCellClass
:
'rightHeader'
,
width
:
160
,
cellTemplate
:
'<div class="ui-grid-cell-contents" style="text-align: right"><span>{{row.entity.periodDrBeq | number:2}}</span></div>'
},
{
name
:
$translate
.
instant
(
'CreditAmount'
),
headerCellClass
:
'rightHeader'
,
width
:
160
,
cellTemplate
:
'<div class="ui-grid-cell-contents" style="text-align: right"><span>{{row.entity.periodCrBeq | number:2}}</span></div>'
},
{
name
:
$translate
.
instant
(
'EndingBalance'
),
headerCellClass
:
'rightHeader'
,
width
:
160
,
cellTemplate
:
'<div class="ui-grid-cell-contents" style="text-align: right"><span>{{row.entity.endBalBeq | number:2}}</span></div>'
},
{
name
:
$translate
.
instant
(
'SeasonDebitAmount'
),
headerCellClass
:
'rightHeader'
,
width
:
160
,
cellTemplate
:
'<div class="ui-grid-cell-contents" style="text-align: right"><span>{{row.entity.qtdDrBeq | number:2}}</span></div>'
},
{
name
:
$translate
.
instant
(
'SeasonCreditsAmount'
),
headerCellClass
:
'rightHeader'
,
width
:
160
,
cellTemplate
:
'<div class="ui-grid-cell-contents" style="text-align: right"><span>{{row.entity.qtdCrBeq | number:2}}</span></div>'
}
]
};
...
...
atms-web/src/main/webapp/app/vat/preview/vat-preview-trial-balance/vat-preview-trial-balance.less
View file @
8aed3bca
...
...
@@ -123,7 +123,9 @@
}
}
.rightHeader{
text-align: right;
}
.popover {
min-width: 370px;
...
...
atms-web/src/main/webapp/app/vat/report/vat-report-layout/vat-report-layout.ctrl.js
View file @
8aed3bca
...
...
@@ -204,9 +204,7 @@
$scope
.
hasQueryTaxReturnPermission
=
data
[
reportTemp
.
taxReturn
.
queryCode
];
$scope
.
hasEditTaxReturnPermission
=
data
[
reportTemp
.
taxReturn
.
editCode
];
// TODO 临时代码,待删除
// 将查看纳税申报表权限都赋上
$scope
.
hasBsPlPermission
=
true
;
$scope
.
hasBsPermission
=
true
;
$scope
.
hasPlPermission
=
true
;
...
...
@@ -214,7 +212,6 @@
$scope
.
hasQueryTaxReturnPermission
=
true
;
$scope
.
hasEditTaxReturnPermission
=
true
;
});
};
var
toggleGroup
=
function
(
group
)
{
...
...
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