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
393c7d7f
Commit
393c7d7f
authored
Sep 29, 2018
by
neo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[dev] add input and ouput page filed in vatjs
parent
7abe67ac
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
62 additions
and
62 deletions
+62
-62
vat.js
atms-web/src/main/webapp/bundles/vat.js
+62
-62
No files found.
atms-web/src/main/webapp/bundles/vat.js
View file @
393c7d7f
...
@@ -32295,19 +32295,19 @@ vatModule.controller('VatPreviewInputInvoiceController', ['$scope', '$log', '$tr
...
@@ -32295,19 +32295,19 @@ vatModule.controller('VatPreviewInputInvoiceController', ['$scope', '$log', '$tr
virtualizationThreshold
:
50
,
//默认加载50条数据,避免在数据展示时,只显示前面4条
virtualizationThreshold
:
50
,
//默认加载50条数据,避免在数据展示时,只显示前面4条
enableSorting
:
false
,
enableSorting
:
false
,
enableColumnMenus
:
false
,
enableColumnMenus
:
false
,
columnDefs
:
[
columnDefs
:
[
{
name
:
$translate
.
instant
(
'ImportErrorPopUpNoCol'
),
width
:
'7%'
,
cellTemplate
:
'<div class="ui-grid-cell-contents"><span>{{row.entity.index}}<span></div>'
},
{
name
:
$translate
.
instant
(
'ImportErrorPopUpNoCol'
),
width
:
'7%'
,
cellTemplate
:
'<div class="ui-grid-cell-contents"><span>{{row.entity.index}}<span></div>'
},
{
name
:
$translate
.
instant
(
'InvoiceQJ'
),
width
:
'10.5%'
,
cellTemplate
:
'<div class="ui-grid-cell-contents"><span>{{row.entity.periodID}}<span></div>'
},
{
name
:
$translate
.
instant
(
'InvoiceQJ'
),
width
:
'10.5%'
,
cellTemplate
:
'<div class="ui-grid-cell-contents"><span>{{row.entity.periodID}}<span></div>'
},
{
name
:
$translate
.
instant
(
'InvoiceKPRQ'
),
width
:
'10.5%'
,
cellTemplate
:
'<div class="ui-grid-cell-contents"><span>{{row.entity.invoiceDate
| date:"yyyy-MM-dd"}}<span></div>'
},
{
name
:
$translate
.
instant
(
'InvoiceKPRQ'
),
width
:
'10.5%'
,
cellTemplate
:
'<div class="ui-grid-cell-contents"><span>{{row.entity.kprq
| date:"yyyy-MM-dd"}}<span></div>'
},
{
name
:
$translate
.
instant
(
'InvoiceFPDM'
),
width
:
'10.5%'
,
cellTemplate
:
'<div class="ui-grid-cell-contents"><span title="{{row.entity.invoiceCode}}">{{row.entity.invoiceCode
}}</span></div>'
},
{
name
:
$translate
.
instant
(
'InvoiceFPDM'
),
width
:
'10.5%'
,
cellTemplate
:
'<div class="ui-grid-cell-contents"><span title="{{row.entity.fpdm}}">{{row.entity.fpdm
}}</span></div>'
},
{
name
:
$translate
.
instant
(
'InvoiceFPHM'
),
width
:
'10.5%'
,
cellTemplate
:
'<div class="ui-grid-cell-contents"><span title="{{row.entity.invoiceNumber}}">{{row.entity.invoiceNumber
}}</span></div>'
},
{
name
:
$translate
.
instant
(
'InvoiceFPHM'
),
width
:
'10.5%'
,
cellTemplate
:
'<div class="ui-grid-cell-contents"><span title="{{row.entity.fphm}}">{{row.entity.fphm
}}</span></div>'
},
{
name
:
$translate
.
instant
(
'InvoiceGHFSH'
),
width
:
'12%'
,
cellTemplate
:
'<div class="ui-grid-cell-contents"><span title="{{row.entity.sellerTaxNumber}}">{{row.entity.sellerTaxNumber
}}</span></div>'
},
{
name
:
$translate
.
instant
(
'InvoiceGHFSH'
),
width
:
'12%'
,
cellTemplate
:
'<div class="ui-grid-cell-contents"><span title="{{row.entity.xfsh}}">{{row.entity.xfsh
}}</span></div>'
},
{
name
:
$translate
.
instant
(
'InvoiceFPLX'
),
width
:
'10.5%'
,
cellTemplate
:
'<div class="ui-grid-cell-contents"><span title="{{row.entity.sellerTaxName}}">{{grid.appScope.typeToString(row.entity.invoiceType
)}}</span></div>'
},
{
name
:
$translate
.
instant
(
'InvoiceFPLX'
),
width
:
'10.5%'
,
cellTemplate
:
'<div class="ui-grid-cell-contents"><span title="{{row.entity.fplx}}">{{grid.appScope.typeToString(row.entity.fplx
)}}</span></div>'
},
{
name
:
$translate
.
instant
(
'InvoiceJE'
),
width
:
'10.5%'
,
cellTemplate
:
'<div class="ui-grid-cell-contents"><span>{{row.entity.amount
}}</span></div>'
},
{
name
:
$translate
.
instant
(
'InvoiceJE'
),
width
:
'10.5%'
,
cellTemplate
:
'<div class="ui-grid-cell-contents"><span>{{row.entity.hjje
}}</span></div>'
},
{
name
:
$translate
.
instant
(
'InvoiceSE'
),
width
:
'10.5%'
,
cellTemplate
:
'<div class="ui-grid-cell-contents"><span>{{row.entity.taxAmount
}}</span></div>'
},
{
name
:
$translate
.
instant
(
'InvoiceSE'
),
width
:
'10.5%'
,
cellTemplate
:
'<div class="ui-grid-cell-contents"><span>{{row.entity.hjse
}}</span></div>'
},
{
name
:
$translate
.
instant
(
'InvoiceRZRQ'
),
width
:
'10.5%'
,
cellTemplate
:
'<div class="ui-grid-cell-contents"><span>{{row.entity.certificationDate
| date:"yyyy-MM-dd"}}</span></div>'
},
{
name
:
$translate
.
instant
(
'InvoiceRZRQ'
),
width
:
'10.5%'
,
cellTemplate
:
'<div class="ui-grid-cell-contents"><span>{{row.entity.rzsj
| date:"yyyy-MM-dd"}}</span></div>'
},
{
name
:
$translate
.
instant
(
'InvoiceRZJG'
),
width
:
'10.5%'
,
cellTemplate
:
'<div class="ui-grid-cell-contents"><span>{{row.entity.certificationResult}}</span></div>'
}
{
name
:
$translate
.
instant
(
'InvoiceRZJG'
),
width
:
'10.5%'
,
cellTemplate
:
'<div class="ui-grid-cell-contents"><span>{{row.entity.certificationResult}}</span></div>'
}
],
],
onRegisterApi
:
function
(
gridApi
)
{
onRegisterApi
:
function
(
gridApi
)
{
$scope
.
gridApi
=
gridApi
;
$scope
.
gridApi
=
gridApi
;
...
@@ -32846,55 +32846,55 @@ vatModule.controller('vatPreviewOutputInvoiceController', ['$scope', '$log', '$t
...
@@ -32846,55 +32846,55 @@ vatModule.controller('vatPreviewOutputInvoiceController', ['$scope', '$log', '$t
//});
//});
$scope
.
gridOptionsColumnDefs
=
[
$scope
.
gridOptionsColumnDefs
=
[
{
{
name
:
$translate
.
instant
(
'ImportErrorPopUpNoCol'
),
width
:
'5%'
,
name
:
$translate
.
instant
(
'ImportErrorPopUpNoCol'
),
width
:
'5%'
,
cellTemplate
:
'<div class="ui-grid-cell-contents" ><span>{{row.entity.index}}<span></div>'
cellTemplate
:
'<div class="ui-grid-cell-contents" ><span>{{row.entity.index}}<span></div>'
},
},
{
{
name
:
$translate
.
instant
(
'PeriodId'
),
width
:
'5%'
,
name
:
$translate
.
instant
(
'PeriodId'
),
width
:
'5%'
,
cellTemplate
:
'<div class="ui-grid-cell-contents" title="{{row.entity.periodID}}"><span>{{row.entity.periodID}}<span></div>'
cellTemplate
:
'<div class="ui-grid-cell-contents" title="{{row.entity.periodID}}"><span>{{row.entity.periodID}}<span></div>'
},
},
{
{
name
:
$translate
.
instant
(
'InvoiceDate'
),
width
:
'10%'
,
name
:
$translate
.
instant
(
'InvoiceDate'
),
width
:
'10%'
,
cellTemplate
:
'<div class="ui-grid-cell-contents" ><span>{{row.entity.invoiceDate
| date:"yyyy-MM-dd"}}</span></div>'
cellTemplate
:
'<div class="ui-grid-cell-contents" ><span>{{row.entity.kprq
| date:"yyyy-MM-dd"}}</span></div>'
},
},
{
{
name
:
$translate
.
instant
(
'InvoiceType'
),
width
:
'10%'
,
name
:
$translate
.
instant
(
'InvoiceType'
),
width
:
'10%'
,
cellTemplate
:
'<div class="ui-grid-cell-contents" title="{{grid.appScope.typeToString(row.entity.invoiceType)}}"><span>{{grid.appScope.typeToString(row.entity.invoiceType
)}}<span></div>'
cellTemplate
:
'<div class="ui-grid-cell-contents" title="{{grid.appScope.typeToString(row.entity.fplxdm)}}"><span>{{grid.appScope.typeToString(row.entity.fplxdm
)}}<span></div>'
},
},
{
{
name
:
$translate
.
instant
(
'ClassCode'
),
width
:
'10%'
,
name
:
$translate
.
instant
(
'ClassCode'
),
width
:
'10%'
,
cellTemplate
:
'<div class="ui-grid-cell-contents" title="{{row.entity.classCode}}"><span>{{row.entity.classCode
}}<span></div>'
cellTemplate
:
'<div class="ui-grid-cell-contents" title="{{row.entity.fpdm}}"><span>{{row.entity.fpdm
}}<span></div>'
},
},
{
{
name
:
$translate
.
instant
(
'InvoiceNumber'
),
width
:
'10%'
,
name
:
$translate
.
instant
(
'InvoiceNumber'
),
width
:
'10%'
,
cellTemplate
:
'<div class="ui-grid-cell-contents" title="{{row.entity.invoiceNumber}}"><span>{{row.entity.invoiceNumber
}}</span></div>'
cellTemplate
:
'<div class="ui-grid-cell-contents" title="{{row.entity.fphm}}"><span>{{row.entity.fphm
}}</span></div>'
},
},
{
{
name
:
$translate
.
instant
(
'BuyerName'
),
width
:
'15%'
,
name
:
$translate
.
instant
(
'BuyerName'
),
width
:
'15%'
,
cellTemplate
:
'<div class="ui-grid-cell-contents" title="{{row.entity.buyerName}}"><span>{{row.entity.buyerName
}}</span></div>'
cellTemplate
:
'<div class="ui-grid-cell-contents" title="{{row.entity.gfmc}}"><span>{{row.entity.gfmc
}}</span></div>'
},
},
{
{
name
:
$translate
.
instant
(
'BuyerTaxNumber'
),
width
:
'15%'
,
name
:
$translate
.
instant
(
'BuyerTaxNumber'
),
width
:
'15%'
,
cellTemplate
:
'<div class="ui-grid-cell-contents" title="{{row.entity.buyerTaxNumber}}"><span>{{row.entity.buyerTaxNumber
}}</span></div>'
cellTemplate
:
'<div class="ui-grid-cell-contents" title="{{row.entity.gfsh}}"><span>{{row.entity.gfsh
}}</span></div>'
},
},
//{
//{
// name: $translate.instant('BankAccount'), width: '10%',
// name: $translate.instant('BankAccount'), width: '10%',
// cellTemplate: '<div class="ui-grid-cell-contents" title="{{row.entity.bankAccount}}"><span>{{row.entity.bankAccount}}</span></div>'
// cellTemplate: '<div class="ui-grid-cell-contents" title="{{row.entity.bankAccount}}"><span>{{row.entity.bankAccount}}</span></div>'
//},
//},
//{
//{
// name: $translate.instant('PhoneNum'), width: '8%',
// name: $translate.instant('PhoneNum'), width: '8%',
// cellTemplate: '<div class="ui-grid-cell-contents" title="{{row.entity.phoneNum}}"><span>{{row.entity.phoneNum}}</span></div>'
// cellTemplate: '<div class="ui-grid-cell-contents" title="{{row.entity.phoneNum}}"><span>{{row.entity.phoneNum}}</span></div>'
//},
//},
{
{
name
:
$translate
.
instant
(
'Amount'
),
width
:
'8%'
,
headerCellClass
:
'right'
,
name
:
$translate
.
instant
(
'Amount'
),
width
:
'8%'
,
headerCellClass
:
'right'
,
cellTemplate
:
'<div class="ui-grid-cell-contents right" title="{{row.entity.amount}}"><span>{{row.entity.amount
}}</span></div>'
cellTemplate
:
'<div class="ui-grid-cell-contents right" title="{{row.entity.hjje}}"><span>{{row.entity.hjje
}}</span></div>'
},
},
{
{
name
:
$translate
.
instant
(
'TaxAmount'
),
width
:
'8%'
,
headerCellClass
:
'right'
,
name
:
$translate
.
instant
(
'TaxAmount'
),
width
:
'8%'
,
headerCellClass
:
'right'
,
cellTemplate
:
'<div class="ui-grid-cell-contents right" title="{{row.entity.taxAmount}}"><span>{{row.entity.taxAmount
}}</span></div>'
cellTemplate
:
'<div class="ui-grid-cell-contents right" title="{{row.entity.hjse}}"><span>{{row.entity.hjse
}}</span></div>'
}
}
];
];
$scope
.
subGridOptionsColumnDefs
=
[
$scope
.
subGridOptionsColumnDefs
=
[
{
{
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