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
e235c0bc
Commit
e235c0bc
authored
Feb 25, 2019
by
eddie.woo
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
591f7a96
64c3bbd1
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
35 additions
and
26 deletions
+35
-26
pom.xml
atms-api/pom.xml
+1
-0
ReportServiceImpl.java
.../pwc/taxtech/atms/vat/service/impl/ReportServiceImpl.java
+0
-4
pom.xml
atms-web/pom.xml
+5
-0
organization-area-view.ctrl.js
...cture/organizationAreaView/organization-area-view.ctrl.js
+1
-2
vat-caculate-data.ctrl.js
...cit/reduction/vat-caculate-data/vat-caculate-data.ctrl.js
+1
-2
vat-caculate-data.html
...pp/cit/reduction/vat-caculate-data/vat-caculate-data.html
+2
-2
tax-report-cell-detail-modal.ctrl.js
...rt-cell-detail-modal/tax-report-cell-detail-modal.ctrl.js
+23
-10
vat-revenue-config.ctrl.js
.../dataImport/vat-revenue-config/vat-revenue-config.ctrl.js
+1
-1
vat-caculate-data.ctrl.js
...vat/reduction/vat-caculate-data/vat-caculate-data.ctrl.js
+1
-4
vat-caculate-data.html
...pp/vat/reduction/vat-caculate-data/vat-caculate-data.html
+0
-1
No files found.
atms-api/pom.xml
View file @
e235c0bc
...
...
@@ -31,6 +31,7 @@
<artifactId>
atms-dao
</artifactId>
<version>
0.1.1
</version>
</dependency>
<dependency>
<groupId>
org.springframework
</groupId>
<artifactId>
spring-context
</artifactId>
...
...
atms-api/src/main/java/pwc/taxtech/atms/vat/service/impl/ReportServiceImpl.java
View file @
e235c0bc
...
...
@@ -142,7 +142,6 @@ public class ReportServiceImpl extends BaseService {
operationResult
.
setResultMsg
(
"NoOrganization"
);
return
operationResult
;
}
Long
templateGroupId
;
/*
...
...
@@ -484,15 +483,12 @@ public class ReportServiceImpl extends BaseService {
MyAsserts
.
assertNull
(
periodJobMapper
.
getRunningJob
(
projectId
,
periodParam
),
Exceptions
.
TASK_HAS_BEGINNING
);
String
status
=
periodApprovalMapper
.
getStatusByProjectIdAndPeriod
(
projectId
,
periodParam
);
MyAsserts
.
assertTrue
(
status
==
null
||
!
status
.
equals
(
Constant
.
APPROVAL_COMMITTED
),
Exceptions
.
REPORT_IN_PROCESS_OR_AGREED_EXCEPTION
);
try
{
if
(
serviceType
.
equals
(
EnumServiceType
.
VAT
)
&&
(
periodParam
==
null
||
periodParam
<=
0
))
{
operationResultDto
.
setResultMsg
(
"PeriodRequiredForVAT"
);
return
operationResultDto
;
}
List
<
Template
>
templates
=
getTemplatesByProjectId
(
projectId
);
PeriodJob
genJob
=
WrapPeriodJobDto
.
createReportGenJob
(
projectId
,
periodParam
,
templates
);
periodJobMapper
.
insert
(
genJob
);
new
Thread
(
new
Runnable
()
{
...
...
atms-web/pom.xml
View file @
e235c0bc
...
...
@@ -17,6 +17,11 @@
<groupId>
org.springframework
</groupId>
<artifactId>
spring-webmvc
</artifactId>
</dependency>
<dependency>
<groupId>
pwc.taxtech.atms
</groupId>
<artifactId>
atms-api
</artifactId>
<version>
0.1.1
</version>
</dependency>
<dependency>
<groupId>
org.springframework.security
</groupId>
...
...
atms-web/src/main/webapp/app/admin/infrastructure/organizationAreaView/organization-area-view.ctrl.js
View file @
e235c0bc
...
...
@@ -659,8 +659,7 @@
$scope
.
closeUserCard
();
$scope
.
areaORGGridList
.
data
=
[];
$scope
.
=
[];
$scope
.
commonCountDataSource
=
[];
if
(
$scope
.
panelArea
.
organizationList
&&
$scope
.
panelArea
.
organizationList
.
length
>
0
)
{
parseDataGridOnlyOrg
();
}
else
{
...
...
atms-web/src/main/webapp/app/cit/reduction/vat-caculate-data/vat-caculate-data.ctrl.js
View file @
e235c0bc
...
...
@@ -79,7 +79,6 @@ function ($scope, $log, $timeout, $q, $http, $sce, $translate, loginContext, api
item
.
text
=
$translate
.
instant
(
statusTmp
);
calcProgress
(
item
.
name
);
}
}
};
...
...
@@ -489,8 +488,8 @@ function ($scope, $log, $timeout, $q, $http, $sce, $translate, loginContext, api
// break;
// default:
// item.isSelected = false;
//}
var
newTask
=
new
task
(
item
.
id
,
constant
.
DataProccessStatus
.
Unstarted
,
item
.
name
,
item
.
tasklevel
,
item
.
parentId
,
item
.
hasButton
,
item
.
seqNo
);
newTask
.
btTitle
=
$translate
.
instant
(
'DataProcessData_Generate'
);
// item.btTitle;
newTask
.
isSelected
=
true
;
//item.isSelected;
...
...
atms-web/src/main/webapp/app/cit/reduction/vat-caculate-data/vat-caculate-data.html
View file @
e235c0bc
<div
id=
"vat-caculate-data"
>
<div
style=
"font-family:'Microsoft YaHei';font-size:18px;margin-top:10px"
>
{{'vatCaculateDataDesc' | translate}}
</div>
<div
class=
"vat-caculate-data-title"
>
<div
class=
"vat-caculate-data-title"
>
<button
id=
"calAll"
class=
"btn btn-vat-primary"
style=
"background-color: #B4122A;"
translate=
"startCaculateData"
ng-disabled=
"readonly"
ng-click=
"startCaculate($event)"
></button>
<span
ng-click=
"showOperateLogPop()"
class=
"right"
><i
class=
"fa fa-file-excel-o"
aria-hidden=
"true"
></i>
{{'Remarks' | translate}}
</span>
...
...
@@ -106,7 +106,7 @@
</form>
</div>
</perfect-scrollbar>
</div>
</div>
<vat-operate-log
period=
"period"
module-type=
"moduleid"
is-show=
"isShowLog"
service-type=
"serviceType"
></vat-operate-log>
...
...
atms-web/src/main/webapp/app/common/controls/tax-report-cell-detail-modal/tax-report-cell-detail-modal.ctrl.js
View file @
e235c0bc
...
...
@@ -2333,11 +2333,22 @@
});
var
dataGrid
=
{}
$scope
.
_gridData
=
[];
$scope
.
cellAttachmentDataGirdOptions
=
{
dataSource
:
[],
columns
:
[{
caption
:
'序号'
,
dataField
:
"xh"
},
{
caption
:
'文件名'
,
dataField
:
"fileName"
},
{
caption
:
'文件名'
,
dataField
:
"fileName"
,
cellTemplate
:
function
(
container
,
options
)
{
try
{
$
(
'<i class="fa fa-pencil-square-o" style="cursor: pointer"></i> '
)
.
on
(
'click'
,
function
()
{
location
.
href
=
options
.
data
.
fileUrl
;
});
}
catch
(
e
)
{
$log
.
error
(
e
);
}
}
},
{
caption
:
'文件大小'
,
dataField
:
"size"
},
{
caption
:
'备注信息'
,
dataField
:
"remarks"
},
{
caption
:
'用户'
,
dataField
:
"uploadUser"
},
...
...
@@ -2351,12 +2362,15 @@
allowDeleting
:
true
},
onInitialized
:
function
(
e
){
dataGrid
=
e
.
component
;
$scope
.
dataGrid
=
e
.
component
;
},
bindingOptions
:
{
dataSource
:
'_gridData'
}
};
//加载附件信息列表
$scope
.
loadAttach
=
function
()
{
$scope
.
cellAttachmentDataGirdOptions
.
dataSource
=
[];
$scope
.
_gridData
=
[];
if
(
$scope
.
activeSheet
.
activeRow
&&
$scope
.
activeSheet
.
activeCol
&&
$scope
.
activeSheet
.
activeTemplateId
)
{
//获取附件信息
vatReportService
.
loadAttachList
(
$scope
.
activeSheet
).
success
(
function
(
data
)
{
...
...
@@ -2371,13 +2385,12 @@
createTime
:
data
[
i
].
createTime
}
$scope
.
cellAttachmentDataGirdOptions
.
dataSource
.
push
(
_data
);
$scope
.
_gridData
.
push
(
_data
);
_xh
=
i
+
1
;
}
$scope
.
xh
=
_xh
;
//刷新附件列表
dataGrid
.
refresh
();
// $scope.dataGrid.refresh();
// dataGrid.refresh();
}).
error
(
function
(
error
){
SweetAlert
.
error
(
"附件列表数据加载失败"
)
...
...
@@ -2431,8 +2444,8 @@
createTime
:
dataSource
.
data
.
createTime
}
$scope
.
cellAttachmentDataGirdOptions
.
dataSource
.
push
(
_data
);
dataGrid
.
refresh
();
$scope
.
_gridData
.
push
(
_data
);
// $scope.
dataGrid.refresh();
}
//上传附件
var
uploadfile
=
function
(
file
)
{
...
...
atms-web/src/main/webapp/app/dataImport/vat-revenue-config/vat-revenue-config.ctrl.js
View file @
e235c0bc
...
...
@@ -186,7 +186,7 @@
showClearButton
:
true
,
searchEnabled
:
true
,
noDataText
:
$translate
.
instant
(
'RevenueNoOrgData'
),
showSelectionControls
:
true
,
showSelectionControls
:
true
};
//税率下拉框
...
...
atms-web/src/main/webapp/app/vat/reduction/vat-caculate-data/vat-caculate-data.ctrl.js
View file @
e235c0bc
...
...
@@ -239,7 +239,6 @@
taskList
=
taskList
.
concat
(
item
.
items
);
});
$scope
.
tasks
=
result
;
getInitTaskStatus
();
});
};
...
...
@@ -370,7 +369,7 @@
text
:
$translate
.
instant
(
'IsConfirmReCalcuate'
).
formatObj
({
status
:
vatCommonService
.
getProjectStautsEnumDesc
(
vatSessionService
.
project
.
projectStatusList
[
vatSessionService
.
month
])}),
type
:
"warning"
,
showCancelButton
:
true
,
confirmButtonColor
:
"#
DD6B
55"
,
confirmButtonColor
:
"#
dd6b
55"
,
confirmButtonText
:
$translate
.
instant
(
'Yes'
),
cancelButtonText
:
$translate
.
instant
(
'No'
),
closeOnConfirm
:
true
,
...
...
@@ -582,9 +581,7 @@
}
else
if
(
updateConfig
.
status
==
'Begin'
){
$scope
.
tasks
[
0
].
items
[
0
].
status
=
'processing'
;
}
$scope
.
tasks
[
0
].
items
[
0
].
text
=
$translate
.
instant
(
$scope
.
tasks
[
0
].
items
[
0
].
status
);
items
.
forEach
(
function
(
item
,
index
){
tasks
.
forEach
(
function
(
task
){
if
(
task
.
code
==
item
.
code
){
...
...
atms-web/src/main/webapp/app/vat/reduction/vat-caculate-data/vat-caculate-data.html
View file @
e235c0bc
...
...
@@ -33,7 +33,6 @@
<
ul
ng
-
if
=
"group.items.length > 1"
ng
-
repeat
=
"task in group.items track by $index"
>
<
li
ng
-
include
=
"'task_template'"
/>
<
/ul
>
<
div
ng
-
if
=
"group.items.length == 1"
ng
-
repeat
=
"task in group.items track by $index"
style
=
"height:42px;"
ng
-
include
=
"'task_template'"
/>
</script>
...
...
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