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
7d051625
Commit
7d051625
authored
Apr 17, 2019
by
kevin
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev_mysql' of
https://gitee.com/Memorydoc/atms
into dev_mysql
parents
7c02aa53
a0047951
Hide whitespace changes
Inline
Side-by-side
Showing
33 changed files
with
1061 additions
and
796 deletions
+1061
-796
domestic-data-import.ctrl.js
...-import/domestic-data-import/domestic-data-import.ctrl.js
+1
-1
international-data-import.html
.../international-data-import/international-data-import.html
+2
-2
import-adjust-table.ctrl.js
...ls/import/import-adjust-table/import-adjust-table.ctrl.js
+13
-0
import-adjust-table.html
...trols/import/import-adjust-table/import-adjust-table.html
+65
-62
import-balance-sheet.ctrl.js
.../import/import-balance-sheet/import-balance-sheet.ctrl.js
+13
-0
import-balance-sheet.html
...ols/import/import-balance-sheet/import-balance-sheet.html
+70
-73
import-cash-flow.ctrl.js
...controls/import/import-cash-flow/import-cash-flow.ctrl.js
+12
-0
import-cash-flow.html
...on/controls/import/import-cash-flow/import-cash-flow.html
+74
-69
import-certified-invoices-list.ctrl.js
...fied-invoices-list/import-certified-invoices-list.ctrl.js
+11
-0
import-certified-invoices-list.html
...rtified-invoices-list/import-certified-invoices-list.html
+65
-63
import-cit-bs-prc-adjust.ctrl.js
...import-cit-bs-prc-adjust/import-cit-bs-prc-adjust.ctrl.js
+11
-0
import-cit-bs-prc-adjust.html
...rt/import-cit-bs-prc-adjust/import-cit-bs-prc-adjust.html
+51
-45
import-cit-journal-adjust.ctrl.js
...port-cit-journal-adjust/import-cit-journal-adjust.ctrl.js
+12
-0
import-cit-journal-adjust.html
.../import-cit-journal-adjust/import-cit-journal-adjust.html
+51
-45
import-cit-profit-prc-adjust.ctrl.js
...it-profit-prc-adjust/import-cit-profit-prc-adjust.ctrl.js
+12
-0
import-cit-profit-prc-adjust.html
...t-cit-profit-prc-adjust/import-cit-profit-prc-adjust.html
+51
-45
import-cit-salary-advance.ctrl.js
...port-cit-salary-advance/import-cit-salary-advance.ctrl.js
+11
-0
import-cit-salary-advance.html
.../import-cit-salary-advance/import-cit-salary-advance.html
+55
-47
import-cit-trial-balance.ctrl.js
...import-cit-trial-balance/import-cit-trial-balance.ctrl.js
+13
-0
import-cit-trial-balance.html
...rt/import-cit-trial-balance/import-cit-trial-balance.html
+69
-62
import-coupa-purchasing-report.ctrl.js
...-purchasing-report/import-coupa-purchasing-report.ctrl.js
+13
-0
import-coupa-purchasing-report.html
...upa-purchasing-report/import-coupa-purchasing-report.html
+30
-33
import-invoice-data.ctrl.js
...ls/import/import-invoice-data/import-invoice-data.ctrl.js
+11
-0
import-invoice-data.html
...trols/import/import-invoice-data/import-invoice-data.html
+32
-41
import-invoice-record.ctrl.js
...mport/import-invoice-record/import-invoice-record.ctrl.js
+13
-0
import-invoice-record.html
...s/import/import-invoice-record/import-invoice-record.html
+31
-29
import-profit-loss.ctrl.js
...rols/import/import-profit-loss/import-profit-loss.ctrl.js
+11
-0
import-profit-loss.html
...ontrols/import/import-profit-loss/import-profit-loss.html
+75
-70
import-red-letter-info-table.ctrl.js
...ed-letter-info-table/import-red-letter-info-table.ctrl.js
+10
-25
import-red-letter-info-table.html
...t-red-letter-info-table/import-red-letter-info-table.html
+31
-30
pwc-util.js
atms-web/src/main/webapp/app/common/utils/pwc-util.js
+66
-15
extract-invoice-data.ctrl.js
...raction/extract-invoice-data/extract-invoice-data.ctrl.js
+32
-3
extract-invoice-data.html
...extraction/extract-invoice-data/extract-invoice-data.html
+44
-36
No files found.
atms-web/src/main/webapp/app/analysis/data-import/domestic-data-import/domestic-data-import.ctrl.js
View file @
7d051625
...
...
@@ -475,7 +475,7 @@
pageSize
:
constant
.
page
.
pageSize
},
pager
:
{
showPageSizeSelector
:
tru
e
,
showPageSizeSelector
:
fals
e
,
allowedPageSizes
:
constant
.
page
.
pageSizeArrary
,
showInfo
:
true
}
...
...
atms-web/src/main/webapp/app/analysis/data-import/international-data-import/international-data-import.html
View file @
7d051625
...
...
@@ -81,7 +81,7 @@
<select
class=
"selectpicker show-tick dropup"
multiple
data-live-search=
"true"
data-max-options=
"1"
data-size=
"10"
data-style=
"btn-
primary
"
id =
"contryList"
data-style=
"btn-
info
"
id =
"contryList"
data-header=
"国家列表"
data-content =
"true"
data-none-selected-text =
"选择国家"
...
...
@@ -95,7 +95,7 @@
<select
class=
"selectpicker show-tick dropup"
multiple
data-live-search=
"true"
data-width=
"auto"
data-max-options=
"1"
data-size=
"10"
data-style=
"btn-
primary
"
id =
"orgList"
data-style=
"btn-
info
"
id =
"orgList"
data-header=
"公司列表"
data-content =
"true"
data-icon-base =
"tickIcon"
...
...
atms-web/src/main/webapp/app/common/controls/import/import-adjust-table/import-adjust-table.ctrl.js
View file @
7d051625
...
...
@@ -1011,6 +1011,19 @@
});
};
//-------------------------------------------------kevin insert begin ---------------------------------------------
var
exp
=
{
showDropDownButton
:
true
,
bindingOptions
:
{
value
:
'checkedCompanyCodeList'
,
dataSource
:
'companyList'
}
}
PWC
.
orgManySelect
(
$scope
,
$translate
,
exp
);
//-------------------------------------------------kevin insert end ---------------------------------------------
$scope
.
selectOne
=
function
()
{
$scope
.
checkedCompanyList
=
[];
angular
.
forEach
(
$scope
.
companyList
,
function
(
i
)
{
...
...
atms-web/src/main/webapp/app/common/controls/import/import-adjust-table/import-adjust-table.html
View file @
7d051625
...
...
@@ -2,74 +2,75 @@
<!--标题-->
<div
class=
"nav-wrapper"
>
<div
class=
"nav-header"
translate=
"AdjustmentTableTitle"
></div>
<div
class=
"alert alert-warning"
style=
"width:400px;margin-bottom:5px;"
ng-show=
"ImportErrorTab"
ng-click=
"toggleErrorTab()"
>
<div
class=
"alert alert-warning"
style=
"width:400px;margin-bottom:5px;"
ng-show=
"ImportErrorTab"
ng-click=
"toggleErrorTab()"
>
<i
class=
"fa fa-exclamation-circle"
aria-hidden=
"true"
></i>
{{errorMsg}}
</div>
</div>
<!--导航栏-->
<div
id=
"tab_total"
>
<form
class=
"form-inline"
id=
"navigationForm"
name=
"navigationForm"
>
<div
class=
"form-group"
ng-style=
"setButtonWrapStyle()"
style=
"width: 100%;margin-bottom: -38px;"
>
<div
class=
"import-wrapper"
>
<div
class=
"row"
>
<div
class=
"col-sm-6 leftNav"
style=
"width: 60%;"
>
<span
class=
"text-bold"
translate=
"SelectedOrganization"
></span>
:
<div
class=
"dropdown"
style=
"margin-left:10px"
>
<button
class=
"btn btn-default dropdown-toggle"
type=
"button"
id=
"dropdownMenu1"
data-toggle=
"dropdown"
aria-haspopup=
"true"
aria-expanded=
"true"
style=
"width:200px;"
>
{{checkedCompanyTypeList ? ((checkedCompanyTypeList)|limitString:maxTitleLength):('PleaseSelect' | translate)}}
<span
class=
"caret"
style=
"float: right "
></span>
</button>
<ul
class=
"dropdown-menu"
style=
"width: 380px;"
aria-labelledby=
"dropdownMenu1"
>
<li><input
type=
"checkbox"
ng-model=
"selectedAll"
ng-change=
"selectAll()"
style=
"float: left;margin-left: 10px; margin-top: 7px; width: 15px"
checked
>
<span
style=
"margin-left:5px;float: left;"
>
全选
</span></li>
<li
role=
"separator"
class=
"divider"
style=
"height: 1px;margin: 9px 0;
overflow: hidden;background-color: #e5e5e5;"
></li>
<li
ng-repeat=
"i in companyList"
>
<div
class=
"checkbox-custom checkbox-default"
>
<input
type=
"checkbox"
ng-model=
"i.checked"
ng-change=
"selectOne()"
ng-checked=
"selectedOne"
style=
"float: left;margin-left: 10px; margin-top: 7px; width: 15px"
>
<span
style=
"margin-left:5px;text-align: left;float: left;"
>
{{i.name}}
</span>
</div>
</li>
</ul>
</div>
<span
class=
"text-bold"
translate=
"InvoiceQJ"
></span>
:
<div
class=
"period-picker"
style=
"margin-left:10px"
>
<input
type=
"text"
id=
"periodDatepicker"
class=
"datepicker imp-subheader"
style=
"width:120px;"
readonly=
"readonly"
ng-model=
"UploadPeriodTime"
/>
<i
class=
"fa fa-calendar imp-subheader red-color"
style=
"width:20px;"
></i>
</div>
<div
ng-show=
"fileName"
style=
"display:inline-block"
>
<span
title=
"{{fileName}}"
>
{{'FileName' | translate}}{{fileName | limitString:20}}
</span>
</div>
</div>
<form
class=
"form-inline"
id=
"navigationForm"
name=
"navigationForm"
style=
"margin-top: 10px;"
>
<div
class=
"form-group"
>
<label
class=
"text-bold"
translate=
"SelectedOrganization"
style=
" top: -6px; position: relative;"
><span>
:
</span></label>
<div
dx-tag-box=
"selectOrgOptions"
style=
"display: inline-block;"
></div>
</div>
<!-- <span class="text-bold" translate="SelectedOrganization"></span>:
<div class="dropdown" style="margin-left:10px">
<button class="btn btn-default dropdown-toggle" type="button" id="dropdownMenu1"
data-toggle="dropdown" aria-haspopup="true" aria-expanded="true" style="width:200px;">
{{checkedCompanyTypeList ? ((checkedCompanyTypeList)|limitString:maxTitleLength):('PleaseSelect' | translate)}}
<span class="caret" style="float: right "></span>
</button>
<ul class="dropdown-menu" style="width: 380px;" aria-labelledby="dropdownMenu1">
<li><input type="checkbox" ng-model="selectedAll" ng-change="selectAll()"
style="float: left;margin-left: 10px; margin-top: 7px; width: 15px" checked>
<span style="margin-left:5px;float: left;">全选</span></li>
<li role="separator" class="divider" style="height: 1px;margin: 9px 0;
overflow: hidden;background-color: #e5e5e5;"></li>
<li ng-repeat="i in companyList">
<div class="checkbox-custom checkbox-default">
<input type="checkbox" ng-model="i.checked" ng-change="selectOne()"
ng-checked="selectedOne"
style="float: left;margin-left: 10px; margin-top: 7px; width: 15px">
<span style="margin-left:5px;text-align: left;float: left;">{{i.name}}</span>
</div>
</li>
</ul>
</div>-->
<div
class=
"form-group"
>
<span
class=
"text-bold"
translate=
"InvoiceQJ"
></span>
:
<div
class=
"period-picker"
style=
"display: inline-block"
>
<input
type=
"text"
id=
"periodDatepicker"
class=
"datepicker imp-subheader form-control"
style=
"width:120px;"
readonly=
"readonly"
ng-model=
"UploadPeriodTime"
/>
<i
class=
"fa fa-calendar imp-subheader red-color"
style=
"width:20px;"
></i>
</div>
<div
ng-show=
"fileName"
style=
"display:inline-block"
>
<span
title=
"{{fileName}}"
>
{{'FileName' | translate}}{{fileName | limitString:20}}
</span>
</div>
</div>
<div
class=
"col-sm-6 rightNav"
style=
"width: 40%; margin-top: 10px;"
>
<button
type=
"button"
ngf-select=
""
type=
"file"
ng-model=
"importExcelFile"
ngf-drag-over-class=
"'dragover'"
accept=
".xls,.xlsx"
ngf-multiple=
"false"
ngf-allow-dir=
"false"
class=
"btn btn-vat-third"
>
{{'SelectFile' | translate}}
</button>
<button
type=
"button"
class=
"btn btn-vat-primary"
translate=
"TemplateBtn"
ng-click=
"downloadTemplate()"
></button>
<div
class=
"form-group"
>
<button
type=
"button"
ngf-select=
""
type=
"file"
ng-model=
"importExcelFile"
ngf-drag-over-class=
"'dragover'"
accept=
".xls,.xlsx"
ngf-multiple=
"false"
ngf-allow-dir=
"false"
class=
"btn btn-vat-third"
>
{{'SelectFile' | translate}}
</button>
<button
type=
"button"
class=
"btn btn-vat-primary"
translate=
"TemplateBtn"
ng-click=
"downloadTemplate()"
></button>
<button
type=
"button"
class=
"btn btn-vat-primary topButton"
translate=
"AddImportBtn"
ng-click=
"doUploadAT(importEnum.AddImport)"
></button>
<button
type=
"button"
class=
"btn btn-vat-primary topButton"
translate=
"AddImportBtn"
ng-click=
"doUploadAT(importEnum.AddImport)"
></button>
<button
type=
"button"
class=
"btn btn-vat-primary topButton"
translate=
"CoverImportBtn"
ng-click=
"doUploadAT(importEnum.CoverImport)"
></button>
</div>
</div>
</div>
<button
type=
"button"
class=
"btn btn-vat-primary topButton"
translate=
"CoverImportBtn"
ng-click=
"doUploadAT(importEnum.CoverImport)"
></button>
</div>
<!--分页栏-->
...
...
@@ -79,7 +80,7 @@
</div>
</div>-->
</form>
<div
class=
"dt-init-wrapper"
>
<div
class=
"dx-viewport grid-container"
>
<div
id=
"importATStatusGridContainer"
dx-data-grid=
"importATStatusGridOptions"
...
...
@@ -97,7 +98,9 @@
<script
type=
"text/ng-template"
id=
"tb-model-period-dropdown.html"
class=
"tb-model-period-dropdow-popup"
>
<
div
class
=
"modal-header"
>
<
div
class
=
"modal-title"
style
=
"margin-bottom:10px"
>
{{
remarksTitle
}}
<
i
class
=
"fa fa-times"
aria
-
hidden
=
"true"
style
=
"float: right; font-size: 11px; color: #CF2D1B"
ng
-
click
=
"closePeriodSelectModal()"
><
/i
>
{{
remarksTitle
}}
<
i
class
=
"fa fa-times"
aria
-
hidden
=
"true"
style
=
"float: right; font-size: 11px; color: #CF2D1B"
ng
-
click
=
"closePeriodSelectModal()"
><
/i
>
<
/div
>
<
/div
>
<
div
class
=
"modal-body"
>
...
...
atms-web/src/main/webapp/app/common/controls/import/import-balance-sheet/import-balance-sheet.ctrl.js
View file @
7d051625
...
...
@@ -1183,6 +1183,19 @@
$scope
.
setGridStyle
=
setGridStyle
;
};
//-------------------------------------------------kevin insert begin ---------------------------------------------
var
exp
=
{
showDropDownButton
:
true
,
bindingOptions
:
{
value
:
'checkedCompanyCodeList'
,
dataSource
:
'companyList'
}
}
PWC
.
orgManySelect
(
$scope
,
$translate
,
exp
);
//-------------------------------------------------kevin insert end ---------------------------------------------
$scope
.
selectOne
=
function
()
{
$scope
.
checkedCompanyList
=
[];
angular
.
forEach
(
$scope
.
companyList
,
function
(
i
)
{
...
...
atms-web/src/main/webapp/app/common/controls/import/import-balance-sheet/import-balance-sheet.html
View file @
7d051625
...
...
@@ -2,84 +2,79 @@
<!--标题-->
<div
class=
"nav-wrapper"
>
<div
class=
"nav-header"
translate=
"OffBalanceSheetTitle"
></div>
<div
class=
"alert alert-warning"
style=
"width:400px;margin-bottom:5px;"
ng-show=
"ImportErrorTab"
ng-click=
"toggleErrorTab()"
>
<div
class=
"alert alert-warning"
style=
"width:400px;margin-bottom:5px;"
ng-show=
"ImportErrorTab"
ng-click=
"toggleErrorTab()"
>
<i
class=
"fa fa-exclamation-circle"
aria-hidden=
"true"
></i>
{{errorMsg}}
</div>
</div>
<!--导航栏-->
<div
id=
"tab_total"
>
<form
class=
"form-inline"
id=
"navigationForm"
name=
"navigationForm"
>
<div
class=
"form-group"
ng-style=
"setButtonWrapStyle()"
style=
"width:100%;margin-bottom: -38px;"
>
<div
class=
"import-wrapper"
>
<div
class=
"row"
>
<div
class=
"col-sm-6 leftNav"
style=
"width: 60%;"
>
<span
class=
"text-bold"
translate=
"SelectedOrganization"
></span>
:
<div
class=
"dropdown"
style=
"margin-left:10px"
>
<button
class=
"btn btn-default dropdown-toggle"
type=
"button"
id=
"dropdownMenu1"
data-toggle=
"dropdown"
aria-haspopup=
"true"
aria-expanded=
"true"
style=
"width:200px;"
>
{{checkedCompanyTypeList ? ((checkedCompanyTypeList)|limitString:maxTitleLength):('PleaseSelect' | translate)}}
<span
class=
"caret"
style=
"float: right "
></span>
</button>
<ul
class=
"dropdown-menu"
style=
"width: 380px;"
aria-labelledby=
"dropdownMenu1"
>
<li><input
type=
"checkbox"
ng-model=
"selectedAll"
ng-change=
"selectAll()"
style=
"float: left;margin-left: 10px; margin-top: 7px; width: 15px"
checked
>
<span
style=
"margin-left:5px;float: left;"
>
全选
</span></li>
<li
role=
"separator"
class=
"divider"
style=
"height: 1px;margin: 9px 0;
<form
class=
"form-inline"
id=
"navigationForm"
name=
"navigationForm"
style=
"margin-top: 10px;"
>
<div
class=
"form-group"
>
<label
class=
"text-bold"
translate=
"SelectedOrganization"
style=
" top: -6px; position: relative;"
><span>
:
</span></label>
<div
dx-tag-box=
"selectOrgOptions"
style=
"display: inline-block;position: relative; top: 6px;"
></div>
</div>
<!--<span class="text-bold" translate="SelectedOrganization"></span>:
<div class="dropdown" style="margin-left:10px">
<button class="btn btn-default dropdown-toggle" type="button" id="dropdownMenu1"
data-toggle="dropdown" aria-haspopup="true" aria-expanded="true" style="width:200px;">
{{checkedCompanyTypeList ? ((checkedCompanyTypeList)|limitString:maxTitleLength):('PleaseSelect'
| translate)}}
<span class="caret" style="float: right "></span>
</button>
<ul class="dropdown-menu" style="width: 380px;" aria-labelledby="dropdownMenu1">
<li><input type="checkbox" ng-model="selectedAll" ng-change="selectAll()"
style="float: left;margin-left: 10px; margin-top: 7px; width: 15px" checked>
<span style="margin-left:5px;float: left;">全选</span></li>
<li role="separator" class="divider" style="height: 1px;margin: 9px 0;
overflow: hidden;background-color: #e5e5e5;"></li>
<li
ng-repeat=
"i in companyList"
>
<div
class=
"checkbox-custom checkbox-default"
>
<input
type=
"checkbox"
ng-model=
"i.checked"
ng-change=
"selectOne()"
ng-checked=
"selectedOne"
style=
"float: left;margin-left: 10px; margin-top: 7px; width: 15px"
>
<span
style=
"margin-left:5px;text-align: left;float: left;"
>
{{i.name}}
</span>
</div>
</li>
</ul>
</div>
<span
class=
"text-bold"
translate=
"InvoiceQJ"
></span>
:
<div
class=
"period-picker"
style=
"margin-left:10px"
>
<input
type=
"text"
id=
"periodDatepicker"
class=
"datepicker imp-subheader"
style=
"width:120px;"
readonly=
"readonly"
ng-model=
"UploadPeriodTime"
/>
<i
class=
"fa fa-calendar imp-subheader red-color"
style=
"width:20px;"
></i>
</div>
<div
ng-show=
"fileName"
style=
"display:inline-block"
>
<span
title=
"{{fileName}}"
>
{{'FileName' | translate}}{{fileName | limitString:20}}
</span>
</div>
</div>
<div
class=
"col-sm-6 rightNav "
style=
"width: 40%;margin-top: 10px;"
>
<button
type=
"button"
ngf-select=
""
type=
"file"
ng-model=
"importExcelFile"
ngf-drag-over-class=
"'dragover'"
accept=
".xls,.xlsx"
ngf-multiple=
"false"
ngf-allow-dir=
"false"
class=
"btn btn-vat-third"
>
{{'SelectFile' | translate}}
</button>
<button
type=
"button"
class=
"btn btn-vat-primary"
translate=
"TemplateBtn"
ng-click=
"downloadTemplate()"
></button>
<!-- <button type="button"
class="btn btn-vat-primary" style="float:right; margin-right: 10px;margin-left: 30px;margin-top: 8px;"
translate="AddImportBtn"
ng-click="doUploadBS(importEnum.AddImport)"></button>-->
<button
type=
"button"
class=
"btn btn-vat-primary topButton"
translate=
"CoverImportBtn"
ng-click=
"doUploadBS(importEnum.CoverImport)"
></button>
<li ng-repeat="i in companyList">
<div class="checkbox-custom checkbox-default">
<input type="checkbox" ng-model="i.checked" ng-change="selectOne()"
ng-checked="selectedOne"
style="float: left;margin-left: 10px; margin-top: 7px; width: 15px">
<span style="margin-left:5px;text-align: left;float: left;">{{i.name}}</span>
</div>
</li>
</ul>-->
<div
class=
"form-group"
>
<span
class=
"text-bold"
translate=
"InvoiceQJ"
></span>
:
<div
class=
"period-picker"
style=
"display: inline-block;"
>
<input
type=
"text"
id=
"periodDatepicker"
class=
"datepicker form-control imp-subheader"
style=
"width:120px;"
readonly=
"readonly"
ng-model=
"UploadPeriodTime"
/>
<i
class=
"fa fa-calendar imp-subheader red-color"
style=
"width:20px;"
></i>
</div>
<div
ng-show=
"fileName"
style=
"display:inline-block"
>
<span
title=
"{{fileName}}"
>
{{'FileName' | translate}}{{fileName | limitString:20}}
</span>
</div>
</div>
<div
class=
"form-group"
>
<button
type=
"button"
ngf-select=
""
type=
"file"
ng-model=
"importExcelFile"
ngf-drag-over-class=
"'dragover'"
accept=
".xls,.xlsx"
ngf-multiple=
"false"
ngf-allow-dir=
"false"
class=
"btn btn-vat-third"
>
{{'SelectFile' | translate}}
</button>
<button
type=
"button"
class=
"btn btn-vat-primary"
translate=
"TemplateBtn"
ng-click=
"downloadTemplate()"
></button>
<button
type=
"button"
class=
"btn btn-vat-primary "
translate=
"CoverImportBtn"
ng-click=
"doUploadBS(importEnum.CoverImport)"
></button>
</div>
<div
class=
"btn-wrapper"
ng-if=
"!isShowImportTotalBtn"
>
<button
class=
"btn btn-vat-primary topButton"
atms-permission
permission-control-type=
"ngIf"
permission-code=
"{{$root.vatPermission.dataImport.balanceSheet.importCode}}"
translate=
"ConverImportBtn"
ng-click=
"doUploadTbResult(importEnum.CoverImport)"
></button>
|
<button
class=
"btn btn-vat-primary topButton"
atms-permission
permission-control-type=
"ngIf"
permission-code=
"{{$root.vatPermission.dataImport.balanceSheet.importCode}}"
translate=
"AddImportBtn"
ng-click=
"doUploadTbResult(importEnum.AddImport)"
></button>
</div>
</div>
</div>
<div
class=
"form-group"
>
<div
class=
"btn-wrapper"
ng-if=
"!isShowImportTotalBtn"
>
<button
class=
"btn btn-vat-primary "
atms-permission
permission-control-type=
"ngIf"
permission-code=
"{{$root.vatPermission.dataImport.balanceSheet.importCode}}"
translate=
"ConverImportBtn"
ng-click=
"doUploadTbResult(importEnum.CoverImport)"
></button>
|
<button
class=
"btn btn-vat-primary "
atms-permission
permission-control-type=
"ngIf"
permission-code=
"{{$root.vatPermission.dataImport.balanceSheet.importCode}}"
translate=
"AddImportBtn"
ng-click=
"doUploadTbResult(importEnum.AddImport)"
></button>
</div>
</div>
...
...
@@ -90,7 +85,7 @@
</div>
</div>-->
</form>
<div
class=
"dt-init-wrapper"
>
<div
class=
"dx-viewport grid-container"
>
<div
id=
"importPLStatusGridContainer"
dx-data-grid=
"importPLStatusGridOptions"
...
...
@@ -108,7 +103,9 @@
<script
type=
"text/ng-template"
id=
"tb-model-period-dropdown.html"
class=
"tb-model-period-dropdow-popup"
>
<
div
class
=
"modal-header"
>
<
div
class
=
"modal-title"
style
=
"margin-bottom:10px"
>
{{
remarksTitle
}}
<
i
class
=
"fa fa-times"
aria
-
hidden
=
"true"
style
=
"float: right; font-size: 11px; color: #CF2D1B"
ng
-
click
=
"closePeriodSelectModal()"
><
/i
>
{{
remarksTitle
}}
<
i
class
=
"fa fa-times"
aria
-
hidden
=
"true"
style
=
"float: right; font-size: 11px; color: #CF2D1B"
ng
-
click
=
"closePeriodSelectModal()"
><
/i
>
<
/div
>
<
/div
>
<
div
class
=
"modal-body"
>
...
...
atms-web/src/main/webapp/app/common/controls/import/import-cash-flow/import-cash-flow.ctrl.js
View file @
7d051625
...
...
@@ -929,6 +929,18 @@
$scope
.
pagingOptions
.
totalItems
=
totalItemsCount
;
};
//-------------------------------------------------kevin insert begin ---------------------------------------------
var
exp
=
{
showDropDownButton
:
true
,
bindingOptions
:
{
value
:
'checkedCompanyCodeList'
,
dataSource
:
'companyList'
}
}
PWC
.
orgManySelect
(
$scope
,
$translate
,
exp
);
//-------------------------------------------------kevin insert end ---------------------------------------------
$scope
.
selectOne
=
function
()
{
$scope
.
checkedCompanyList
=
[];
angular
.
forEach
(
$scope
.
companyList
,
function
(
i
)
{
...
...
atms-web/src/main/webapp/app/common/controls/import/import-cash-flow/import-cash-flow.html
View file @
7d051625
...
...
@@ -2,84 +2,87 @@
<!--标题-->
<div
class=
"nav-wrapper"
>
<div
class=
"nav-header"
translate=
"CashFlowDDTitle"
></div>
<div
class=
"alert alert-warning"
style=
"width:400px;margin-bottom:5px;"
ng-show=
"ImportErrorTab"
ng-click=
"toggleErrorTab()"
>
<div
class=
"alert alert-warning"
style=
"width:400px;margin-bottom:5px;"
ng-show=
"ImportErrorTab"
ng-click=
"toggleErrorTab()"
>
<i
class=
"fa fa-exclamation-circle"
aria-hidden=
"true"
></i>
{{errorMsg}}
</div>
</div>
<!--导航栏-->
<div
id=
"tab_total"
>
<form
class=
"form-inline"
id=
"navigationForm"
name=
"navigationForm"
>
<div
class=
"form-group"
ng-style=
"setButtonWrapStyle()"
style=
"width: 100%;margin-bottom: -38px;"
>
<div
class=
"import-wrapper"
>
<div
class=
"row"
>
<div
class=
"col-sm-6"
style=
"width: 60%;"
>
<span
class=
"text-bold"
translate=
"SelectedOrganization"
></span>
:
<div
class=
"dropdown"
style=
"margin-left:10px"
>
<button
class=
"btn btn-default dropdown-toggle"
type=
"button"
id=
"dropdownMenu1"
data-toggle=
"dropdown"
aria-haspopup=
"true"
aria-expanded=
"true"
style=
"width:200px;"
>
{{checkedCompanyTypeList ? ((checkedCompanyTypeList)|limitString:maxTitleLength):('PleaseSelect' | translate)}}
<span
class=
"caret"
style=
"float: right "
></span>
</button>
<ul
class=
"dropdown-menu"
style=
"width: 380px;"
aria-labelledby=
"dropdownMenu1"
>
<li><input
type=
"checkbox"
ng-model=
"selectedAll"
ng-change=
"selectAll()"
style=
"float: left;margin-left: 10px; margin-top: 7px; width: 15px"
checked
>
<span
style=
"margin-left:5px;float: left;"
>
全选
</span></li>
<li
role=
"separator"
class=
"divider"
style=
"height: 1px;margin: 9px 0;
<form
class=
"form-inline"
id=
"navigationForm"
name=
"navigationForm"
style=
"margin-top: 10px;"
>
<div
class=
"form-group"
>
<label
class=
"text-bold"
translate=
"SelectedOrganization"
style=
" top: -6px; position: relative;"
><span>
:
</span></label>
<div
dx-tag-box=
"selectOrgOptions"
style=
"display: inline-block;position: relative; top: 6px;"
></div>
</div>
<!-- <span class="text-bold" translate="SelectedOrganization"></span>:
<div class="dropdown" style="margin-left:10px">
<button class="btn btn-default dropdown-toggle" type="button" id="dropdownMenu1"
data-toggle="dropdown" aria-haspopup="true" aria-expanded="true" style="width:200px;">
{{checkedCompanyTypeList ? ((checkedCompanyTypeList)|limitString:maxTitleLength):('PleaseSelect' |
translate)}}
<span class="caret" style="float: right "></span>
</button>
<ul class="dropdown-menu" style="width: 380px;" aria-labelledby="dropdownMenu1">
<li><input type="checkbox" ng-model="selectedAll" ng-change="selectAll()"
style="float: left;margin-left: 10px; margin-top: 7px; width: 15px" checked>
<span style="margin-left:5px;float: left;">全选</span></li>
<li role="separator" class="divider" style="height: 1px;margin: 9px 0;
overflow: hidden;background-color: #e5e5e5;"></li>
<li
ng-repeat=
"i in companyList"
>
<div
class=
"checkbox-custom checkbox-default"
>
<input
type=
"checkbox"
ng-model=
"i.checked"
ng-change=
"selectOne()"
ng-checked=
"selectedOne"
style=
"float: left;margin-left: 10px; margin-top: 7px; width: 15px"
>
<span
style=
"margin-left:5px;text-align: left;float: left;"
>
{{i.name}}
</span>
</div>
</li>
</ul>
</div>
<span
class=
"text-bold"
translate=
"InvoiceQJ"
></span>
:
<div
class=
"period-picker"
style=
"margin-left:10px"
>
<input
type=
"text"
id=
"periodDatepicker"
class=
"datepicker imp-subheader"
style=
"width:120px;"
readonly=
"readonly"
ng-model=
"UploadPeriodTime"
/>
<i
class=
"fa fa-calendar imp-subheader red-color"
style=
"width:20px;"
></i>
</div>
<div
ng-show=
"fileName"
style=
"display:inline-block"
>
<span
title=
"{{fileName}}"
>
{{'FileName' | translate}}{{fileName | limitString:20}}
</span>
</div>
<li ng-repeat="i in companyList">
<div class="checkbox-custom checkbox-default">
<input type="checkbox" ng-model="i.checked" ng-change="selectOne()"
ng-checked="selectedOne"
style="float: left;margin-left: 10px; margin-top: 7px; width: 15px">
<span style="margin-left:5px;text-align: left;float: left;">{{i.name}}</span>
</div>
<div
class=
"col-sm-6 rightNav"
style=
"width: 40%;margin-top: 10px;"
>
<button
type=
"button"
ngf-select=
""
type=
"file"
ng-model=
"importExcelFile"
ngf-drag-over-class=
"'dragover'"
accept=
".xls,.xlsx"
ngf-multiple=
"false"
ngf-allow-dir=
"false"
class=
"btn btn-vat-third"
>
{{'SelectFile' | translate}}
</button>
<button
type=
"button"
class=
"btn btn-vat-primary"
translate=
"TemplateBtn"
ng-click=
"downloadTemplate()"
></button>
<button
type=
"button"
class=
"btn btn-vat-primary topButton"
translate=
"AddImportBtn"
ng-click=
"doUploadCF(importEnum.AddImport)"
></button>
</li>
</ul>
</div>-->
<div
class=
"form-group"
>
<span
class=
"text-bold"
translate=
"InvoiceQJ"
></span>
:
<div
class=
"period-picker"
style=
"display:inline-block;"
>
<input
type=
"text"
id=
"periodDatepicker"
class=
"datepicker imp-subheader form-control"
style=
"width:120px;"
readonly=
"readonly"
ng-model=
"UploadPeriodTime"
/>
<i
class=
"fa fa-calendar imp-subheader red-color"
style=
"width:20px;"
></i>
</div>
<div
ng-show=
"fileName"
style=
"display:inline-block"
>
<span
title=
"{{fileName}}"
>
{{'FileName' | translate}}{{fileName | limitString:20}}
</span>
</div>
</div>
<div
class=
"form-group"
>
<button
type=
"button"
ngf-select=
""
type=
"file"
ng-model=
"importExcelFile"
ngf-drag-over-class=
"'dragover'"
accept=
".xls,.xlsx"
ngf-multiple=
"false"
ngf-allow-dir=
"false"
class=
"btn btn-vat-third"
>
{{'SelectFile' | translate}}
</button>
<button
type=
"button"
class=
"btn btn-vat-primary"
translate=
"TemplateBtn"
ng-click=
"downloadTemplate()"
></button>
<button
type=
"button"
class=
"btn btn-vat-primary topButton
"
translate=
"Cover
ImportBtn"
ng-click=
"doUploadCF(importEnum.Cover
Import)"
></button>
<button
type=
"button"
class=
"btn btn-vat-primary
"
translate=
"Add
ImportBtn"
ng-click=
"doUploadCF(importEnum.Add
Import)"
></button>
<button
type=
"button"
class=
"btn btn-vat-primary "
translate=
"CoverImportBtn"
ng-click=
"doUploadCF(importEnum.CoverImport)"
></button>
</div>
<div
class=
"btn-wrapper"
ng-if=
"!isShowImportTotalBtn"
>
<button
class=
"btn btn-vat-primary"
atms-permission
permission-control-type=
"ngIf"
permission-code=
"{{$root.vatPermission.dataImport.balanceSheet.importCode}}"
translate=
"ConverImportBtn"
ng-click=
"doUploadTbResult(importEnum.CoverImport)"
></button>
|
<button
class=
"btn btn-vat-primary"
atms-permission
permission-control-type=
"ngIf"
permission-code=
"{{$root.vatPermission.dataImport.balanceSheet.importCode}}"
translate=
"AddImportBtn"
ng-click=
"doUploadTbResult(importEnum.AddImport)"
></button>
</div>
</div>
</div>
<div
class=
"form-group"
>
<div
class=
"btn-wrapper"
ng-if=
"!isShowImportTotalBtn"
>
<button
class=
"btn btn-vat-primary"
atms-permission
permission-control-type=
"ngIf"
permission-code=
"{{$root.vatPermission.dataImport.balanceSheet.importCode}}"
translate=
"ConverImportBtn"
ng-click=
"doUploadTbResult(importEnum.CoverImport)"
></button>
|
<button
class=
"btn btn-vat-primary"
atms-permission
permission-control-type=
"ngIf"
permission-code=
"{{$root.vatPermission.dataImport.balanceSheet.importCode}}"
translate=
"AddImportBtn"
ng-click=
"doUploadTbResult(importEnum.AddImport)"
></button>
</div>
</div>
...
...
@@ -90,7 +93,7 @@
</div>
</div>-->
</form>
<div
class=
"dt-init-wrapper"
>
<div
class=
"dx-viewport grid-container"
>
<div
id=
"importCFStatusGridContainer"
dx-data-grid=
"importCFStatusGridOptions"
...
...
@@ -108,7 +111,9 @@
<script
type=
"text/ng-template"
id=
"tb-model-period-dropdown.html"
class=
"tb-model-period-dropdow-popup"
>
<
div
class
=
"modal-header"
>
<
div
class
=
"modal-title"
style
=
"margin-bottom:10px"
>
{{
remarksTitle
}}
<
i
class
=
"fa fa-times"
aria
-
hidden
=
"true"
style
=
"float: right; font-size: 11px; color: #CF2D1B"
ng
-
click
=
"closePeriodSelectModal()"
><
/i
>
{{
remarksTitle
}}
<
i
class
=
"fa fa-times"
aria
-
hidden
=
"true"
style
=
"float: right; font-size: 11px; color: #CF2D1B"
ng
-
click
=
"closePeriodSelectModal()"
><
/i
>
<
/div
>
<
/div
>
<
div
class
=
"modal-body"
>
...
...
atms-web/src/main/webapp/app/common/controls/import/import-certified-invoices-list/import-certified-invoices-list.ctrl.js
View file @
7d051625
...
...
@@ -368,7 +368,18 @@
var
initPagingControl
=
function
(
totalItemsCount
)
{
$scope
.
pagingOptions
.
totalItems
=
totalItemsCount
;
};
//-------------------------------------------------kevin insert begin ---------------------------------------------
var
exp
=
{
showDropDownButton
:
true
,
bindingOptions
:
{
value
:
'checkedCompanyCodeList'
,
dataSource
:
'companyList'
}
}
PWC
.
orgManySelect
(
$scope
,
$translate
,
exp
);
//-------------------------------------------------kevin insert end ---------------------------------------------
$scope
.
selectOne
=
function
()
{
$scope
.
checkedCompanyList
=
[];
angular
.
forEach
(
$scope
.
companyList
,
function
(
i
)
{
...
...
atms-web/src/main/webapp/app/common/controls/import/import-certified-invoices-list/import-certified-invoices-list.html
View file @
7d051625
...
...
@@ -2,77 +2,77 @@
<!--标题-->
<div
class=
"nav-wrapper"
>
<div
class=
"nav-header"
translate=
"CertifiedInvoicesListTitle"
></div>
<div
class=
"alert alert-warning"
style=
"width:400px;margin-bottom:5px;"
ng-show=
"ImportErrorTab"
ng-click=
"toggleErrorTab()"
>
<div
class=
"alert alert-warning"
style=
"width:400px;margin-bottom:5px;"
ng-show=
"ImportErrorTab"
ng-click=
"toggleErrorTab()"
>
<i
class=
"fa fa-exclamation-circle"
aria-hidden=
"true"
></i>
{{errorMsg}}
</div>
</div>
<!--导航栏-->
<div
id=
"tab_total"
>
<form
class=
"form-inline"
id=
"navigationForm"
name=
"navigationForm"
>
<div
class=
"form-group"
ng-style=
"setButtonWrapStyle()"
style=
"width: 100%;margin-bottom: -38px;"
>
<div
class=
"import-wrapper"
>
<div
class=
"row"
>
<div
style =
"width:60%"
class=
"col-sm-6 leftNav"
>
<span
class=
"text-bold"
translate=
"SelectedOrganization"
></span>
:
<div
class=
"dropdown"
style=
"margin-left:10px"
>
<button
class=
"btn btn-default dropdown-toggle"
type=
"button"
id=
"dropdownMenu1"
data-toggle=
"dropdown"
aria-haspopup=
"true"
aria-expanded=
"true"
style=
"width:200px;"
>
{{checkedCompanyTypeList ? ((checkedCompanyTypeList)|limitString:maxTitleLength):('PleaseSelect' | translate)}}
<span
class=
"caret"
style=
"float: right "
></span>
</button>
<ul
class=
"dropdown-menu"
style=
"width: 380px;"
aria-labelledby=
"dropdownMenu1"
>
<li><input
type=
"checkbox"
ng-model=
"selectedAll"
ng-change=
"selectAll()"
style=
"float: left;margin-left: 10px; margin-top: 7px; width: 15px"
checked
>
<span
style=
"margin-left:5px;float: left;"
>
全选
</span></li>
<li
role=
"separator"
class=
"divider"
style=
"height: 1px;margin: 9px 0;
overflow: hidden;background-color: #e5e5e5;"
></li>
<li
ng-repeat=
"i in companyList"
>
<div
class=
"checkbox-custom checkbox-default"
>
<input
type=
"checkbox"
ng-model=
"i.checked"
ng-change=
"selectOne()"
ng-checked=
"selectedOne"
style=
"float: left;margin-left: 10px; margin-top: 7px; width: 15px"
>
<span
style=
"margin-left:5px;text-align: left;float: left;"
>
{{i.name}}
</span>
</div>
</li>
</ul>
</div>
<span
class=
"text-bold"
translate=
"InvoiceQJ"
></span>
:
<div
class=
"period-picker"
style=
"margin-left:10px"
>
<input
type=
"text"
id=
"periodDatepicker"
class=
"datepicker imp-subheader"
style=
"width:120px;"
readonly=
"readonly"
ng-model=
"UploadPeriodTime"
/>
<i
class=
"fa fa-calendar imp-subheader red-color"
style=
"width:20px;"
></i>
</div>
<div
ng-show=
"fileName"
style=
"display:inline-block"
>
<span
title=
"{{fileName}}"
>
{{'FileName' | translate}}{{fileName | limitString:20}}
</span>
</div>
</div>
<div
style =
"width:40%; margin-top: 10px;"
class=
"col-sm-6 rightNav"
>
<button
type=
"button"
ngf-select=
""
type=
"file"
ng-model=
"importExcelFile"
ngf-drag-over-class=
"'dragover'"
accept=
".xls,.xlsx"
ngf-multiple=
"false"
ngf-allow-dir=
"false"
class=
"btn btn-vat-third"
>
{{'SelectFile' | translate}}
</button>
<button
type=
"button"
class=
"btn btn-vat-primary"
translate=
"TemplateBtn"
ng-click=
"downloadTemplate()"
></button>
<button
type=
"button"
class=
"btn btn-vat-primary topButton"
translate=
"AddImportBtn"
ng-click=
"doUploadCIL(importEnum.AddImport)"
></button>
<form
class=
"form-inline"
id=
"navigationForm"
name=
"navigationForm"
style=
"margin-top: 10px;"
>
<div
class=
"form-group"
>
<label
class=
"text-bold"
translate=
"SelectedOrganization"
style=
" top: -6px; position: relative;"
><span>
:
</span></label>
<div
dx-tag-box=
"selectOrgOptions"
style=
"display: inline-block;"
></div>
</div>
<div
class=
"form-group"
>
<!-- <span class="text-bold" translate="SelectedOrganization"></span>:
<div class="dropdown" style="margin-left:10px">
<button class="btn btn-default dropdown-toggle" type="button" id="dropdownMenu1"
data-toggle="dropdown" aria-haspopup="true" aria-expanded="true" style="width:200px;">
{{checkedCompanyTypeList ? ((checkedCompanyTypeList)|limitString:maxTitleLength):('PleaseSelect' | translate)}}
<span class="caret" style="float: right "></span>
</button>
<ul class="dropdown-menu" style="width: 380px;" aria-labelledby="dropdownMenu1">
<li><input type="checkbox" ng-model="selectedAll" ng-change="selectAll()"
style="float: left;margin-left: 10px; margin-top: 7px; width: 15px" checked>
<span style="margin-left:5px;float: left;">全选</span></li>
<li role="separator" class="divider" style="height: 1px;margin: 9px 0;
overflow: hidden;background-color: #e5e5e5;"></li>
<li ng-repeat="i in companyList">
<div class="checkbox-custom checkbox-default">
<input type="checkbox" ng-model="i.checked" ng-change="selectOne()"
ng-checked="selectedOne"
style="float: left;margin-left: 10px; margin-top: 7px; width: 15px">
<span style="margin-left:5px;text-align: left;float: left;">{{i.name}}</span>
</div>
</li>
</ul>
</div>-->
<label
class=
"text-bold"
translate=
"InvoiceQJ"
><span>
:
</span></label>
<div
class=
"period-picker"
style=
"display: inline-block"
>
<input
type=
"text"
id=
"periodDatepicker"
class=
"datepicker form-control imp-subheader"
style=
"width:120px;"
readonly=
"readonly"
ng-model=
"UploadPeriodTime"
/>
<i
class=
"fa fa-calendar imp-subheader red-color"
style=
"width:20px;"
></i>
</div>
<div
ng-show=
"fileName"
style=
"display:inline-block"
>
<span
title=
"{{fileName}}"
>
{{'FileName' | translate}}{{fileName | limitString:20}}
</span>
</div>
</div>
<div
class=
"form-group"
>
<button
type=
"button"
ngf-select=
""
type=
"file"
ng-model=
"importExcelFile"
ngf-drag-over-class=
"'dragover'"
accept=
".xls,.xlsx"
ngf-multiple=
"false"
ngf-allow-dir=
"false"
class=
"btn btn-vat-third"
>
{{'SelectFile' | translate}}
</button>
<button
type=
"button"
class=
"btn btn-vat-primary"
translate=
"TemplateBtn"
ng-click=
"downloadTemplate()"
></button>
<button
type=
"button"
class=
"btn btn-vat-primary topButton"
translate=
"CoverImportBtn"
ng-click=
"doUploadCIL(importEnum.CoverImport)"
></button>
</div>
</div>
<button
type=
"button"
class=
"btn btn-vat-primary "
translate=
"AddImportBtn"
ng-click=
"doUploadCIL(importEnum.AddImport)"
></button>
</div>
<button
type=
"button"
class=
"btn btn-vat-primary "
translate=
"CoverImportBtn"
ng-click=
"doUploadCIL(importEnum.CoverImport)"
></button>
</div>
</form>
<div
class=
"dt-init-wrapper"
>
<div
class=
"dx-viewport grid-container"
>
<div
id=
"importCILStatusGridContainer"
dx-data-grid=
"importCILStatusGridOptions"
...
...
@@ -90,7 +90,9 @@
<script
type=
"text/ng-template"
id=
"tb-model-period-dropdown.html"
class=
"tb-model-period-dropdow-popup"
>
<
div
class
=
"modal-header"
>
<
div
class
=
"modal-title"
style
=
"margin-bottom:10px"
>
{{
remarksTitle
}}
<
i
class
=
"fa fa-times"
aria
-
hidden
=
"true"
style
=
"float: right; font-size: 11px; color: #CF2D1B"
ng
-
click
=
"closePeriodSelectModal()"
><
/i
>
{{
remarksTitle
}}
<
i
class
=
"fa fa-times"
aria
-
hidden
=
"true"
style
=
"float: right; font-size: 11px; color: #CF2D1B"
ng
-
click
=
"closePeriodSelectModal()"
><
/i
>
<
/div
>
<
/div
>
<
div
class
=
"modal-body"
>
...
...
atms-web/src/main/webapp/app/common/controls/import/import-cit-bs-prc-adjust/import-cit-bs-prc-adjust.ctrl.js
View file @
7d051625
...
...
@@ -413,7 +413,18 @@
}
});
};
//-------------------------------------------------kevin insert begin ---------------------------------------------
var
exp
=
{
showDropDownButton
:
true
,
bindingOptions
:
{
value
:
'checkedCompanyCodeList'
,
dataSource
:
'companyList'
}
}
PWC
.
orgManySelect
(
$scope
,
$translate
,
exp
);
//-------------------------------------------------kevin insert end ---------------------------------------------
$scope
.
selectOne
=
function
()
{
$scope
.
checkedCompanyList
=
[];
...
...
atms-web/src/main/webapp/app/common/controls/import/import-cit-bs-prc-adjust/import-cit-bs-prc-adjust.html
View file @
7d051625
...
...
@@ -5,10 +5,12 @@
</div>
<!--导航栏-->
<div
id=
"tab_total"
>
<form
class=
"form-inline"
id=
"navigationForm"
name=
"navigationForm"
>
<div
class=
"form-group"
ng-style=
"setButtonWrapStyle()"
>
<div
class=
"import-wrapper"
>
<span
class=
"text-bold"
translate=
"SelectedOrganization"
></span>
:
<form
class=
"form-inline"
id=
"navigationForm"
name=
"navigationForm"
style=
"margin-top: 10px;"
>
<div
class=
"form-group"
>
<label
class=
"text-bold"
translate=
"SelectedOrganization"
style=
" top: -6px; position: relative;"
><span>
:
</span></label>
<div
dx-tag-box=
"selectOrgOptions"
style=
"display: inline-block;position: relative; top: 6px;"
></div>
</div>
<!--<span class="text-bold" translate="SelectedOrganization"></span>:
<div class="dropdown" style="margin-left:10px">
<button class="btn btn-default dropdown-toggle" type="button" id="dropdownMenu1"
data-toggle="dropdown" aria-haspopup="true" aria-expanded="true" style="width:200px;">
...
...
@@ -30,50 +32,54 @@
</div>
</li>
</ul>
</div>-->
<div
class=
"form-group"
>
<span
class=
"text-bold"
translate=
"InvoiceQJ"
></span>
:
<div
class=
"period-picker"
style=
"display: inline-block"
>
<input
type=
"text"
id=
"periodDatepicker"
class=
"datepicker form-control imp-subheader"
style=
"width:120px;"
readonly=
"readonly"
ng-model=
"UploadPeriodTime"
/>
<i
class=
"fa fa-calendar imp-subheader red-color"
style=
"width:20px;"
></i>
</div>
<div
ng-show=
"fileName"
style=
"display:inline-block"
>
<span
title=
"{{fileName}}"
>
{{'FileName' | translate}}{{fileName | limitString:20}}
</span>
</div>
</div>
<span
class=
"text-bold"
translate=
"InvoiceQJ"
></span>
:
<div
class=
"period-picker"
style=
"margin-left:10px"
>
<input
type=
"text"
id=
"periodDatepicker"
class=
"datepicker imp-subheader"
style=
"width:120px;"
readonly=
"readonly"
ng-model=
"UploadPeriodTime"
/>
<i
class=
"fa fa-calendar imp-subheader red-color"
style=
"width:20px;"
></i>
</div>
<div
ng-show=
"fileName"
style=
"display:inline-block"
>
<span
title=
"{{fileName}}"
>
{{'FileName' | translate}}{{fileName | limitString:20}}
</span>
</div>
<button
type=
"button"
ngf-select=
""
type=
"file"
ng-model=
"importExcelFile"
ngf-drag-over-class=
"'dragover'"
accept=
".xls,.xlsx"
ngf-multiple=
"false"
ngf-allow-dir=
"false"
class=
"btn btn-vat-third"
style=
"margin-right:10px;margin-left:30px"
>
{{'SelectFile' | translate}}
</button>
<button
type=
"button"
class=
"btn btn-vat-primary"
style=
"float:right; margin-right: 10px;margin-left: 30px;margin-top: 8px;"
translate=
"TemplateBtn"
ng-click=
"downloadTemplate()"
></button>
<button
type=
"button"
class=
"btn btn-vat-primary"
style=
"float:right; margin-right: 10px;margin-left: 30px;margin-top: 8px;"
translate=
"AddImportBtn"
ng-click=
"importFile(importEnum.AddImport)"
></button>
<button
type=
"button"
class=
"btn btn-vat-primary"
style=
"float:right; margin-right: 10px;margin-left: 30px;margin-top: 8px;"
translate=
"CoverImportBtn"
ng-click=
"importFile(importEnum.CoverImport)"
></button>
<div
class=
"btn-wrapper"
ng-if=
"!isShowImportTotalBtn"
>
<button
class=
"btn btn-vat-primary"
atms-permission
permission-control-type=
"ngIf"
permission-code=
"{{$root.vatPermission.dataImport.balanceSheet.importCode}}"
translate=
"ConverImportBtn"
ng-click=
"doUploadTbResult(importEnum.CoverImport)"
></button>
|
<button
class=
"btn btn-vat-primary"
atms-permission
permission-control-type=
"ngIf"
permission-code=
"{{$root.vatPermission.dataImport.balanceSheet.importCode}}"
translate=
"AddImportBtn"
ng-click=
"doUploadTbResult(importEnum.AddImport)"
></button>
</div>
<div
class=
"form-group"
>
<button
type=
"button"
ngf-select=
""
type=
"file"
ng-model=
"importExcelFile"
ngf-drag-over-class=
"'dragover'"
accept=
".xls,.xlsx"
ngf-multiple=
"false"
ngf-allow-dir=
"false"
class=
"btn btn-vat-third"
style=
"margin-top: 8px;"
>
{{'SelectFile' | translate}}
</button>
<button
type=
"button"
class=
"btn btn-vat-primary"
style=
"float:right; margin-right: 10px;margin-left: 30px;margin-top: 8px;"
translate=
"TemplateBtn"
ng-click=
"downloadTemplate()"
></button>
<button
type=
"button"
class=
"btn btn-vat-primary"
style=
"float:right; margin-right: 10px;margin-left: 30px;margin-top: 8px;"
translate=
"AddImportBtn"
ng-click=
"importFile(importEnum.AddImport)"
></button>
<button
type=
"button"
class=
"btn btn-vat-primary"
style=
"float:right; margin-right: 10px;margin-left: 30px;margin-top: 8px;"
translate=
"CoverImportBtn"
ng-click=
"importFile(importEnum.CoverImport)"
></button>
</div>
<div
class=
"form-group"
>
<div
class=
"btn-wrapper"
ng-if=
"!isShowImportTotalBtn"
>
<button
class=
"btn btn-vat-primary"
atms-permission
permission-control-type=
"ngIf"
permission-code=
"{{$root.vatPermission.dataImport.balanceSheet.importCode}}"
translate=
"ConverImportBtn"
ng-click=
"doUploadTbResult(importEnum.CoverImport)"
></button>
|
<button
class=
"btn btn-vat-primary"
atms-permission
permission-control-type=
"ngIf"
permission-code=
"{{$root.vatPermission.dataImport.balanceSheet.importCode}}"
translate=
"AddImportBtn"
ng-click=
"doUploadTbResult(importEnum.AddImport)"
></button>
</div>
</div>
</div>
<!--分页栏-->
<!--<div class="form-group page-form-group" ng-show="!fileName">
<div class="page-footer">
...
...
atms-web/src/main/webapp/app/common/controls/import/import-cit-journal-adjust/import-cit-journal-adjust.ctrl.js
View file @
7d051625
...
...
@@ -424,6 +424,18 @@
});
};
//-------------------------------------------------kevin insert begin ---------------------------------------------
var
exp
=
{
showDropDownButton
:
true
,
bindingOptions
:
{
value
:
'checkedCompanyCodeList'
,
dataSource
:
'companyList'
}
}
PWC
.
orgManySelect
(
$scope
,
$translate
,
exp
);
//-------------------------------------------------kevin insert end ---------------------------------------------
$scope
.
selectOne
=
function
()
{
$scope
.
checkedCompanyList
=
[];
angular
.
forEach
(
$scope
.
companyList
,
function
(
i
)
{
...
...
atms-web/src/main/webapp/app/common/controls/import/import-cit-journal-adjust/import-cit-journal-adjust.html
View file @
7d051625
...
...
@@ -5,10 +5,12 @@
</div>
<!--导航栏-->
<div
id=
"tab_total"
>
<form
class=
"form-inline"
id=
"navigationForm"
name=
"navigationForm"
>
<div
class=
"form-group"
ng-style=
"setButtonWrapStyle()"
>
<div
class=
"import-wrapper"
>
<span
class=
"text-bold"
translate=
"SelectedOrganization"
></span>
:
<form
class=
"form-inline"
id=
"navigationForm"
name=
"navigationForm"
style=
"margin-top: 10px;"
>
<div
class=
"form-group"
>
<label
class=
"text-bold"
translate=
"SelectedOrganization"
style=
" top: -6px; position: relative;"
><span>
:
</span></label>
<div
dx-tag-box=
"selectOrgOptions"
style=
"display: inline-block;position: relative; top: 6px;"
></div>
</div>
<!--<span class="text-bold" translate="SelectedOrganization"></span>:
<div class="dropdown" style="margin-left:10px">
<button class="btn btn-default dropdown-toggle" type="button" id="dropdownMenu1"
data-toggle="dropdown" aria-haspopup="true" aria-expanded="true" style="width: 200px;">
...
...
@@ -30,50 +32,54 @@
</div>
</li>
</ul>
</div>-->
<div
class=
"form-group"
>
<span
class=
"text-bold"
translate=
"InvoiceQJ"
></span>
:
<div
class=
"period-picker"
style=
"display: inline-block;"
>
<input
type=
"text"
id=
"periodDatepicker"
class=
"datepicker form-control imp-subheader"
style=
"width:120px;"
readonly=
"readonly"
ng-model=
"UploadPeriodTime"
/>
<i
class=
"fa fa-calendar imp-subheader red-color"
style=
"width:20px;"
></i>
</div>
<div
ng-show=
"fileName"
style=
"display:inline-block"
>
<span
title=
"{{fileName}}"
>
{{'FileName' | translate}}{{fileName | limitString:20}}
</span>
</div>
</div>
<span
class=
"text-bold"
translate=
"InvoiceQJ"
></span>
:
<div
class=
"period-picker"
style=
"margin-left:10px"
>
<input
type=
"text"
id=
"periodDatepicker"
class=
"datepicker imp-subheader"
style=
"width:120px;"
readonly=
"readonly"
ng-model=
"UploadPeriodTime"
/>
<i
class=
"fa fa-calendar imp-subheader red-color"
style=
"width:20px;"
></i>
</div>
<div
ng-show=
"fileName"
style=
"display:inline-block"
>
<span
title=
"{{fileName}}"
>
{{'FileName' | translate}}{{fileName | limitString:20}}
</span>
</div>
<button
type=
"button"
ngf-select=
""
type=
"file"
ng-model=
"importExcelFile"
ngf-drag-over-class=
"'dragover'"
accept=
".xls,.xlsx"
ngf-multiple=
"false"
ngf-allow-dir=
"false"
class=
"btn btn-vat-third"
style=
"margin-right:10px;margin-left:30px"
>
{{'SelectFile' | translate}}
</button>
<button
type=
"button"
class=
"btn btn-vat-primary"
style=
"float:right; margin-right: 10px;margin-left: 30px;margin-top: 8px;"
translate=
"TemplateBtn"
ng-click=
"downloadTemplate()"
></button>
<button
type=
"button"
class=
"btn btn-vat-primary"
style=
"float:right; margin-right: 10px;margin-left: 30px;margin-top: 8px;"
translate=
"AddImportBtn"
ng-click=
"importFile(importEnum.AddImport)"
></button>
<button
type=
"button"
class=
"btn btn-vat-primary"
style=
"float:right; margin-right: 10px;margin-left: 30px;margin-top: 8px;"
translate=
"CoverImportBtn"
ng-click=
"importFile(importEnum.CoverImport)"
></button>
<div
class=
"btn-wrapper"
ng-if=
"!isShowImportTotalBtn"
>
<button
class=
"btn btn-vat-primary"
atms-permission
permission-control-type=
"ngIf"
permission-code=
"{{$root.vatPermission.dataImport.balanceSheet.importCode}}"
translate=
"ConverImportBtn"
ng-click=
"doUploadTbResult(importEnum.CoverImport)"
></button>
|
<button
class=
"btn btn-vat-primary"
atms-permission
permission-control-type=
"ngIf"
permission-code=
"{{$root.vatPermission.dataImport.balanceSheet.importCode}}"
translate=
"AddImportBtn"
ng-click=
"doUploadTbResult(importEnum.AddImport)"
></button>
<div
class=
"form-group"
>
<button
type=
"button"
ngf-select=
""
type=
"file"
ng-model=
"importExcelFile"
ngf-drag-over-class=
"'dragover'"
accept=
".xls,.xlsx"
ngf-multiple=
"false"
ngf-allow-dir=
"false"
class=
"btn btn-vat-third"
style=
"margin-top: 8px;"
>
{{'SelectFile' | translate}}
</button>
<button
type=
"button"
class=
"btn btn-vat-primary"
style=
"float:right; margin-right: 10px;margin-left: 30px;margin-top: 8px;"
translate=
"TemplateBtn"
ng-click=
"downloadTemplate()"
></button>
<button
type=
"button"
class=
"btn btn-vat-primary"
style=
"float:right; margin-right: 10px;margin-left: 30px;margin-top: 8px;"
translate=
"AddImportBtn"
ng-click=
"importFile(importEnum.AddImport)"
></button>
<button
type=
"button"
class=
"btn btn-vat-primary"
style=
"float:right; margin-right: 10px;margin-left: 30px;margin-top: 8px;"
translate=
"CoverImportBtn"
ng-click=
"importFile(importEnum.CoverImport)"
></button>
</div>
</div>
</div>
<div
class=
"form-group"
>
<div
class=
"btn-wrapper"
ng-if=
"!isShowImportTotalBtn"
>
<button
class=
"btn btn-vat-primary"
atms-permission
permission-control-type=
"ngIf"
permission-code=
"{{$root.vatPermission.dataImport.balanceSheet.importCode}}"
translate=
"ConverImportBtn"
ng-click=
"doUploadTbResult(importEnum.CoverImport)"
></button>
|
<button
class=
"btn btn-vat-primary"
atms-permission
permission-control-type=
"ngIf"
permission-code=
"{{$root.vatPermission.dataImport.balanceSheet.importCode}}"
translate=
"AddImportBtn"
ng-click=
"doUploadTbResult(importEnum.AddImport)"
></button>
</div>
</div>
<!--分页栏-->
<!--<div class="form-group page-form-group" ng-show="!fileName">
<div class="page-footer">
...
...
atms-web/src/main/webapp/app/common/controls/import/import-cit-profit-prc-adjust/import-cit-profit-prc-adjust.ctrl.js
View file @
7d051625
...
...
@@ -416,6 +416,18 @@
});
};
//-------------------------------------------------kevin insert begin ---------------------------------------------
var
exp
=
{
showDropDownButton
:
true
,
bindingOptions
:
{
value
:
'checkedCompanyCodeList'
,
dataSource
:
'companyList'
}
}
PWC
.
orgManySelect
(
$scope
,
$translate
,
exp
);
//-------------------------------------------------kevin insert end ---------------------------------------------
$scope
.
selectOne
=
function
()
{
$scope
.
checkedCompanyList
=
[];
angular
.
forEach
(
$scope
.
companyList
,
function
(
i
)
{
...
...
atms-web/src/main/webapp/app/common/controls/import/import-cit-profit-prc-adjust/import-cit-profit-prc-adjust.html
View file @
7d051625
...
...
@@ -5,10 +5,12 @@
</div>
<!--导航栏-->
<div
id=
"tab_total"
>
<form
class=
"form-inline"
id=
"navigationForm"
name=
"navigationForm"
>
<div
class=
"form-group"
ng-style=
"setButtonWrapStyle()"
>
<div
class=
"import-wrapper"
>
<span
class=
"text-bold"
translate=
"SelectedOrganization"
></span>
:
<form
class=
"form-inline"
id=
"navigationForm"
name=
"navigationForm"
style=
"margin-top: 10px;"
>
<div
class=
"form-group"
>
<label
class=
"text-bold"
translate=
"SelectedOrganization"
style=
" top: -6px; position: relative;"
><span>
:
</span></label>
<div
dx-tag-box=
"selectOrgOptions"
style=
"display: inline-block;position: relative; top: 6px;"
></div>
</div>
<!-- <span class="text-bold" translate="SelectedOrganization"></span>:
<div class="dropdown" style="margin-left:10px">
<button class="btn btn-default dropdown-toggle" type="button" id="dropdownMenu1"
data-toggle="dropdown" aria-haspopup="true" aria-expanded="true" style="width: 200px;">
...
...
@@ -30,49 +32,53 @@
</div>
</li>
</ul>
</div>-->
<div
class=
"form-group"
>
<span
class=
"text-bold"
translate=
"InvoiceQJ"
></span>
:
<div
class=
"period-picker"
style=
"display: inline-block;"
>
<input
type=
"text"
id=
"periodDatepicker"
class=
"datepicker form-control imp-subheader"
style=
"width:120px;"
readonly=
"readonly"
ng-model=
"UploadPeriodTime"
/>
<i
class=
"fa fa-calendar imp-subheader red-color"
style=
"width:20px;"
></i>
</div>
<div
ng-show=
"fileName"
style=
"display:inline-block"
>
<span
title=
"{{fileName}}"
>
{{'FileName' | translate}}{{fileName | limitString:10}}
</span>
</div>
</div>
<span
class=
"text-bold"
translate=
"InvoiceQJ"
></span>
:
<div
class=
"period-picker"
style=
"margin-left:10px"
>
<input
type=
"text"
id=
"periodDatepicker"
class=
"datepicker imp-subheader"
style=
"width:120px;"
readonly=
"readonly"
ng-model=
"UploadPeriodTime"
/>
<i
class=
"fa fa-calendar imp-subheader red-color"
style=
"width:20px;"
></i>
</div>
<div
ng-show=
"fileName"
style=
"display:inline-block"
>
<span
title=
"{{fileName}}"
>
{{'FileName' | translate}}{{fileName | limitString:10}}
</span>
<div
class=
"form-group"
>
<button
type=
"button"
ngf-select=
""
type=
"file"
ng-model=
"importExcelFile"
ngf-drag-over-class=
"'dragover'"
accept=
".xls,.xlsx"
ngf-multiple=
"false"
ngf-allow-dir=
"false"
class=
"btn btn-vat-third"
style=
"margin-top: 8px;"
>
{{'SelectFile' | translate}}
</button>
<button
type=
"button"
class=
"btn btn-vat-primary"
style=
"float:right; margin-right: 10px;margin-left: 30px;margin-top: 8px;"
translate=
"TemplateBtn"
ng-click=
"downloadTemplate()"
></button>
<button
type=
"button"
class=
"btn btn-vat-primary"
style=
"float:right; margin-right: 10px;margin-left: 30px;margin-top: 8px;"
translate=
"AddImportBtn"
ng-click=
"importFile(importEnum.AddImport)"
></button>
<button
type=
"button"
class=
"btn btn-vat-primary"
style=
"float:right; margin-right: 10px;margin-left: 30px;margin-top: 8px;"
translate=
"CoverImportBtn"
ng-click=
"importFile(importEnum.CoverImport)"
></button>
</div>
<div
class=
"form-group"
>
<div
class=
"btn-wrapper"
ng-if=
"!isShowImportTotalBtn"
>
<button
class=
"btn btn-vat-primary"
atms-permission
permission-control-type=
"ngIf"
permission-code=
"{{$root.vatPermission.dataImport.balanceSheet.importCode}}"
translate=
"ConverImportBtn"
ng-click=
"doUploadTbResult(importEnum.CoverImport)"
></button>
|
<button
class=
"btn btn-vat-primary"
atms-permission
permission-control-type=
"ngIf"
permission-code=
"{{$root.vatPermission.dataImport.balanceSheet.importCode}}"
translate=
"AddImportBtn"
ng-click=
"doUploadTbResult(importEnum.AddImport)"
></button>
</div>
</div>
<button
type=
"button"
ngf-select=
""
type=
"file"
ng-model=
"importExcelFile"
ngf-drag-over-class=
"'dragover'"
accept=
".xls,.xlsx"
ngf-multiple=
"false"
ngf-allow-dir=
"false"
class=
"btn btn-vat-third"
style=
"margin-right:10px;margin-left:30px"
>
{{'SelectFile' | translate}}
</button>
<button
type=
"button"
class=
"btn btn-vat-primary"
style=
"float:right; margin-right: 10px;margin-left: 30px;margin-top: 8px;"
translate=
"TemplateBtn"
ng-click=
"downloadTemplate()"
></button>
<button
type=
"button"
class=
"btn btn-vat-primary"
style=
"float:right; margin-right: 10px;margin-left: 30px;margin-top: 8px;"
translate=
"AddImportBtn"
ng-click=
"importFile(importEnum.AddImport)"
></button>
<button
type=
"button"
class=
"btn btn-vat-primary"
style=
"float:right; margin-right: 10px;margin-left: 30px;margin-top: 8px;"
translate=
"CoverImportBtn"
ng-click=
"importFile(importEnum.CoverImport)"
></button>
<div
class=
"btn-wrapper"
ng-if=
"!isShowImportTotalBtn"
>
<button
class=
"btn btn-vat-primary"
atms-permission
permission-control-type=
"ngIf"
permission-code=
"{{$root.vatPermission.dataImport.balanceSheet.importCode}}"
translate=
"ConverImportBtn"
ng-click=
"doUploadTbResult(importEnum.CoverImport)"
></button>
|
<button
class=
"btn btn-vat-primary"
atms-permission
permission-control-type=
"ngIf"
permission-code=
"{{$root.vatPermission.dataImport.balanceSheet.importCode}}"
translate=
"AddImportBtn"
ng-click=
"doUploadTbResult(importEnum.AddImport)"
></button>
</div>
</div>
</div>
<!--分页栏-->
<!--<div class="form-group page-form-group" ng-show="!fileName">
...
...
atms-web/src/main/webapp/app/common/controls/import/import-cit-salary-advance/import-cit-salary-advance.ctrl.js
View file @
7d051625
...
...
@@ -440,7 +440,18 @@
}
});
};
//-------------------------------------------------kevin insert begin ---------------------------------------------
var
exp
=
{
showDropDownButton
:
true
,
bindingOptions
:
{
value
:
'checkedCompanyCodeList'
,
dataSource
:
'companyList'
}
}
PWC
.
orgManySelect
(
$scope
,
$translate
,
exp
);
//-------------------------------------------------kevin insert end ---------------------------------------------
$scope
.
selectOne
=
function
()
{
$scope
.
checkedCompanyList
=
[];
angular
.
forEach
(
$scope
.
companyList
,
function
(
i
)
{
...
...
atms-web/src/main/webapp/app/common/controls/import/import-cit-salary-advance/import-cit-salary-advance.html
View file @
7d051625
...
...
@@ -5,10 +5,12 @@
</div>
<!--导航栏-->
<div
id=
"tab_total"
>
<form
class=
"form-inline"
id=
"navigationForm"
name=
"navigationForm"
>
<div
class=
"form-group"
ng-style=
"setButtonWrapStyle()"
>
<div
class=
"import-wrapper"
>
<span
class=
"text-bold"
translate=
"SelectedOrganization"
></span>
:
<form
class=
"form-inline"
id=
"navigationForm"
name=
"navigationForm"
style=
"margin-top: 10px;"
>
<div
class=
"form-group"
>
<label
class=
"text-bold"
translate=
"SelectedOrganization"
style=
" top: -6px; position: relative;"
><span>
:
</span></label>
<div
dx-tag-box=
"selectOrgOptions"
style=
"display: inline-block;position: relative; top: 6px;"
></div>
</div>
<!-- <span class="text-bold" translate="SelectedOrganization"></span>:
<div class="dropdown" style="margin-left:10px">
<button class="btn btn-default dropdown-toggle" type="button" id="dropdownMenu1"
data-toggle="dropdown" aria-haspopup="true" aria-expanded="true" style="width: 200px;">
...
...
@@ -30,54 +32,60 @@
</div>
</li>
</ul>
</div>
</div>
-->
<!--本年底、下年初的选择-->
<span
class=
"text-bold"
translate=
"PreClassified"
></span>
:
<div
class=
"option"
style=
"display: inline-block"
>
<div
id=
"endBeginButton"
dx-select-box=
"endBeginOptions"
style=
"width: 130px"
></div>
<div
class=
"form-group"
>
<label
class=
"text-bold"
translate=
"PreClassified"
><span>
:
</span></label>
<div
class=
"option"
style=
"display: inline-block"
>
<div
id=
"endBeginButton"
dx-select-box=
"endBeginOptions"
style=
"width: 130px"
></div>
</div>
</div>
<span
class=
"text-bold"
translate=
"InvoiceQJ"
></span>
:
<div
class=
"period-picker"
style=
"margin-left:10px"
>
<input
type=
"text"
id=
"periodDatepicker"
class=
"datepicker imp-subheader"
style=
"width:120px;"
readonly=
"readonly"
ng-model=
"UploadPeriodTime"
/>
<i
class=
"fa fa-calendar imp-subheader red-color"
style=
"width:20px;"
></i>
<div
class=
"form-group"
>
<span
class=
"text-bold"
translate=
"InvoiceQJ"
></span>
:
<div
class=
"period-picker"
style=
"display: inline-block;"
>
<input
type=
"text"
id=
"periodDatepicker"
class=
"datepicker form-control imp-subheader"
style=
"width:120px;"
readonly=
"readonly"
ng-model=
"UploadPeriodTime"
/>
<i
class=
"fa fa-calendar imp-subheader red-color"
style=
"width:20px;"
></i>
</div>
<div
ng-show=
"fileName"
style=
"display:inline-block"
>
<span
title=
"{{fileName}}"
>
{{'FileName' | translate}}{{fileName | limitString:20}}
</span>
</div>
</div>
<div
ng-show=
"fileName"
style=
"display:inline-block"
>
<span
title=
"{{fileName}}"
>
{{'FileName' | translate}}{{fileName | limitString:20}}
</span>
<div
class=
"form-group"
>
<button
type=
"button"
ngf-select=
""
type=
"file"
ng-model=
"importExcelFile"
ngf-drag-over-class=
"'dragover'"
accept=
".xls,.xlsx"
ngf-multiple=
"false"
ngf-allow-dir=
"false"
class=
"btn btn-vat-third"
style=
" margin-top: 8px;"
>
{{'SelectFile' | translate}}
</button>
<button
type=
"button"
class=
"btn btn-vat-primary"
style=
"float:right; margin-right: 10px;margin-left: 30px;margin-top: 8px;"
translate=
"TemplateBtn"
ng-click=
"downloadTemplate()"
></button>
<button
type=
"button"
class=
"btn btn-vat-primary"
style=
"float:right; margin-right: 10px;margin-left: 30px;margin-top: 8px;"
translate=
"AddImportBtn"
ng-click=
"importFile(importEnum.AddImport)"
></button>
<button
type=
"button"
class=
"btn btn-vat-primary"
style=
"float:right; margin-right: 10px;margin-left: 30px;margin-top: 8px;"
translate=
"CoverImportBtn"
ng-click=
"importFile(importEnum.CoverImport)"
></button>
</div>
<button
type=
"button"
ngf-select=
""
type=
"file"
ng-model=
"importExcelFile"
ngf-drag-over-class=
"'dragover'"
accept=
".xls,.xlsx"
ngf-multiple=
"false"
ngf-allow-dir=
"false"
class=
"btn btn-vat-third"
style=
"margin-right:10px;margin-left:30px"
>
{{'SelectFile' | translate}}
</button>
<button
type=
"button"
class=
"btn btn-vat-primary"
style=
"float:right; margin-right: 10px;margin-left: 30px;margin-top: 8px;"
translate=
"TemplateBtn"
ng-click=
"downloadTemplate()"
></button>
<button
type=
"button"
class=
"btn btn-vat-primary"
style=
"float:right; margin-right: 10px;margin-left: 30px;margin-top: 8px;"
translate=
"AddImportBtn"
ng-click=
"importFile(importEnum.AddImport)"
></button>
<button
type=
"button"
class=
"btn btn-vat-primary"
style=
"float:right; margin-right: 10px;margin-left: 30px;margin-top: 8px;"
translate=
"CoverImportBtn"
ng-click=
"importFile(importEnum.CoverImport)"
></button>
<div
class=
"btn-wrapper"
ng-if=
"!isShowImportTotalBtn"
>
<button
class=
"btn btn-vat-primary"
atms-permission
permission-control-type=
"ngIf"
permission-code=
"{{$root.vatPermission.dataImport.balanceSheet.importCode}}"
translate=
"ConverImportBtn"
ng-click=
"doUploadTbResult(importEnum.CoverImport)"
></button>
|
<button
class=
"btn btn-vat-primary"
atms-permission
permission-control-type=
"ngIf"
permission-code=
"{{$root.vatPermission.dataImport.balanceSheet.importCode}}"
translate=
"AddImportBtn"
ng-click=
"doUploadTbResult(importEnum.AddImport)"
></button>
<div
class=
"form-group"
>
<div
class=
"btn-wrapper"
ng-if=
"!isShowImportTotalBtn"
>
<button
class=
"btn btn-vat-primary"
atms-permission
permission-control-type=
"ngIf"
permission-code=
"{{$root.vatPermission.dataImport.balanceSheet.importCode}}"
translate=
"ConverImportBtn"
ng-click=
"doUploadTbResult(importEnum.CoverImport)"
></button>
|
<button
class=
"btn btn-vat-primary"
atms-permission
permission-control-type=
"ngIf"
permission-code=
"{{$root.vatPermission.dataImport.balanceSheet.importCode}}"
translate=
"AddImportBtn"
ng-click=
"doUploadTbResult(importEnum.AddImport)"
></button>
</div>
</div>
</div>
</div>
<!--分页栏-->
<!--<div class="form-group page-form-group" ng-show="!fileName">
...
...
atms-web/src/main/webapp/app/common/controls/import/import-cit-trial-balance/import-cit-trial-balance.ctrl.js
View file @
7d051625
...
...
@@ -418,6 +418,19 @@
}
});
};
//-------------------------------------------------kevin insert begin ---------------------------------------------
var
exp
=
{
showDropDownButton
:
true
,
bindingOptions
:
{
value
:
'checkedCompanyCodeList'
,
dataSource
:
'companyList'
}
}
PWC
.
orgManySelect
(
$scope
,
$translate
,
exp
);
//-------------------------------------------------kevin insert end ---------------------------------------------
$scope
.
selectOne
=
function
()
{
$scope
.
checkedCompanyList
=
[];
...
...
atms-web/src/main/webapp/app/common/controls/import/import-cit-trial-balance/import-cit-trial-balance.html
View file @
7d051625
...
...
@@ -5,74 +5,81 @@
</div>
<!--导航栏-->
<div
id=
"tab_total"
>
<form
class=
"form-inline"
id=
"navigationForm"
name=
"navigationForm"
>
<div
class=
"form-group"
ng-style=
"setButtonWrapStyle()"
>
<div
class=
"import-wrapper"
>
<span
class=
"text-bold"
translate=
"SelectedOrganization"
></span>
:
<div
class=
"dropdown"
style=
"margin-left:10px"
>
<button
class=
"btn btn-default dropdown-toggle"
type=
"button"
id=
"dropdownMenu1"
data-toggle=
"dropdown"
aria-haspopup=
"true"
aria-expanded=
"true"
style=
"width: 200px;"
>
{{checkedCompanyTypeList ? ((checkedCompanyTypeList)|limitString:maxTitleLength):('PleaseSelect' | translate)}}
<span
class=
"caret"
style=
"float: right "
></span>
</button>
<ul
class=
"dropdown-menu"
style=
"width: 380px;"
aria-labelledby=
"dropdownMenu1"
>
<li><input
type=
"checkbox"
ng-model=
"selectedAll"
ng-change=
"selectAll()"
style=
"float: left;margin-left: 10px; margin-top: 7px; width: 15px"
checked
>
<span
style=
"margin-left:5px;float: left;"
>
全选
</span></li>
<li
role=
"separator"
class=
"divider"
style=
"height: 1px;margin: 9px 0;
<form
class=
"form-inline"
id=
"navigationForm"
name=
"navigationForm"
style=
"margin-top: 10px;"
>
<div
class=
"form-group"
>
<label
class=
"text-bold"
translate=
"SelectedOrganization"
style=
" top: -6px; position: relative;"
><span>
:
</span></label>
<div
dx-tag-box=
"selectOrgOptions"
style=
"display: inline-block;position: relative; top: 6px;"
></div>
</div>
<!--<span class="text-bold" translate="SelectedOrganization"></span>:
<div class="dropdown" style="margin-left:10px">
<button class="btn btn-default dropdown-toggle" type="button" id="dropdownMenu1"
data-toggle="dropdown" aria-haspopup="true" aria-expanded="true" style="width: 200px;">
{{checkedCompanyTypeList ? ((checkedCompanyTypeList)|limitString:maxTitleLength):('PleaseSelect' |
translate)}}
<span class="caret" style="float: right "></span>
</button>
<ul class="dropdown-menu" style="width: 380px;" aria-labelledby="dropdownMenu1">
<li><input type="checkbox" ng-model="selectedAll" ng-change="selectAll()"
style="float: left;margin-left: 10px; margin-top: 7px; width: 15px" checked>
<span style="margin-left:5px;float: left;">全选</span></li>
<li role="separator" class="divider" style="height: 1px;margin: 9px 0;
overflow: hidden;background-color: #e5e5e5;"></li>
<li
ng-repeat=
"i in companyList"
>
<div
class=
"checkbox-custom checkbox-default"
>
<input
type=
"checkbox"
ng-model=
"i.checked"
ng-change=
"selectOne()"
ng-checked=
"selectedOne"
style=
"float: left;margin-left: 10px; margin-top: 7px; width: 15px"
>
<span
style=
"margin-left:5px;text-align: left;float: left;"
>
{{i.name}}
</span>
</div>
</li>
</ul>
</div>
<span
class=
"text-bold"
translate=
"InvoiceQJ"
></span>
:
<div
class=
"period-picker"
style=
"margin-left:10px"
>
<input
type=
"text"
id=
"periodDatepicker"
class=
"datepicker imp-subheader"
style=
"width:120px;"
readonly=
"readonly"
ng-model=
"UploadPeriodTime"
/>
<i
class=
"fa fa-calendar imp-subheader red-color"
style=
"width:20px;"
></i>
<li ng-repeat="i in companyList">
<div class="checkbox-custom checkbox-default">
<input type="checkbox" ng-model="i.checked" ng-change="selectOne()"
ng-checked="selectedOne"
style="float: left;margin-left: 10px; margin-top: 7px; width: 15px">
<span style="margin-left:5px;text-align: left;float: left;">{{i.name}}</span>
</div>
</li>
</ul>
</div>-->
<div
class=
"form-group"
>
<span
class=
"text-bold"
translate=
"InvoiceQJ"
></span>
:
<div
class=
"period-picker"
style=
"display: inline-block;"
>
<input
type=
"text"
id=
"periodDatepicker"
class=
"datepicker form-control imp-subheader"
style=
"width:120px;"
readonly=
"readonly"
ng-model=
"UploadPeriodTime"
/>
<i
class=
"fa fa-calendar imp-subheader red-color"
style=
"width:20px;"
></i>
</div>
</div>
<div
ng-show=
"fileName"
style=
"display:inline-block"
>
<span
title=
"{{fileName}}"
>
{{'FileName' | translate}}{{fileName | limitString:20}}
</span>
</div>
<button
type=
"button"
ngf-select=
""
type=
"file"
ng-model=
"importExcelFile"
ngf-drag-over-class=
"'dragover'"
accept=
".xls,.xlsx"
ngf-multiple=
"false"
ngf-allow-dir=
"false"
class=
"btn btn-vat-third"
style=
"margin-right:10px;margin-left:30px"
>
{{'SelectFile' | translate}}
</button>
<button
type=
"button"
class=
"btn btn-vat-primary"
style=
"float:right; margin-right: 10px;margin-left: 30px;margin-top: 8px;"
translate=
"TemplateBtn"
ng-click=
"downloadTemplate()"
></button>
<button
type=
"button"
class=
"btn btn-vat-primary"
style=
"float:right; margin-right: 10px;margin-left: 30px;margin-top: 8px;"
translate=
"AddImportBtn"
ng-click=
"importFile(importEnum.AddImport)"
></button>
<button
type=
"button"
class=
"btn btn-vat-primary"
style=
"float:right; margin-right: 10px;margin-left: 30px;margin-top: 8px;"
translate=
"CoverImportBtn"
ng-click=
"importFile(importEnum.CoverImport)"
></button>
<div
class=
"btn-wrapper"
ng-if=
"!isShowImportTotalBtn"
>
<button
class=
"btn btn-vat-primary"
atms-permission
permission-control-type=
"ngIf"
permission-code=
"{{$root.vatPermission.dataImport.balanceSheet.importCode}}"
translate=
"ConverImportBtn"
ng-click=
"doUploadTbResult(importEnum.CoverImport)"
></button>
|
<button
class=
"btn btn-vat-primary"
atms-permission
permission-control-type=
"ngIf"
permission-code=
"{{$root.vatPermission.dataImport.balanceSheet.importCode}}"
translate=
"AddImportBtn"
ng-click=
"doUploadTbResult(importEnum.AddImport)"
></button>
<div
class=
"form-group"
>
<button
type=
"button"
ngf-select=
""
type=
"file"
ng-model=
"importExcelFile"
ngf-drag-over-class=
"'dragover'"
accept=
".xls,.xlsx"
ngf-multiple=
"false"
ngf-allow-dir=
"false"
class=
"btn btn-vat-third"
style=
"margin-top: 8px;"
>
{{'SelectFile' | translate}}
</button>
<button
type=
"button"
class=
"btn btn-vat-primary"
style=
"float:right; margin-right: 10px;margin-left: 30px;margin-top: 8px;"
translate=
"TemplateBtn"
ng-click=
"downloadTemplate()"
></button>
<button
type=
"button"
class=
"btn btn-vat-primary"
style=
"float:right; margin-right: 10px;margin-left: 30px;margin-top: 8px;"
translate=
"AddImportBtn"
ng-click=
"importFile(importEnum.AddImport)"
></button>
<button
type=
"button"
class=
"btn btn-vat-primary"
style=
"float:right; margin-right: 10px;margin-left: 30px;margin-top: 8px;"
translate=
"CoverImportBtn"
ng-click=
"importFile(importEnum.CoverImport)"
></button>
</div>
</div>
</div>
<div
class=
"form-group"
>
<div
class=
"btn-wrapper"
ng-if=
"!isShowImportTotalBtn"
>
<button
class=
"btn btn-vat-primary"
atms-permission
permission-control-type=
"ngIf"
permission-code=
"{{$root.vatPermission.dataImport.balanceSheet.importCode}}"
translate=
"ConverImportBtn"
ng-click=
"doUploadTbResult(importEnum.CoverImport)"
></button>
|
<button
class=
"btn btn-vat-primary"
atms-permission
permission-control-type=
"ngIf"
permission-code=
"{{$root.vatPermission.dataImport.balanceSheet.importCode}}"
translate=
"AddImportBtn"
ng-click=
"doUploadTbResult(importEnum.AddImport)"
></button>
</div>
</div>
<!--分页栏-->
<!--<div class="form-group page-form-group" ng-show="!fileName">
...
...
atms-web/src/main/webapp/app/common/controls/import/import-coupa-purchasing-report/import-coupa-purchasing-report.ctrl.js
View file @
7d051625
...
...
@@ -464,6 +464,19 @@
});
};
//-------------------------------------------------kevin insert begin ---------------------------------------------
var
exp
=
{
showDropDownButton
:
true
,
bindingOptions
:
{
value
:
'checkedCompanyCodeList'
,
dataSource
:
'companyList'
}
}
PWC
.
orgManySelect
(
$scope
,
$translate
,
exp
);
//-------------------------------------------------kevin insert end ---------------------------------------------
$scope
.
selectOne
=
function
()
{
$scope
.
checkedCompanyList
=
[];
angular
.
forEach
(
$scope
.
companyList
,
function
(
i
)
{
...
...
atms-web/src/main/webapp/app/common/controls/import/import-coupa-purchasing-report/import-coupa-purchasing-report.html
View file @
7d051625
...
...
@@ -9,11 +9,12 @@
</div>
<!--导航栏-->
<div
id=
"tab_total"
>
<form
class=
"form-inline"
id=
"navigationForm"
name=
"navigationForm"
>
<div
class=
"form-group"
ng-style=
"setButtonWrapStyle()"
style=
"margin-bottom: -38px; width: 100%;"
>
<div
class=
"import-wrapper"
>
<div
class=
"col-sm-6 leftNav"
style=
"width: 60%;"
>
<span
class=
"text-bold"
translate=
"SelectedOrganization"
></span>
:
<form
class=
"form-inline"
id=
"navigationForm"
name=
"navigationForm"
style=
"margin-top: 10px;"
>
<div
class=
"form-group"
>
<label
class=
"text-bold"
translate=
"SelectedOrganization"
style=
" top: -6px; position: relative;"
><span>
:
</span></label>
<div
dx-tag-box=
"selectOrgOptions"
style=
"display: inline-block;position: relative; top: 6px;"
></div>
</div>
<!--<span class="text-bold" translate="SelectedOrganization"></span>:
<div class="dropdown" style="margin-left:10px">
<button class="btn btn-default dropdown-toggle" style="width:200px;" type="button"
id="dropdownMenu1" data-toggle="dropdown" aria-haspopup="true" aria-expanded="true">
...
...
@@ -35,34 +36,33 @@
</div>
</li>
</ul>
</div>-->
<div
class=
"form-group"
>
<label
class=
"text-bold"
translate=
"InvoiceQJ"
><span>
:
</span></label>
<div
class=
"period-picker"
style=
"display: inline-block;"
>
<input
type=
"text"
id=
"periodDatepicker"
class=
"datepicker form-control imp-subheader"
style=
"width:120px;"
readonly=
"readonly"
ng-model=
"UploadPeriodTime"
/>
<i
class=
"fa fa-calendar imp-subheader red-color"
style=
"width:20px;"
></i>
</div>
<div
ng-show=
"fileNameShow"
style=
"display:inline-block"
>
<span
title=
"{{fileName}}"
>
{{'FileName' | translate}}{{fileName | limitString:20}}
</span>
</div>
</div>
<span
class=
"text-bold"
translate=
"InvoiceQJ"
></span>
:
<div
class=
"period-picker"
style=
"margin-left:10px"
>
<input
type=
"text"
id=
"periodDatepicker"
class=
"datepicker imp-subheader"
style=
"width:120px;"
readonly=
"readonly"
ng-model=
"UploadPeriodTime"
/>
<i
class=
"fa fa-calendar imp-subheader red-color"
style=
"width:20px;"
></i>
</div>
<div
ng-show=
"fileNameShow"
style=
"display:inline-block"
>
<span
title=
"{{fileName}}"
>
{{'FileName' | translate}}{{fileName | limitString:20}}
</span>
</div>
</div>
<div
class=
"col-sm-6 rightNav"
style=
"width: 40%;margin-top: 10px;"
>
<button
type=
"button"
ngf-select=
""
type=
"file"
ng-model=
"importExcelFile"
ngf-drag-over-class=
"'dragover'"
accept=
".xls,.xlsx"
ngf-multiple=
"false"
ngf-allow-dir=
"false"
class=
"btn btn-vat-third"
>
{{'SelectFile' | translate}}
</button>
<button
type=
"button"
class=
"btn btn-vat-primary"
translate=
"TemplateBtn"
ng-click=
"downloadTemplate()"
></button>
<button
type=
"button "
class=
"btn btn-vat-primary topButton"
translate=
"AddImportBtn"
ng-click=
"doUploadCPR(importEnum.AddImport)"
></button>
<button
type=
"button"
class=
"btn btn-vat-primary topButton"
translate=
"CoverImportBtn"
ng-click=
"doUploadCPR(importEnum.CoverImport)"
></button>
<div
class=
"form-group"
>
<button
type=
"button"
ngf-select=
""
type=
"file"
ng-model=
"importExcelFile"
ngf-drag-over-class=
"'dragover'"
accept=
".xls,.xlsx"
ngf-multiple=
"false"
ngf-allow-dir=
"false"
class=
"btn btn-vat-third"
>
{{'SelectFile' | translate}}
</button>
<button
type=
"button"
class=
"btn btn-vat-primary"
translate=
"TemplateBtn"
ng-click=
"downloadTemplate()"
></button>
<button
type=
"button "
class=
"btn btn-vat-primary topButton"
translate=
"AddImportBtn"
ng-click=
"doUploadCPR(importEnum.AddImport)"
></button>
<button
type=
"button"
class=
"btn btn-vat-primary topButton"
translate=
"CoverImportBtn"
ng-click=
"doUploadCPR(importEnum.CoverImport)"
></button>
</div>
<div
class=
"btn-wrapper"
ng-if=
"!isShowImportTotalBtn"
>
<button
class=
"btn btn-vat-primary topButton"
atms-permission
permission-control-type=
"ngIf"
permission-code=
"{{$root.vatPermission.dataImport.balanceSheet.importCode}}"
...
...
@@ -72,9 +72,6 @@
permission-code=
"{{$root.vatPermission.dataImport.balanceSheet.importCode}}"
translate=
"AddImportBtn"
ng-click=
"doUploadTbResult(importEnum.AddImport)"
></button>
</div>
</div>
</div>
</div>
</form>
<div
class=
"dt-init-wrapper"
>
...
...
atms-web/src/main/webapp/app/common/controls/import/import-invoice-data/import-invoice-data.ctrl.js
View file @
7d051625
...
...
@@ -384,7 +384,18 @@
var
initPagingControl
=
function
(
totalItemsCount
)
{
$scope
.
pagingOptions
.
totalItems
=
totalItemsCount
;
};
//-------------------------------------------------kevin insert begin ---------------------------------------------
var
exp
=
{
showDropDownButton
:
true
,
bindingOptions
:
{
value
:
'checkedCompanyCodeList'
,
dataSource
:
'companyList'
}
}
PWC
.
orgManySelect
(
$scope
,
$translate
,
exp
);
//-------------------------------------------------kevin insert end ---------------------------------------------
$scope
.
selectOne
=
function
()
{
$scope
.
checkedCompanyList
=
[];
angular
.
forEach
(
$scope
.
companyList
,
function
(
i
)
{
...
...
atms-web/src/main/webapp/app/common/controls/import/import-invoice-data/import-invoice-data.html
View file @
7d051625
...
...
@@ -8,12 +8,12 @@
</div>
<!--导航栏-->
<div
id=
"tab_total"
>
<form
class=
"form-inline"
id=
"navigationForm"
name=
"navigationForm"
>
<div
class=
"form-group"
ng-style=
"setButtonWrapStyle()"
style=
"width: 100%; margin-bottom: -38px;
"
>
<div
class=
"import-wrapper"
>
<div
class=
"row"
>
<
div
class=
"col-sm-6 leftNav "
style=
"width: 60%;"
>
<span
class=
"text-bold"
translate=
"SelectedOrganization"
></span>
:
<form
class=
"form-inline"
id=
"navigationForm"
name=
"navigationForm"
style=
"margin-top: 10px;"
>
<div
class=
"form-group
"
>
<label
class=
"text-bold"
translate=
"SelectedOrganization"
style=
" top: -6px; position: relative;"
><span>
:
</span></label
>
<div
dx-tag-box=
"selectOrgOptions"
style=
"display: inline-block;"
></div
>
<
/div
>
<!--
<span class="text-bold" translate="SelectedOrganization"></span>:
<div class="dropdown" style="margin-left:10px">
<button class="btn btn-default dropdown-toggle" type="button" id="dropdownMenu1"
data-toggle="dropdown" aria-haspopup="true" aria-expanded="true" style="width: 200px;">
...
...
@@ -35,38 +35,33 @@
</div>
</li>
</ul>
</div>-->
<div
class=
"form-group"
>
<span
class=
"text-bold"
translate=
"InvoiceQJ"
></span>
:
<div
class=
"period-picker"
style=
"display: inline-block"
>
<input
type=
"text"
id=
"periodDatepicker"
class=
" form-control datepicker imp-subheader"
style=
"width:120px;"
readonly=
"readonly"
ng-model=
"UploadPeriodTime"
/>
<i
class=
"fa fa-calendar imp-subheader red-color"
style=
"width:20px;"
></i>
</div>
<div
ng-show=
"fileName"
style=
"display:inline-block"
>
<span
title=
"{{fileName}}"
>
{{'FileName' | translate}}{{fileName | limitString:20}}
</span>
</div>
</div>
<span
class=
"text-bold"
translate=
"InvoiceQJ"
></span>
:
<div
class=
"period-picker"
style=
"margin-left:10px"
>
<input
type=
"text"
id=
"periodDatepicker"
class=
"datepicker imp-subheader"
style=
"width:120px;"
readonly=
"readonly"
ng-model=
"UploadPeriodTime"
/>
<i
class=
"fa fa-calendar imp-subheader red-color"
style=
"width:20px;"
></i>
</div>
<div
ng-show=
"fileName"
style=
"display:inline-block"
>
<span
title=
"{{fileName}}"
>
{{'FileName' | translate}}{{fileName | limitString:20}}
</span>
<div
class=
"form-group"
>
<button
type=
"button"
ngf-select=
""
type=
"file"
ng-model=
"importExcelFile"
ngf-drag-over-class=
"'dragover'"
accept=
".xls,.xlsx"
ngf-multiple=
"false"
ngf-allow-dir=
"false"
class=
"btn btn-vat-third"
>
{{'SelectFile' | translate}}
</button>
<button
type=
"button"
class=
"btn btn-vat-primary"
translate=
"TemplateBtn"
ng-click=
"downloadTemplate()"
></button>
<button
type=
"button"
class=
"btn btn-vat-primary topButton"
translate=
"CoverImportBtn"
ng-click=
"doUploadID(importEnum.CoverImport)"
></button>
</div>
</div>
<div
class=
"col-sm-6 rightNav"
style=
"width: 40%; margin-top: 10px;"
>
<button
type=
"button"
ngf-select=
""
type=
"file"
ng-model=
"importExcelFile"
ngf-drag-over-class=
"'dragover'"
accept=
".xls,.xlsx"
ngf-multiple=
"false"
ngf-allow-dir=
"false"
class=
"btn btn-vat-third"
>
{{'SelectFile' | translate}}
</button>
<button
type=
"button"
class=
"btn btn-vat-primary"
translate=
"TemplateBtn"
ng-click=
"downloadTemplate()"
></button>
<!--<button type="button"
class="btn btn-vat-primary" style="float:right; margin-right: 10px;margin-left: 30px;margin-top: 8px;"
translate="AddImportBtn"
ng-click="doUploadID(importEnum.AddImport)"></button>-->
<button
type=
"button"
class=
"btn btn-vat-primary topButton"
translate=
"CoverImportBtn"
ng-click=
"doUploadID(importEnum.CoverImport)"
></button>
<div
class=
"btn-wrapper"
ng-if=
"!isShowImportTotalBtn"
>
<button
class=
"btn btn-vat-primary topButton"
atms-permission
permission-control-type=
"ngIf"
...
...
@@ -76,11 +71,7 @@
<button
class=
"btn btn-vat-primary topButton"
atms-permission
permission-control-type=
"ngIf"
permission-code=
"{{$root.vatPermission.dataImport.balanceSheet.importCode}}"
translate=
"AddImportBtn"
ng-click=
"doUploadTbResult(importEnum.AddImport)"
></button>
</div>
</div>
</div>
</div>
</div>
</div>
</form>
<div
class=
"dt-init-wrapper"
>
...
...
atms-web/src/main/webapp/app/common/controls/import/import-invoice-record/import-invoice-record.ctrl.js
View file @
7d051625
...
...
@@ -419,6 +419,19 @@
}
};
//-------------------------------------kevin insert begin -------------------------------------------
var
exp
=
{
showDropDownButton
:
true
,
bindingOptions
:
{
value
:
'checkedCompanyCodeList'
,
dataSource
:
'companyList'
}
}
PWC
.
orgManySelect
(
$scope
,
$translate
,
exp
);
//-------------------------------------kevin insert end -------------------------------------------
$scope
.
selectOne
=
function
()
{
$scope
.
checkedCompanyList
=
[];
angular
.
forEach
(
$scope
.
companyList
,
function
(
i
)
{
...
...
atms-web/src/main/webapp/app/common/controls/import/import-invoice-record/import-invoice-record.html
View file @
7d051625
...
...
@@ -8,11 +8,12 @@
</div>
<!--导航栏-->
<div
id=
"tab_total"
>
<form
class=
"form-inline"
id=
"navigationForm"
name=
"navigationForm"
>
<div
class=
"form-group"
ng-style=
"setButtonWrapStyle()"
style=
"width: 100%; margin-bottom: -38px;"
>
<div
class=
"import-wrapper"
>
<div
class=
"row"
>
<div
class=
"col-sm-6 col-xs-6 col-lg-6 leftNav"
style=
"width: 60%;"
>
<form
class=
"form-inline"
id=
"navigationForm"
name=
"navigationForm"
style=
"margin-top: 10px;"
>
<div
class=
"form-group"
>
<label
class=
"text-bold"
translate=
"SelectedOrganization"
style=
" top: -6px; position: relative;"
><span>
:
</span></label>
<div
dx-tag-box=
"selectOrgOptions"
style=
"display: inline-block;"
></div>
</div>
<!-- <div class="col-sm-6 col-xs-6 col-lg-6 leftNav" style="width: 60%;">
<span class="text-bold" translate="SelectedOrganization"></span>:
<div class="dropdown" style="margin-left:10px">
<button class="btn btn-default dropdown-toggle" type="button" id="dropdownMenu1"
...
...
@@ -36,41 +37,42 @@
</li>
</ul>
</div>
</div>-->
<div
class=
"form-group"
>
<span
class=
"text-bold"
translate=
"InvoiceQJ"
></span>
:
<div
class=
"period-picker"
style=
"
margin-left:10px
"
>
<input
type=
"text"
id=
"periodDatepicker"
class=
"datepicker imp-subheader"
style=
"width:120px;"
<div
class=
"period-picker"
style=
"
display: inline-block
"
>
<input
type=
"text"
id=
"periodDatepicker"
class=
"datepicker
form-control
imp-subheader"
style=
"width:120px;"
readonly=
"readonly"
ng-model=
"UploadPeriodTime"
/>
<i
class=
"fa fa-calendar imp-subheader red-color"
style=
"width:20px;"
></i>
</div>
</div>
<div
class=
"form-group"
>
<div
ng-show=
"fileNameShow"
style=
"display:inline-block"
>
<span
title=
"{{fileName}}"
>
{{'FileName' | translate}}{{fileName | limitString:20}}
</span>
</div>
</div>
<div
class=
"
col-sm-6 col-xs-6 col-lg-6 rightNav"
style=
"width: 40%; margin-top: 10px"
>
<button
type=
"button"
ngf-select=
""
type=
"file"
ng-model=
"importExcelFile"
ngf-drag-over-class=
"'dragover'"
accept=
".xls,.xlsx"
ngf-multiple=
"false"
ngf-allow-dir=
"false"
class=
"btn btn-vat-third"
>
{{'SelectFile' | translate}}
</button>
<button
type=
"button"
class=
"btn btn-vat-primary"
translate=
"TemplateBtn"
ng-click=
"downloadTemplate()"
></button>
<div
class=
"
form-group"
>
<button
type=
"button"
ngf-select=
""
type=
"file"
ng-model=
"importExcelFile"
ngf-drag-over-class=
"'dragover'"
accept=
".xls,.xlsx"
ngf-multiple=
"false"
ngf-allow-dir=
"false"
class=
"btn btn-vat-third"
>
{{'SelectFile' | translate}}
</button>
<button
type=
"button"
class=
"btn btn-vat-primary"
translate=
"TemplateBtn"
ng-click=
"downloadTemplate()"
></button>
<button
type=
"button"
class=
"btn btn-vat-primary topButton
"
translate=
"AddImportBtn"
ng-click=
"doUploadIR(importEnum.AddImport)"
></button>
<button
type=
"button"
class=
"btn btn-vat-primary
"
translate=
"AddImportBtn"
ng-click=
"doUploadIR(importEnum.AddImport)"
></button>
<button
type=
"button"
class=
"btn btn-vat-primary topButton
"
translate=
"CoverImportBtn"
ng-click=
"doUploadIR(importEnum.CoverImport)"
></button>
<button
type=
"button"
class=
"btn btn-vat-primary
"
translate=
"CoverImportBtn"
ng-click=
"doUploadIR(importEnum.CoverImport)"
></button>
</div>
</div>
</div>
</div>
</form>
<div
class=
"dt-init-wrapper"
>
...
...
atms-web/src/main/webapp/app/common/controls/import/import-profit-loss/import-profit-loss.ctrl.js
View file @
7d051625
...
...
@@ -459,7 +459,18 @@
}
});
};
//-------------------------------------------------kevin insert begin ---------------------------------------------
var
exp
=
{
showDropDownButton
:
true
,
bindingOptions
:
{
value
:
'checkedCompanyCodeList'
,
dataSource
:
'companyList'
}
}
PWC
.
orgManySelect
(
$scope
,
$translate
,
exp
);
//-------------------------------------------------kevin insert end ---------------------------------------------
$scope
.
selectOne
=
function
()
{
$scope
.
checkedCompanyList
=
[];
...
...
atms-web/src/main/webapp/app/common/controls/import/import-profit-loss/import-profit-loss.html
View file @
7d051625
...
...
@@ -2,88 +2,91 @@
<!--标题-->
<div
class=
"nav-wrapper"
>
<div
class=
"nav-header"
translate=
"ProfitLossTitle"
></div>
<div
class=
"alert alert-warning"
style=
"width:400px;margin-bottom:5px;"
ng-show=
"ImportErrorTab"
ng-click=
"toggleErrorTab()"
>
<div
class=
"alert alert-warning"
style=
"width:400px;margin-bottom:5px;"
ng-show=
"ImportErrorTab"
ng-click=
"toggleErrorTab()"
>
<i
class=
"fa fa-exclamation-circle"
aria-hidden=
"true"
></i>
{{errorMsg}}
</div>
</div>
<!--导航栏-->
<div
id=
"tab_total"
>
<form
class=
"form-inline"
id=
"navigationForm"
name=
"navigationForm"
>
<div
class=
"form-group"
ng-style=
"setButtonWrapStyle()"
style=
"width: 100%;margin-bottom: -38px;"
>
<div
class=
"import-wrapper"
>
<div
class=
"row"
>
<div
class=
"col-sm-6 leftNav"
style=
"width: 60%;"
>
<span
class=
"text-bold"
translate=
"SelectedOrganization"
></span>
:
<div
class=
"dropdown"
style=
"margin-left:10px"
>
<button
class=
"btn btn-default dropdown-toggle"
type=
"button"
id=
"dropdownMenu1"
data-toggle=
"dropdown"
aria-haspopup=
"true"
aria-expanded=
"true"
style=
"width: 200px;"
>
{{checkedCompanyTypeList ? ((checkedCompanyTypeList)|limitString:maxTitleLength):('PleaseSelect' | translate)}}
<span
class=
"caret"
style=
"float: right "
></span>
</button>
<ul
class=
"dropdown-menu"
style=
"width: 380px;"
aria-labelledby=
"dropdownMenu1"
>
<li><input
type=
"checkbox"
ng-model=
"selectedAll"
ng-change=
"selectAll()"
style=
"float: left;margin-left: 10px; margin-top: 7px; width: 15px"
checked
>
<span
style=
"margin-left:5px;float: left;"
>
全选
</span></li>
<li
role=
"separator"
class=
"divider"
style=
"height: 1px;margin: 9px 0;
<form
class=
"form-inline"
id=
"navigationForm"
name=
"navigationForm"
style=
"margin-top: 10px;"
>
<div
class=
"form-group"
>
<label
class=
"text-bold"
translate=
"SelectedOrganization"
style=
" top: -6px; position: relative;"
><span>
:
</span></label>
<div
dx-tag-box=
"selectOrgOptions"
style=
"display: inline-block;position: relative; top: 6px;"
></div>
</div>
<!-- <span class="text-bold" translate="SelectedOrganization"></span>:
<div class="dropdown" style="margin-left:10px">
<button class="btn btn-default dropdown-toggle" type="button" id="dropdownMenu1"
data-toggle="dropdown" aria-haspopup="true" aria-expanded="true" style="width: 200px;">
{{checkedCompanyTypeList ? ((checkedCompanyTypeList)|limitString:maxTitleLength):('PleaseSelect' |
translate)}}
<span class="caret" style="float: right "></span>
</button>
<ul class="dropdown-menu" style="width: 380px;" aria-labelledby="dropdownMenu1">
<li><input type="checkbox" ng-model="selectedAll" ng-change="selectAll()"
style="float: left;margin-left: 10px; margin-top: 7px; width: 15px" checked>
<span style="margin-left:5px;float: left;">全选</span></li>
<li role="separator" class="divider" style="height: 1px;margin: 9px 0;
overflow: hidden;background-color: #e5e5e5;"></li>
<li
ng-repeat=
"i in companyList"
>
<div
class=
"checkbox-custom checkbox-default"
>
<input
type=
"checkbox"
ng-model=
"i.checked"
ng-change=
"selectOne()"
ng-checked=
"selectedOne"
style=
"float: left;margin-left: 10px; margin-top: 7px; width: 15px"
>
<span
style=
"margin-left:5px;text-align: left;float: left;"
>
{{i.name}}
</span>
</div>
</li>
</ul>
</div>
<span
class=
"text-bold"
translate=
"InvoiceQJ"
></span>
:
<div
class=
"period-picker"
style=
"margin-left:10px"
>
<input
type=
"text"
id=
"periodDatepicker"
class=
"datepicker imp-subheader"
style=
"width:120px;"
readonly=
"readonly"
ng-model=
"UploadPeriodTime"
/>
<i
class=
"fa fa-calendar imp-subheader red-color"
style=
"width:20px;"
></i>
</div>
<div
ng-show=
"fileName"
style=
"display:inline-block"
>
<span
title=
"{{fileName}}"
>
{{'FileName' | translate}}{{fileName | limitString:20}}
</span>
</div>
<li ng-repeat="i in companyList">
<div class="checkbox-custom checkbox-default">
<input type="checkbox" ng-model="i.checked" ng-change="selectOne()"
ng-checked="selectedOne"
style="float: left;margin-left: 10px; margin-top: 7px; width: 15px">
<span style="margin-left:5px;text-align: left;float: left;">{{i.name}}</span>
</div>
<div
class=
"col-sm-6 rightNav"
style=
"width: 40%; margin-top: 10px;"
>
<button
type=
"button"
ngf-select=
""
type=
"file"
ng-model=
"importExcelFile"
ngf-drag-over-class=
"'dragover'"
accept=
".xls,.xlsx"
ngf-multiple=
"false"
ngf-allow-dir=
"false"
class=
"btn btn-vat-third"
>
{{'SelectFile' | translate}}
</button>
<button
type=
"button"
class=
"btn btn-vat-primary"
translate=
"TemplateBtn"
ng-click=
"downloadTemplate()"
></button>
<!-- <button type="button"
class="btn btn-vat-primary" style="float:right; margin-right: 10px;margin-left: 30px;margin-top: 8px;"
translate="AddImportBtn"
ng-click="doUploadPL(importEnum.AddImport)"></button>-->
<button
type=
"button"
class=
"btn btn-vat-primary topButton"
translate=
"CoverImportBtn"
ng-click=
"doUploadPL(importEnum.CoverImport)"
></button>
</li>
</ul>
</div>-->
<div
class=
"form-group"
>
<span
class=
"text-bold"
translate=
"InvoiceQJ"
></span>
:
<div
class=
"period-picker"
style=
"display: inline-block"
>
<input
type=
"text"
id=
"periodDatepicker"
class=
"datepicker imp-subheader form-control"
style=
"width:120px;"
readonly=
"readonly"
ng-model=
"UploadPeriodTime"
/>
<i
class=
"fa fa-calendar imp-subheader red-color"
style=
"width:20px;"
></i>
</div>
<div
ng-show=
"fileName"
style=
"display:inline-block"
>
<span
title=
"{{fileName}}"
>
{{'FileName' | translate}}{{fileName | limitString:20}}
</span>
</div>
</div>
<div
class=
"form-group"
>
<button
type=
"button"
ngf-select=
""
type=
"file"
ng-model=
"importExcelFile"
ngf-drag-over-class=
"'dragover'"
accept=
".xls,.xlsx"
ngf-multiple=
"false"
ngf-allow-dir=
"false"
class=
"btn btn-vat-third"
>
{{'SelectFile' | translate}}
</button>
<button
type=
"button"
class=
"btn btn-vat-primary"
translate=
"TemplateBtn"
ng-click=
"downloadTemplate()"
></button>
<!-- <button type="button"
class="btn btn-vat-primary" style="float:right; margin-right: 10px;margin-left: 30px;margin-top: 8px;"
translate="AddImportBtn"
ng-click="doUploadPL(importEnum.AddImport)"></button>-->
<button
type=
"button"
class=
"btn btn-vat-primary "
translate=
"CoverImportBtn"
ng-click=
"doUploadPL(importEnum.CoverImport)"
></button>
</div>
<div
class=
"btn-wrapper"
ng-if=
"!isShowImportTotalBtn
"
>
<button
class=
"btn topButton btn-vat-primary"
atms-permission
permission-control-type=
"ngIf"
permission-code=
"{{$root.vatPermission.dataImport.balanceSheet.importCode}}
"
translate=
"ConverImportBtn
"
ng-click=
"doUploadTbResult(importEnum.CoverImport)"
></button>
|
<button
class=
" topButton btn btn-vat-primary"
atms-permission
permission-control-type=
"ngIf"
permission-code=
"{{$root.vatPermission.dataImport.balanceSheet.importCode}}"
translate=
"AddImportBtn"
ng-click=
"doUploadTbResult(importEnum.AddImport)"
></button>
</div>
</div
>
<div
class=
"form-group
"
>
<div
class=
"btn-wrapper"
ng-if=
"!isShowImportTotalBtn"
>
<button
class=
"btn btn-vat-primary"
atms-permission
permission-control-type=
"ngIf
"
permission-code=
"{{$root.vatPermission.dataImport.balanceSheet.importCode}}
"
translate=
"ConverImportBtn"
ng-click=
"doUploadTbResult(importEnum.CoverImport)"
></button>
|
<button
class=
" btn btn-vat-primary"
atms-permission
permission-control-type=
"ngIf"
permission-code=
"{{$root.vatPermission.dataImport.balanceSheet.importCode}}"
translate=
"AddImportBtn"
ng-click=
"doUploadTbResult(importEnum.AddImport)"
></button
>
</div>
</div>
</div>
</form>
<div
class=
"dt-init-wrapper"
>
<div
class=
"dx-viewport grid-container"
>
<div
id=
"importPLStatusGridContainer"
dx-data-grid=
"importPLStatusGridOptions"
...
...
@@ -100,7 +103,9 @@
<script
type=
"text/ng-template"
id=
"tb-model-period-dropdown.html"
class=
"tb-model-period-dropdow-popup"
>
<
div
class
=
"modal-header"
>
<
div
class
=
"modal-title"
style
=
"margin-bottom:10px"
>
{{
remarksTitle
}}
<
i
class
=
"fa fa-times"
aria
-
hidden
=
"true"
style
=
"float: right; font-size: 11px; color: #CF2D1B"
ng
-
click
=
"closePeriodSelectModal()"
><
/i
>
{{
remarksTitle
}}
<
i
class
=
"fa fa-times"
aria
-
hidden
=
"true"
style
=
"float: right; font-size: 11px; color: #CF2D1B"
ng
-
click
=
"closePeriodSelectModal()"
><
/i
>
<
/div
>
<
/div
>
<
div
class
=
"modal-body"
>
...
...
atms-web/src/main/webapp/app/common/controls/import/import-red-letter-info-table/import-red-letter-info-table.ctrl.js
View file @
7d051625
...
...
@@ -230,33 +230,18 @@
};
/------------------------------------------kevin insert -----------------------------------------/
//机构下拉设置
$scope
.
selectOrgOptions
=
{
displayExpr
:
'name'
,
valueExpr
:
'id'
,
width
:
'95%'
,
bindingOptions
:
{
value
:
'checkedCompanyCodeList'
,
dataSource
:
'companyList'
},
height
:
'30px'
,
placeholder
:
$translate
.
instant
(
'PleaseSelected'
),
showClearButton
:
true
,
searchEnabled
:
true
,
noDataText
:
$translate
.
instant
(
'RevenueNoOrgData'
),
showSelectionControls
:
true
};
//-------------------------------------------------kevin insert begin ---------------------------------------------
var
initCompanyList
=
function
()
{
orgService
.
getOrgListByUserId
().
success
(
function
(
data
)
{
if
(
data
)
{
$scope
.
companyList
=
data
;
}
});
};
var
exp
=
{
showDropDownButton
:
true
,
bindingOptions
:
{
value
:
'checkedCompanyCodeList'
,
dataSource
:
'companyList'
}
}
PWC
.
orgManySelect
(
$scope
,
$translate
,
exp
);
//-------------------------------------------------
-
---------------------------------------------
//-------------------------------------------------
kevin insert end
---------------------------------------------
var
getGridHeight
=
function
()
{
if
(
$scope
.
isLoadComplete
)
{
...
...
atms-web/src/main/webapp/app/common/controls/import/import-red-letter-info-table/import-red-letter-info-table.html
View file @
7d051625
...
...
@@ -65,11 +65,12 @@
</div>
</div>
</form>-->
<form
class=
"form-inline"
>
<div
class=
"form-group"
style=
"margin-bottom: -38px;width: 100%"
>
<div
class=
"import-wrapper"
>
<div
class=
"col-sm-6 leftNav"
style=
"width: 60%;"
>
<span
class=
"text-bold"
translate=
"SelectedOrganization"
></span>
:
<form
class=
"form-inline"
style=
"margin-top: 10px;"
>
<div
class=
"form-group"
>
<label
class=
"text-bold"
translate=
"SelectedOrganization"
style=
" top: -6px; position: relative;"
><span>
:
</span></label>
<div
dx-tag-box=
"selectOrgOptions"
style=
"display: inline-block;"
></div>
</div>
<!-- <span class="text-bold" translate="SelectedOrganization"></span>:
<div class="dropdown" style="margin-left:10px">
<button class="btn btn-default dropdown-toggle" style="width: 200px;" type="button"
id="dropdownMenu1" data-toggle="dropdown" aria-haspopup="true" aria-expanded="true" style="width: 200px;">
...
...
@@ -91,13 +92,15 @@
</div>
</li>
</ul>
</div>
<span
class=
"text-bold"
translate=
"InvoiceQJ"
></span>
:
<div
class=
"period-picker"
style=
"margin-left:10px"
>
<input
type=
"text"
id=
"periodDatepicker"
class=
"datepicker imp-subheader"
style=
"width:120px;"
readonly=
"readonly"
ng-model=
"UploadPeriodTime"
/>
<i
class=
"fa fa-calendar imp-subheader red-color"
style=
"width:20px;"
></i>
</div>
</div>-->
<div
class=
"form-group"
>
<span
class=
"text-bold"
translate=
"InvoiceQJ"
></span>
:
<div
class=
"period-picker"
style=
"display: inline-block"
>
<input
type=
"text"
id=
"periodDatepicker"
class=
"datepicker form-control imp-subheader"
style=
"width:120px;"
readonly=
"readonly"
ng-model=
"UploadPeriodTime"
/>
<i
class=
"fa fa-calendar imp-subheader red-color"
style=
"width:20px;"
></i>
</div>
</div>
<!-- <label class="col-sm-2 control-label marTop">{{'SelectedOrganization' | translate}}:</label>
<div class="col-sm-5 marTop">
<div dx-tag-box="selectOrgOptions" style="position: relative; left: 33px;"></div>
...
...
@@ -108,24 +111,22 @@
readonly="readonly" ng-model="UploadPeriodTime"/>
<i class="fa fa-calendar imp-subheader red-color" style=" position: relative; right: relative; right: -100px; top: -26px;"></i>
</div> -->
</div>
<div
class=
"col-sm-6 rightNav"
style=
"margin-top: 10px; width: 40%"
>
<button
type=
"button"
ngf-select=
""
type=
"file"
ng-model=
"importExcelFile"
ngf-drag-over-class=
"'dragover'"
accept=
".xls,.xlsx"
ngf-multiple=
"false"
ngf-allow-dir=
"false"
class=
"btn btn-vat-third"
>
{{'SelectFile' | translate}}
</button>
<span
ng-show=
"fileName"
class=
"marTop"
title=
"{{fileName}}"
>
{{'FileName' | translate}}{{fileName | limitString:10}}
</span>
<button
type=
"button"
class=
"btn btn-vat-primary"
translate=
"TemplateBtn"
ng-click=
"downloadTemplate()"
></button>
<button
type=
"button"
class=
"btn btn-vat-primary topButton"
translate=
"CoverImportBtn"
ng-click=
"doUploadRLIT(importEnum.CoverImport)"
></button>
<button
type=
"button"
class=
"btn btn-vat-primary topButton"
translate=
"AddImportBtn"
ng-click=
"doUploadRLIT(importEnum.AddImport)"
></button>
</div>
</div>
</div>
<div
class=
"form-group"
>
<button
type=
"button"
ngf-select=
""
type=
"file"
ng-model=
"importExcelFile"
ngf-drag-over-class=
"'dragover'"
accept=
".xls,.xlsx"
ngf-multiple=
"false"
ngf-allow-dir=
"false"
class=
"btn btn-vat-third"
>
{{'SelectFile' | translate}}
</button>
<span
ng-show=
"fileName"
class=
"marTop"
title=
"{{fileName}}"
>
{{'FileName' | translate}}{{fileName | limitString:10}}
</span>
<button
type=
"button"
class=
"btn btn-vat-primary"
translate=
"TemplateBtn"
ng-click=
"downloadTemplate()"
></button>
<button
type=
"button"
class=
"btn btn-vat-primary "
translate=
"CoverImportBtn"
ng-click=
"doUploadRLIT(importEnum.CoverImport)"
></button>
<button
type=
"button"
class=
"btn btn-vat-primary "
translate=
"AddImportBtn"
ng-click=
"doUploadRLIT(importEnum.AddImport)"
></button>
</div>
</form>
<div
class=
"dt-init-wrapper"
>
...
...
atms-web/src/main/webapp/app/common/utils/pwc-util.js
View file @
7d051625
...
...
@@ -51,8 +51,8 @@
if
(
!
Number
.
prototype
.
formatAmount
)
{
Number
.
prototype
.
formatAmount
=
function
(
decPlaces
,
type
)
{
if
(
type
)
{
return
Number
(
decPlaces
.
toFixed
(
2
));
if
(
type
)
{
return
Number
(
decPlaces
.
toFixed
(
2
));
}
decPlaces
=
isNaN
(
decPlaces
=
Math
.
abs
(
decPlaces
))
?
2
:
decPlaces
;
var
n
=
this
.
toFixed
(
decPlaces
);
...
...
@@ -132,9 +132,11 @@
}
s
=
a
.
join
(
""
).
replace
(
new
RegExp
(
"(
\\
d+)(
\\
d{"
+
d
+
"})
\\
d$"
),
"$1.$2"
);
}
if
(
b
)
s
=
s
.
substr
(
1
);
}
if
(
b
)
s
=
s
.
substr
(
1
);
return
(
pm
+
s
).
replace
(
/
\.
$/
,
""
);
}
return
this
+
""
;
}
return
this
+
""
;
};
...
...
@@ -324,7 +326,7 @@
}
value
=
new
String
(
value
);
for
(
var
i
=
0
,
zeros
=
''
;
i
<
(
length
-
value
.
length
)
;
i
++
)
{
for
(
var
i
=
0
,
zeros
=
''
;
i
<
(
length
-
value
.
length
);
i
++
)
{
zeros
+=
'0'
;
}
return
zeros
+
value
;
...
...
@@ -402,8 +404,18 @@
if
(
!
Date
.
prototype
.
dateAdd
)
{
Date
.
prototype
.
dateAdd
=
function
(
interval
,
number
)
{
var
d
=
this
;
var
k
=
{
'y'
:
'FullYear'
,
'q'
:
'Month'
,
'm'
:
'Month'
,
'w'
:
'Date'
,
'd'
:
'Date'
,
'h'
:
'Hours'
,
'n'
:
'Minutes'
,
's'
:
'Seconds'
,
'ms'
:
'MilliSeconds'
};
var
n
=
{
'q'
:
3
,
'w'
:
7
};
var
k
=
{
'y'
:
'FullYear'
,
'q'
:
'Month'
,
'm'
:
'Month'
,
'w'
:
'Date'
,
'd'
:
'Date'
,
'h'
:
'Hours'
,
'n'
:
'Minutes'
,
's'
:
'Seconds'
,
'ms'
:
'MilliSeconds'
};
var
n
=
{
'q'
:
3
,
'w'
:
7
};
eval
(
'd.set'
+
k
[
interval
]
+
'(d.get'
+
k
[
interval
]
+
'()+'
+
((
n
[
interval
]
||
1
)
*
number
)
+
')'
);
return
d
;
};
...
...
@@ -915,7 +927,9 @@
}
// Sort object keys
data
=
_
.
chain
(
data
).
pairs
().
sortBy
(
function
(
x
)
{
return
x
[
0
];
}).
value
();
data
=
_
.
chain
(
data
).
pairs
().
sortBy
(
function
(
x
)
{
return
x
[
0
];
}).
value
();
// Build new object
data
=
_
.
object
.
apply
(
_
,
_
.
zip
.
apply
(
_
,
data
));
...
...
@@ -947,7 +961,9 @@
var
chineseStr
=
''
;
//分离金额后用的数组,预定义
var
parts
;
if
(
money
==
''
)
{
return
''
;
}
if
(
money
==
''
)
{
return
''
;
}
money
=
parseFloat
(
money
);
if
(
money
>=
maxNum
)
{
//超出最大处理数字
...
...
@@ -1034,7 +1050,9 @@
var
chineseStr
=
''
;
//分离金额后用的数组,预定义
var
parts
;
if
(
money
==
''
)
{
return
''
;
}
if
(
money
==
''
)
{
return
''
;
}
money
=
parseFloat
(
money
);
if
(
money
>=
maxNum
)
{
//超出最大处理数字
...
...
@@ -1128,9 +1146,10 @@
},
{});
}
});
};
}
;
PWC
.
warning
=
function
(
title
,
text
,
callback
)
{
PWC
.
warning
=
function
(
title
,
text
,
callback
)
{
swal
({
title
:
title
,
text
:
text
,
...
...
@@ -1144,7 +1163,7 @@
},
callback
);
};
PWC
.
alert
=
function
(
title
,
text
,
callback
)
{
PWC
.
alert
=
function
(
title
,
text
,
callback
)
{
swal
({
title
:
title
,
text
:
text
,
...
...
@@ -1160,7 +1179,7 @@
};
/------------------------------------------------kevin insert -----------------------------------/
PWC
.
downloadCallBack
=
function
(
data
,
status
,
headers
,
fileName
)
{
PWC
.
downloadCallBack
=
function
(
data
,
status
,
headers
,
fileName
)
{
var
octetStreamMime
=
'application/octet-stream'
;
var
contentType
=
headers
(
'content-type'
)
||
octetStreamMime
;
if
(
window
.
navigator
.
msSaveBlob
)
{
...
...
@@ -1183,7 +1202,38 @@
a
.
click
();
}
}
}
};
/**
* @param scope angular 作用域
* @param translate 翻译器
*这里指定 dataSource 为 companyList
*/
PWC
.
orgManySelect
=
function
(
scope
,
translate
,
exp
)
{
var
dataSource
=
"companyList"
;
var
bindValue
=
"formParam.orgIds"
;
scope
.
selectOrgOptions
=
{
displayExpr
:
'name'
,
valueExpr
:
'id'
,
width
:
function
()
{
return
window
.
innerWidth
/
4.5
;
},
bindingOptions
:
{
value
:
bindValue
,
dataSource
:
dataSource
},
height
:
'35px'
,
placeholder
:
translate
.
instant
(
'PleaseSelected'
),
showClearButton
:
true
,
searchEnabled
:
true
,
noDataText
:
translate
.
instant
(
'RevenueNoOrgData'
),
showSelectionControls
:
true
,
visible
:
true
,
deferRendering
:
false
};
if
(
exp
)
_
.
extend
(
scope
.
selectOrgOptions
,
exp
);
};
/*-----------------------------------------------------------------------------------------*/
})(
window
)
\ No newline at end of file
atms-web/src/main/webapp/app/dataImport/data-extraction/extract-invoice-data/extract-invoice-data.ctrl.js
View file @
7d051625
...
...
@@ -29,7 +29,6 @@
$scope
.
selectedPeriod
=
null
;
$scope
.
showTotalSecondRow
=
false
;
$scope
.
maxTitleLength
=
constant
.
maxButtonTitleLength
;
$scope
.
companyList
=
[];
$scope
.
checkedCompanyList
=
[];
$scope
.
checkedCompanyCodeList
=
[];
...
...
@@ -52,8 +51,6 @@
$scope
.
importExcelFile
=
null
;
$scope
.
UploadPeriodTime
=
null
;
//写日志
var
logDto
=
{
ID
:
''
,
...
...
@@ -288,6 +285,9 @@
ele1
.
datepicker
(
"setDate"
,
$scope
.
selectedDate
);
};
//-------------------------------------kevin insert begin -------------------------------------------
var
initCompanyList
=
function
()
{
orgService
.
getOrgListByUserId
().
success
(
function
(
data
)
{
if
(
data
)
{
...
...
@@ -295,7 +295,36 @@
}
});
};
var
exp
=
{
showDropDownButton
:
true
,
bindingOptions
:
{
value
:
'checkedCompanyCodeList'
,
dataSource
:
'companyList'
}
}
PWC
.
orgManySelect
(
$scope
,
$translate
,
exp
);
$scope
.
selectDataType
=
{
displayExpr
:
'type'
,
valueExpr
:
'code'
,
width
:
function
()
{
return
window
.
innerWidth
/
4.5
;
},
bindingOptions
:
{
value
:
'checkedFileCodeList'
,
dataSource
:
'fileTypeList'
},
height
:
'30px'
,
placeholder
:
$translate
.
instant
(
'PleaseSelected'
),
showClearButton
:
true
,
searchEnabled
:
true
,
noDataText
:
$translate
.
instant
(
'RevenueNoOrgData'
),
showSelectionControls
:
true
,
visible
:
true
,
deferRendering
:
false
};
//-------------------------------------kevin insert end -------------------------------------------
$scope
.
selectOne
=
function
()
{
$scope
.
checkedCompanyList
=
[];
angular
.
forEach
(
$scope
.
companyList
,
function
(
i
)
{
...
...
atms-web/src/main/webapp/app/dataImport/data-extraction/extract-invoice-data/extract-invoice-data.html
View file @
7d051625
...
...
@@ -8,10 +8,8 @@
</div>
<!--导航栏-->
<div
id=
"tab_total"
>
<form
class=
"form-inline"
id=
"navigationForm"
name=
"navigationForm"
>
<div
class=
"form-group"
ng-style=
"setButtonWrapStyle()"
>
<div
class=
"import-wrapper"
>
<span
class=
"text-bold"
translate=
"SelectedOrganization"
></span>
:
<form
class=
"form-inline"
id=
"navigationForm"
name=
"navigationForm"
style=
"margin-top: 10px;"
>
<!--<span class="text-bold" translate="SelectedOrganization"></span>:
<div class="dropdown" style="margin-left:10px">
<button class="btn btn-default dropdown-toggle" type="button" id="dropdownMenu1"
data-toggle="dropdown" aria-haspopup="true" aria-expanded="true" style="width: 220px;">
...
...
@@ -33,43 +31,53 @@
</div>
</li>
</ul>
</div>-->
<div
class=
"form-group"
style=
" margin-top: 5px;"
>
<label
class=
"control-label"
translate=
"SelectedOrganization"
style=
"position: relative; top: -9px;"
>
:
</label>
<div
dx-tag-box=
"selectOrgOptions"
style=
"display: inline-block; width: 300px!important;"
></div>
</div>
<span
class=
"text-bold"
translate=
"InvoiceQJ"
></span>
:
<div
class=
"period-picker"
style=
"margin-left:10px"
>
<input
type=
"text"
id=
"periodDatepicker"
class=
"datepicker imp-subheader"
style=
"width:80px;"
readonly=
"readonly"
ng-model=
"UploadPeriodTime"
/>
<i
class=
"fa fa-calendar imp-subheader red-color"
style=
"width:20px;"
></i>
<div
class=
"form-group"
>
<label
class=
"control-label"
translate=
"InvoiceQJ"
></label>
:
<div
class=
"period-picker"
style=
"margin-left:10px; display: inline-block"
>
<input
type=
"text"
id=
"periodDatepicker"
class=
"datepicker imp-subheader form-control"
readonly=
"readonly"
ng-model=
"UploadPeriodTime"
/>
<i
class=
"fa fa-calendar imp-subheader red-color"
style=
"width:20px;"
></i>
</div>
</div>
<span
class=
"text-bold"
translate=
"SelectedDataType"
></span>
:
<div
class=
"dropdown"
style=
"margin-left:10px"
>
<button
class=
"btn btn-default dropdown-toggle"
type=
"button"
id=
"dropdownMenu2"
data-toggle=
"dropdown"
aria-haspopup=
"true"
aria-expanded=
"true"
style=
"width: 180px;"
>
{{checkedFileTypeList ? ((checkedFileTypeList)|limitString:maxTitleLength):('PleaseSelect' | translate)}}
<span
class=
"caret"
style=
"float: right "
></span>
</button>
<ul
class=
"dropdown-menu"
style=
"width: 180px;"
aria-labelledby=
"dropdownMenu2"
>
<li><input
type=
"checkbox"
ng-model=
"selectedAllFileType"
ng-change=
"selectAllFile()"
style=
"float: left;margin-left: 10px; margin-top: 7px; width: 15px"
checked
>
<span
style=
"margin-left:5px;float: left;"
>
全选
</span></li>
<li
role=
"separator"
class=
"divider"
style=
"height: 1px;margin: 9px 0;
<div
class=
"form-group"
>
<label
class=
"text-bold"
translate=
"SelectedDataType"
style=
" position: relative; top: -5px;"
>
:
</label>
<!-- <div class="dropdown" style="margin-left:10px; display: inline-block">
<button class="btn btn-default dropdown-toggle" type="button" id="dropdownMenu2"
data-toggle="dropdown" aria-haspopup="true" aria-expanded="true" style="width: 180px;">
{{checkedFileTypeList ? ((checkedFileTypeList)|limitString:maxTitleLength):('PleaseSelect' | translate)}}
<span class="caret" style="float: right "></span>
</button>
<ul class="dropdown-menu" style="width: 180px;" aria-labelledby="dropdownMenu2">
<li><input type="checkbox" ng-model="selectedAllFileType" ng-change="selectAllFile()"
style="float: left;margin-left: 10px; margin-top: 7px; width: 15px" checked>
<span style="margin-left:5px;float: left;">全选</span></li>
<li role="separator" class="divider" style="height: 1px;margin: 9px 0;
overflow: hidden;background-color: #e5e5e5;"></li>
<li
ng-repeat=
"i in fileTypeList"
>
<div
class=
"checkbox-custom checkbox-default"
>
<input
type=
"checkbox"
ng-model=
"i.checked"
ng-change=
"selectOneFileType()"
ng-checked=
"selectedOneFile"
style=
"float: left;margin-left: 10px; margin-top: 7px; width: 15px"
>
<span
style=
"margin-left:5px;"
>
{{i.type}}
</span>
</div>
</li>
</ul>
<li ng-repeat="i in fileTypeList">
<div class="checkbox-custom checkbox-default">
<input type="checkbox" ng-model="i.checked" ng-change="selectOneFileType()"
ng-checked="selectedOneFile"
style="float: left;margin-left: 10px; margin-top: 7px; width: 15px">
<span style="margin-left:5px;">{{i.type}}</span>
</div>
</li>
</ul>
</div>-->
<div
dx-tag-box=
"selectDataType"
style=
"display: inline-block; position: relative; top: 5px;"
></div>
</div>
<button
type=
"button"
atms-permission
permission-control-type=
"ngIf"
permission-code=
"{{$root.vatPermission.dataImport.balanceSheet.importCode}}"
class=
"btn btn-vat-primary"
style=
"float:right; margin-right: 10px;margin-left: 30px;margin-top: 8px;
"
translate=
"ImportBtn
"
ng-click=
"callInvoiceApi()"
></button>
</div
>
</div>
<div
class=
"form-group"
>
<button
type=
"button"
atms-permission
permission-control-type=
"ngIf"
permission-code=
"{{$root.vatPermission.dataImport.balanceSheet.importCode}}
"
class=
"btn btn-vat-primary form-control
"
translate=
"ImportBtn"
ng-click=
"callInvoiceApi()"
></button
>
</div>
</form>
<div
class=
"dt-init-wrapper"
>
...
...
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