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
40568895
Commit
40568895
authored
Mar 26, 2020
by
孙亚楠
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dd
parent
17ea6ac2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
3 deletions
+5
-3
xggsve-order/app/base/db/models/order/obusinessmen.js
+1
-1
xggsve-order/app/base/service/impl/order/oorderstatusSve.js
+4
-2
No files found.
xggsve-order/app/base/db/models/order/obusinessmen.js
View file @
40568895
...
...
@@ -43,7 +43,7 @@ module.exports = function (db, DataTypes) {
cost_rate
:
{
type
:
DataTypes
.
INTEGER
,
field
:
'cost_rate'
,
allowNull
:
true
,
defaultValue
:
0
,
comment
:
'核定成本费用率'
},
tax_rate
:
{
type
:
DataTypes
.
INTEGER
,
field
:
'tax_rate'
,
allowNull
:
true
,
defaultValue
:
0
,
comment
:
'含税价百分比'
},
add_value_up_type
:
{
type
:
DataTypes
.
STRING
,
field
:
'add_value_up_type'
,
allowNull
:
true
,
defaultValue
:
'1'
,
comment
:
'增值税累计类型 1按月 2按季度'
},
tax_up_type
:
{
type
:
DataTypes
.
STRING
,
field
:
'tax_up_type'
,
allowNull
:
true
,
defaultValue
:
'1'
,
comment
:
'个税累计类型 1按月累计 2按
年累计
'
},
tax_up_type
:
{
type
:
DataTypes
.
STRING
,
field
:
'tax_up_type'
,
allowNull
:
true
,
defaultValue
:
'1'
,
comment
:
'个税累计类型 1按月累计 2按
季度
'
},
service_rate
:
{
type
:
DataTypes
.
INTEGER
,
field
:
'service_rate'
,
allowNull
:
true
,
defaultValue
:
0
,
comment
:
'服务费比例'
},
sign_notes
:
{
type
:
DataTypes
.
STRING
,
field
:
'sign_notes'
,
allowNull
:
true
,
defaultValue
:
''
,
comment
:
'签约备注'
},
sign_time
:
{
type
:
DataTypes
.
DATE
,
field
:
'sign_time'
,
allowNull
:
true
,
defaultValue
:
null
,
comment
:
'签约时间'
},
...
...
xggsve-order/app/base/service/impl/order/oorderstatusSve.js
View file @
40568895
...
...
@@ -877,7 +877,9 @@ class OorderstatusService extends ServiceBase {
if
(
!
params
.
status
)
{
return
system
.
getResult
(
null
,
`参数错误 状态码不能为空`
);
}
if
(
!
params
.
cost_rate
)
{
return
system
.
getResult
(
null
,
`参数错误 核定成本费用率不能为空`
);
}
if
(
!
params
.
common_tax_ladder
)
{
return
system
.
getResult
(
null
,
`参数错误 普票个税阶梯不能为空`
);
}
...
...
@@ -905,7 +907,7 @@ class OorderstatusService extends ServiceBase {
_obusinessmenProperty
.
add_value_up_type
=
this
.
trim
(
params
.
add_value_up_type
);
_obusinessmenProperty
.
tax_up_type
=
this
.
trim
(
params
.
tax_up_type
);
_obusinessmenProperty
.
cost_rate
=
this
.
trim
(
params
.
cost_rate
);
let
_order
=
params
.
_order
;
_obusinessmenProperty
.
id
=
_order
.
busi_id
;
let
orderProperty
=
{};
...
...
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