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
38a5bf85
Commit
38a5bf85
authored
Apr 19, 2019
by
zhkwei
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/dev_mysql' into dev_mysql
parents
f6a8c8e3
c15b2306
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
145 additions
and
3 deletions
+145
-3
DataImportErrorDto.java
.../java/pwc/taxtech/atms/dto/vatdto/DataImportErrorDto.java
+109
-0
DataImportResponseDto.java
...va/pwc/taxtech/atms/dto/vatdto/DataImportResponseDto.java
+24
-0
DataImportService.java
...java/pwc/taxtech/atms/service/impl/DataImportService.java
+0
-0
organization-manage.ctrl.js
...astructure/organizationManage/organization-manage.ctrl.js
+0
-1
import-certified-invoices-list.ctrl.js
...fied-invoices-list/import-certified-invoices-list.ctrl.js
+6
-1
import-invoice-record.ctrl.js
...mport/import-invoice-record/import-invoice-record.ctrl.js
+6
-1
No files found.
atms-api/src/main/java/pwc/taxtech/atms/dto/vatdto/DataImportErrorDto.java
0 → 100644
View file @
38a5bf85
package
pwc
.
taxtech
.
atms
.
dto
.
vatdto
;
import
com.alibaba.fastjson.annotation.JSONField
;
import
com.alibaba.fastjson.serializer.SerializerFeature
;
public
class
DataImportErrorDto
{
@JSONField
(
name
=
"行号"
)
private
Integer
cellLine
;
@JSONField
(
name
=
"发票类型"
)
private
String
invoiceType
;
@JSONField
(
name
=
"开票内容"
)
private
String
invoiceDetail
;
@JSONField
(
name
=
"开票主体"
)
private
String
org
;
@JSONField
(
name
=
"税率"
)
private
String
taxRate
;
@JSONField
(
name
=
"税额"
)
private
String
amountRate
;
@JSONField
(
name
=
"开票金额"
)
private
String
amount
;
@JSONField
(
name
=
"确认/认证日期"
)
private
String
confirmTime
;
@JSONField
(
name
=
"金额"
)
private
String
cilAmount
;
@JSONField
(
name
=
"Sheet"
)
private
Integer
sheet
;
public
Integer
getSheet
()
{
return
sheet
;
}
public
void
setSheet
(
Integer
sheet
)
{
this
.
sheet
=
sheet
;
}
public
String
getConfirmTime
()
{
return
confirmTime
;
}
public
void
setConfirmTime
(
String
confirmTime
)
{
this
.
confirmTime
=
confirmTime
;
}
public
String
getCilAmount
()
{
return
cilAmount
;
}
public
void
setCilAmount
(
String
cilAmount
)
{
this
.
cilAmount
=
cilAmount
;
}
public
Integer
getCellLine
()
{
return
cellLine
;
}
public
void
setCellLine
(
Integer
cellLine
)
{
this
.
cellLine
=
cellLine
;
}
public
String
getInvoiceType
()
{
return
invoiceType
;
}
public
void
setInvoiceType
(
String
invoiceType
)
{
this
.
invoiceType
=
invoiceType
;
}
public
String
getInvoiceDetail
()
{
return
invoiceDetail
;
}
public
void
setInvoiceDetail
(
String
invoiceDetail
)
{
this
.
invoiceDetail
=
invoiceDetail
;
}
public
String
getOrg
()
{
return
org
;
}
public
void
setOrg
(
String
org
)
{
this
.
org
=
org
;
}
public
String
getTaxRate
()
{
return
taxRate
;
}
public
void
setTaxRate
(
String
taxRate
)
{
this
.
taxRate
=
taxRate
;
}
public
String
getAmountRate
()
{
return
amountRate
;
}
public
void
setAmountRate
(
String
amountRate
)
{
this
.
amountRate
=
amountRate
;
}
public
String
getAmount
()
{
return
amount
;
}
public
void
setAmount
(
String
amount
)
{
this
.
amount
=
amount
;
}
}
atms-api/src/main/java/pwc/taxtech/atms/dto/vatdto/DataImportResponseDto.java
0 → 100644
View file @
38a5bf85
package
pwc
.
taxtech
.
atms
.
dto
.
vatdto
;
import
java.util.List
;
public
class
DataImportResponseDto
<
T
>
{
private
List
<
DataImportErrorDto
>
dataImportErrorDtos
;
private
List
<
T
>
objectList
;
public
List
<
DataImportErrorDto
>
getDataImportErrorDtos
()
{
return
dataImportErrorDtos
;
}
public
void
setDataImportErrorDtos
(
List
<
DataImportErrorDto
>
dataImportErrorDtos
)
{
this
.
dataImportErrorDtos
=
dataImportErrorDtos
;
}
public
List
<
T
>
getObjectList
()
{
return
objectList
;
}
public
void
setObjectList
(
List
<
T
>
objectList
)
{
this
.
objectList
=
objectList
;
}
}
atms-api/src/main/java/pwc/taxtech/atms/service/impl/DataImportService.java
View file @
38a5bf85
This diff is collapsed.
Click to expand it.
atms-web/src/main/webapp/app/admin/infrastructure/organizationManage/organization-manage.ctrl.js
View file @
38a5bf85
...
...
@@ -2150,7 +2150,6 @@
// TODO 将这个方法添加到切换功能里
$scope
.
updateOrgExtraCancel
=
function
()
{
$scope
.
selectCompanyExtra
=
$scope
.
comExtraOldData
;
$scope
.
selectCompanyExtra
.
unifiedSocialCreditCode
=
$scope
.
selectCompany
.
taxPayerNumber
;
$scope
.
editOrgExtraModel
=
$scope
.
editOldData
;
generalSelectCompanyExtraText
();
cancelWebChange
();
...
...
atms-web/src/main/webapp/app/common/controls/import/import-certified-invoices-list/import-certified-invoices-list.ctrl.js
View file @
38a5bf85
...
...
@@ -190,7 +190,12 @@
if
(
ret
.
result
)
{
logDto
.
UpdateState
=
$translate
.
instant
(
'ImportSuccess'
);
vatOperationLogService
.
addOperationLog
(
logDto
);
SweetAlert
.
success
(
$translate
.
instant
(
'ImportSuccess'
));
if
(
ret
.
resultMsg
){
swal
(
$translate
.
instant
(
'ImportSuccess'
),
ret
.
resultMsg
,
"warning"
);
//SweetAlert.warning(ret.resultMsg);
}
else
{
SweetAlert
.
success
(
$translate
.
instant
(
'ImportSuccess'
));
}
}
else
{
if
(
ret
.
resultMsg
&&
ret
.
resultMsg
.
length
>
0
)
{
SweetAlert
.
warning
(
$translate
.
instant
(
ret
.
resultMsg
));
...
...
atms-web/src/main/webapp/app/common/controls/import/import-invoice-record/import-invoice-record.ctrl.js
View file @
38a5bf85
...
...
@@ -197,7 +197,12 @@
if
(
ret
.
result
)
{
logDto
.
UpdateState
=
$translate
.
instant
(
'ImportSuccess'
);
vatOperationLogService
.
addOperationLog
(
logDto
);
SweetAlert
.
success
(
$translate
.
instant
(
'ImportSuccess'
));
if
(
ret
.
resultMsg
){
swal
(
$translate
.
instant
(
'ImportSuccess'
),
ret
.
resultMsg
,
"warning"
);
//SweetAlert.warning(ret.resultMsg);
}
else
{
SweetAlert
.
success
(
$translate
.
instant
(
'ImportSuccess'
));
}
$scope
.
fileNameShow
=
false
;
}
else
{
if
(
ret
.
resultMsg
&&
ret
.
resultMsg
.
length
>
0
)
{
...
...
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