Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Z
zhichan
Overview
Overview
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
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
蒋勇
zhichan
Commits
01ae31e9
Commit
01ae31e9
authored
Nov 12, 2020
by
wangyong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: (servicebill) 磐农项目 服务单字段修改
parent
dae5f1e6
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
15 deletions
+11
-15
icp-deliver/app/base/service/impl/agriculture/servicebillSve.js
+11
-15
No files found.
icp-deliver/app/base/service/impl/agriculture/servicebillSve.js
View file @
01ae31e9
...
...
@@ -91,23 +91,19 @@ class ServicebillService extends ServiceBase {
return
data
;
}
mappingYDZ
(
findService
)
{
let
setData
=
{
custName
:
findService
.
contactName
,
//客户名称
corpName
:
findService
.
companyInfo
.
corpName
,
//企业名称
serviceTypeEnum
:
findService
.
companyInfo
.
serviceTypeEnum
,
// 服务类型:枚举型,包括ACCOUTING-记账服务、INDUSTRY_COMMERCE-工商服务、BOTH-记账与工商服务。
// taxiationArea: findService.companyInfo.taxiationArea, //报税地区
taxIndustryId
:
findService
.
companyInfo
.
taxIndustryId
,
//行业
taxNo
:
findService
.
companyInfo
.
taxNo
,
// 税号
taxClaimMethodEnum
:
findService
.
companyInfo
.
taxClaimMethodEnum
,
//申报方式:TAX_DECLARATION-税款申报;ZERO_DECLARATION-零申报;
accountantEmployeeId
:
findService
.
accountantAgentAccountId
,
//所属会计 易代账ID
isBuild
:
true
,
//是否建账
accountBook
:
{
name
:
findService
.
companyInfo
.
corpName
,
//账套名称
acctgSystemId
:
findService
.
companyInfo
.
acctgSystemId
,
//会计制度;包括:10001=2013小企业会计准则;10002=2007企业会计准则;10003=民间非营利组织会计制度;10004=工会会计制度
openingPeriod
:
`
${
moment
().
year
()}${
moment
().
month
()}
`
,
//开账期间 当年当月,格式是 “YYYYMM”
taxpayerTypeEnum
:
findService
.
companyInfo
.
taxpayerTypeEnum
,
//纳税性质,枚举包括:NORMAL_TAXPAYER=一般纳税人;SMALL_TAXPAYER=小规模纳税人
let
setData
=
{};
setData
.
accountBook
=
{};
for
(
let
key
in
findService
.
companyInfo
)
{
setData
[
key
]
=
findService
.
companyInfo
[
key
];
if
(
key
==
'acctgSystemId'
||
key
==
'taxpayerTypeEnum'
)
{
setData
.
accountBook
[
key
]
=
findService
.
companyInfo
[
key
];
}
}
setData
.
custName
=
findService
.
companyInfo
.
corpName
;
//客户名称
setData
.
accountantEmployeeId
=
findService
.
accountantAgentAccountId
;
//所属会计 易代账ID
setData
.
isBuild
=
true
;
setData
.
accountBook
.
name
=
findService
.
companyInfo
.
corpName
;
//账套名称
setData
.
accountBook
.
openingPeriod
=
`
${
moment
().
year
()}${
moment
().
month
()
+
1
}
`
;
//开账期间 当年当月,格式是 “YYYYMM”
return
setData
;
}
mappingSetToQiFuTong
(
setInfo
,
findService
)
{
...
...
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