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
34e82a7f
Commit
34e82a7f
authored
Nov 05, 2018
by
sherlock
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug:19213\纳税申报表排序\preview 优化
parent
52408455
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
35 additions
and
32 deletions
+35
-32
adminHomePage.json
...c/main/webapp/app-resources/i18n/zh-CN/adminHomePage.json
+2
-1
admin-home-page.ctrl.js
...rc/main/webapp/app/admin/homePage/admin-home-page.ctrl.js
+9
-7
admin-home-page.html
...b/src/main/webapp/app/admin/homePage/admin-home-page.html
+2
-2
vat-preview-input-invoice.ctrl.js
...t-preview-input-invoice/vat-preview-input-invoice.ctrl.js
+10
-10
vat-preview-input-invoice.html
.../vat-preview-input-invoice/vat-preview-input-invoice.html
+2
-2
vat-preview-output-invoice.html
...at-preview-output-invoice/vat-preview-output-invoice.html
+2
-2
vat-report-layout.ctrl.js
...pp/vat/report/vat-report-layout/vat-report-layout.ctrl.js
+8
-8
No files found.
atms-web/src/main/webapp/app-resources/i18n/zh-CN/adminHomePage.json
View file @
34e82a7f
{
"WelcomeATMS
"
:
"欢迎使用ATMS
系统管理"
"WelcomeATMS
-Longi"
:
"欢迎使用Longi申报
系统管理"
}
\ No newline at end of file
atms-web/src/main/webapp/app/admin/homePage/admin-home-page.ctrl.js
View file @
34e82a7f
...
...
@@ -48,6 +48,7 @@ adminHomePageModule
return
sub
.
isVisible
;
});
}
row
.
isActive
=
false
;
}
}
});
...
...
@@ -120,17 +121,17 @@ adminHomePageModule
$scope
.
menuMouseOver
=
function
(
x
)
{
if
(
x
.
isOpen
)
{
return
;
}
// if (x.isActive
) {
//
return;
//
}
if
(
$scope
.
menuData
&&
$scope
.
menuData
.
length
>
0
)
{
for
(
var
i
=
0
;
i
<
$scope
.
menuData
.
length
;
i
++
)
{
var
row
=
$scope
.
menuData
[
i
];
if
(
x
.
id
===
row
.
id
)
{
row
.
is
Open
=
true
;
if
(
x
.
ID
===
row
.
ID
)
{
row
.
is
Active
=
true
;
}
else
{
row
.
is
Open
=
false
;
row
.
is
Active
=
false
;
}
}
}
...
...
@@ -229,7 +230,8 @@ adminHomePageModule
(
function
initialize
()
{
$scope
.
open
=
false
;
getMenusByServiceTypeId
(
'1'
);
$scope
.
active
=
false
;
$scope
.
isActive
=
false
;
//var glyph_opts = {
// map: {
// doc: "glyphicon glyphicon-file",
...
...
atms-web/src/main/webapp/app/admin/homePage/admin-home-page.html
View file @
34e82a7f
<div
class=
"admin-home-page"
>
<div
class=
"center-title"
ng-mouseover=
"open=true"
ng-mouseleave=
"open = false"
>
<span><h1
translate=
"WelcomeATMS"
></h1></span>
<span><h1
translate=
"WelcomeATMS
-Longi
"
></h1></span>
<div
ng-if=
"hasAdminPermission"
class=
"import-title"
ng-show=
"open"
><a
ng-click=
"showUploadModal()"
href=
"#adminHomePage"
>
{{'ImportBasicDataOneTime' |translate}}
</a></div>
</div>
...
...
@@ -16,7 +16,7 @@
<a
href=
"{{x.navigationUrl}}"
><b>
{{x.name}}
</b></a>
</div>
<!-- popover-trigger="mouseenter click" -->
<div
ng-if=
"x.subMenus && x.subMenus.length > 0"
class=
"{{x.firstMenuClass}}"
uib-popover-template=
"x.templateUrl"
popover-is-open=
"x.is
Open
"
popover-placement=
"{{x.popoverPlacement}}"
ng-mouseover=
"menuMouseOver(x)"
>
<div
ng-if=
"x.subMenus && x.subMenus.length > 0"
class=
"{{x.firstMenuClass}}"
uib-popover-template=
"x.templateUrl"
popover-is-open=
"x.is
Active
"
popover-placement=
"{{x.popoverPlacement}}"
ng-mouseover=
"menuMouseOver(x)"
>
<img
class=
"img"
ng-src=
"{{x.imageUrl}}"
alt=
"{{x.name}}"
/>
<br
/>
<b>
{{x.name}}
</b>
...
...
atms-web/src/main/webapp/app/vat/preview/vat-preview-input-invoice/vat-preview-input-invoice.ctrl.js
View file @
34e82a7f
...
...
@@ -569,17 +569,17 @@
enableSorting
:
false
,
enableColumnMenus
:
false
,
columnDefs
:
[
{
name
:
$translate
.
instant
(
'ImportErrorPopUpNoCol'
),
width
:
'
7
%'
,
cellTemplate
:
'<div class="ui-grid-cell-contents"><span>{{row.entity.index}}<span></div>'
},
{
name
:
$translate
.
instant
(
'InvoiceQJ'
),
width
:
'
10.5
%'
,
cellTemplate
:
'<div class="ui-grid-cell-contents"><span>{{row.entity.periodID}}<span></div>'
},
{
name
:
$translate
.
instant
(
'ImportErrorPopUpNoCol'
),
width
:
'
5
%'
,
cellTemplate
:
'<div class="ui-grid-cell-contents"><span>{{row.entity.index}}<span></div>'
},
{
name
:
$translate
.
instant
(
'InvoiceQJ'
),
width
:
'
8
%'
,
cellTemplate
:
'<div class="ui-grid-cell-contents"><span>{{row.entity.periodID}}<span></div>'
},
{
name
:
$translate
.
instant
(
'InvoiceKPRQ'
),
width
:
'10.5%'
,
cellTemplate
:
'<div class="ui-grid-cell-contents"><span>{{row.entity.kprq | date:"yyyy-MM-dd"}}<span></div>'
},
{
name
:
$translate
.
instant
(
'InvoiceFPDM'
),
width
:
'10.5%'
,
cellTemplate
:
'<div class="ui-grid-cell-contents"><span title="{{row.entity.fpdm}}">{{row.entity.fpdm}}</span></div>'
},
{
name
:
$translate
.
instant
(
'InvoiceFPHM'
),
width
:
'10.5%'
,
cellTemplate
:
'<div class="ui-grid-cell-contents"><span title="{{row.entity.fphm}}">{{row.entity.fphm}}</span></div>'
},
{
name
:
$translate
.
instant
(
'InvoiceGHFSH'
),
width
:
'12%'
,
cellTemplate
:
'<div class="ui-grid-cell-contents"><span title="{{row.entity.xfsh}}">{{row.entity.xfsh}}</span></div>'
},
{
name
:
$translate
.
instant
(
'InvoiceFPLX'
),
width
:
'
10.5%'
,
cellTemplate
:
'<div class="ui-grid-cell-contents"><span title="{{row.entity.fplx}}">{{grid.appScope.typeToString(row.entity.fplx)}}
</span></div>'
},
{
name
:
$translate
.
instant
(
'InvoiceJE'
),
headerCellClass
:
'right'
,
width
:
'
10.5
%'
,
cellTemplate
:
'<div class="ui-grid-cell-contents right"><span style="float:right">{{row.entity.hjje}}</span></div>'
},
{
name
:
$translate
.
instant
(
'InvoiceSE'
),
headerCellClass
:
'right'
,
width
:
'
10.5
%'
,
cellTemplate
:
'<div class="ui-grid-cell-contents right"><span style="float:right">{{row.entity.hjse}}</span></div>'
},
{
name
:
$translate
.
instant
(
'InvoiceFPLX'
),
width
:
'
8%'
,
cellTemplate
:
'<div class="ui-grid-cell-contents"><span title="{{row.entity.fplx}}">增值税专票
</span></div>'
},
{
name
:
$translate
.
instant
(
'InvoiceJE'
),
headerCellClass
:
'right'
,
width
:
'
8
%'
,
cellTemplate
:
'<div class="ui-grid-cell-contents right"><span style="float:right">{{row.entity.hjje}}</span></div>'
},
{
name
:
$translate
.
instant
(
'InvoiceSE'
),
headerCellClass
:
'right'
,
width
:
'
8
%'
,
cellTemplate
:
'<div class="ui-grid-cell-contents right"><span style="float:right">{{row.entity.hjse}}</span></div>'
},
{
name
:
$translate
.
instant
(
'InvoiceRZRQ'
),
width
:
'10.5%'
,
cellTemplate
:
'<div class="ui-grid-cell-contents"><span>{{row.entity.rzsj | date:"yyyy-MM-dd"}}</span></div>'
},
{
name
:
$translate
.
instant
(
'InvoiceRZJG'
),
width
:
'
10.5
%'
,
cellTemplate
:
'<div class="ui-grid-cell-contents"><span>{{row.entity.certificationResult}}</span></div>'
}
{
name
:
$translate
.
instant
(
'InvoiceRZJG'
),
width
:
'
8
%'
,
cellTemplate
:
'<div class="ui-grid-cell-contents"><span>{{row.entity.certificationResult}}</span></div>'
}
],
onRegisterApi
:
function
(
gridApi
)
{
$scope
.
gridApi
=
gridApi
;
...
...
@@ -595,10 +595,10 @@
enableColumnMenus
:
false
,
columnDefs
:
[
// { name: $translate.instant('ImportErrorPopUpNoCol'), width: '10%', cellTemplate: '<div class="ui-grid-cell-contents"><span>{{row.entity.index}}<span></div>' },
{
name
:
$translate
.
instant
(
'InvoiceHWMC'
),
width
:
'23%'
,
cellTemplate
:
'<div class="ui-grid-cell-contents"><span
title="{{row.entity.spmc}}">{{row.entity.spmc}}<span></div>'
},
{
name
:
$translate
.
instant
(
'InvoiceJE'
),
headerCellClass
:
'right'
,
width
:
'
2
3%'
,
cellTemplate
:
'<div class="ui-grid-cell-contents"><span style="float:right">{{row.entity.je}}<span></div>'
},
{
name
:
$translate
.
instant
(
'InvoiceSL'
),
width
:
'23%'
,
cellTemplate
:
'<div class="ui-grid-cell-contents"><span
>{{row.entity.slv}}%<span></div>'
},
{
name
:
$translate
.
instant
(
'InvoiceSE'
),
headerCellClass
:
'right'
,
width
:
'
2
3%'
,
cellTemplate
:
'<div class="ui-grid-cell-contents"><span style="float:right">{{row.entity.se}}<span></div>'
}
{
name
:
$translate
.
instant
(
'InvoiceHWMC'
),
headerCellClass
:
'right'
,
width
:
'20%'
,
cellTemplate
:
'<div class="ui-grid-cell-contents"><span style="float:right"
title="{{row.entity.spmc}}">{{row.entity.spmc}}<span></div>'
},
{
name
:
$translate
.
instant
(
'InvoiceJE'
),
headerCellClass
:
'right'
,
width
:
'
1
3%'
,
cellTemplate
:
'<div class="ui-grid-cell-contents"><span style="float:right">{{row.entity.je}}<span></div>'
},
{
name
:
$translate
.
instant
(
'InvoiceSL'
),
headerCellClass
:
'right'
,
width
:
'13%'
,
cellTemplate
:
'<div class="ui-grid-cell-contents"><span style="float:right"
>{{row.entity.slv}}%<span></div>'
},
{
name
:
$translate
.
instant
(
'InvoiceSE'
),
headerCellClass
:
'right'
,
width
:
'
1
3%'
,
cellTemplate
:
'<div class="ui-grid-cell-contents"><span style="float:right">{{row.entity.se}}<span></div>'
}
]
};
...
...
atms-web/src/main/webapp/app/vat/preview/vat-preview-input-invoice/vat-preview-input-invoice.html
View file @
34e82a7f
<div
class=
"vat-preview-input-invoice"
id=
"mainPreviewDiv"
>
<div
class=
"top-area-wrapper"
>
<button
class=
"filter-button"
<
!--<
button class="filter-button"
atms-popover ng-mouseenter="prepareSummary()" ng-click="showPopover()"
popover-container="body" popover-auto-hide="true" data-overwrite="true"
use-optimized-placement-algorithm="true"
data-placement="bottom"
data-templateurl="/app/vat/preview/vat-preview-input-invoice/vat-preview-input-invoice-search.html">
<i class="fa fa-filter" aria-hidden="true"></i>
</button>
</button>
-->
<span
translate=
"IncomeInvoiceTitle"
class=
"text-bold"
></span>
|
<span
class=
"text-bold"
translate=
"InvoiceQJ"
></span>
:
...
...
atms-web/src/main/webapp/app/vat/preview/vat-preview-output-invoice/vat-preview-output-invoice.html
View file @
34e82a7f
<div
class=
"vat-preview-output-invoice"
id=
"mainPreviewDiv"
>
<div
class=
"top-area-wrapper"
>
<button
class=
"filter-button"
<
!--<
button class="filter-button"
atms-popover ng-mouseenter="prepareSummary()" ng-click="showPopover()"
popover-container="body" popover-auto-hide="true" data-overwrite="true"
use-optimized-placement-algorithm="true"
data-placement="bottom"
data-templateurl="/app/vat/preview/vat-preview-output-invoice/vat-preview-output-invoice-search.html">
<i class="fa fa-filter" aria-hidden="true"></i>
</button>
</button>
-->
<span
translate=
"OutputInvoiceTitle"
class=
"text-bold"
></span>
|
<span
class=
"text-bold"
translate=
"InvoiceQJ"
></span>
:
<input
type=
"text"
class=
"form-control input-width-middle"
id=
"output-invoice-period-picker"
/>
...
...
atms-web/src/main/webapp/app/vat/report/vat-report-layout/vat-report-layout.ctrl.js
View file @
34e82a7f
...
...
@@ -47,20 +47,20 @@
name
:
'TaxReturn'
,
children
:
_
.
chain
(
result
[
1
].
data
.
data
)
.
sortBy
(
function
(
x
){
return
x
.
template
Nam
e
;
return
x
.
template
Cod
e
;
})
.
map
(
function
(
x
){
/*
.map(function(x){
var nameIndex;
var tempName = x.templateName.substr(x.templateName.length - 4);
if
(
tempName
.
search
(
"一"
)
!=
-
1
){
if(tempName.search("
附表
一") != -1){
nameIndex = 0;
}
else
if
(
tempName
.
search
(
"二"
)
!=
-
1
){
} else if(tempName.search("
附表
二") != -1){
nameIndex = 1;
}
else
if
(
tempName
.
search
(
"三"
)
!=
-
1
){
} else if(tempName.search("
附表
三") != -1){
nameIndex = 2;
}
else
if
(
tempName
.
search
(
"四"
)
!=
-
1
){
} else if(tempName.search("
附表
四") != -1){
nameIndex = 3;
}
else
if
(
tempName
.
search
(
"五"
)
!=
-
1
){
} else if(tempName.search("
附表
五") != -1){
nameIndex = 4;
} else {
nameIndex = 10;
...
...
@@ -75,7 +75,7 @@
})
.sortBy(function(x){
return x.nameIndex;
})
})
*/
.
map
(
function
(
x
)
{
return
{
reportId
:
x
.
id
,
...
...
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