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
3a630dbe
Commit
3a630dbe
authored
Nov 14, 2019
by
孙亚楠
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dd
parent
57d1dd64
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
3 deletions
+10
-3
xggsve-invoice/app/base/service/impl/invoice/applySve.js
+6
-1
xggsve-invoice/app/base/service/impl/invoice/delivererSve.js
+1
-0
xggsve-invoice/app/base/utils/invoiceRule/invoiceConfig.js
+3
-2
No files found.
xggsve-invoice/app/base/service/impl/invoice/applySve.js
View file @
3a630dbe
...
...
@@ -368,7 +368,9 @@ class ApplyService extends ServiceBase {
nowObj
.
remark
=
this
.
trim
(
""
);
nowObj
.
delivererId
=
this
.
trim
(
""
);
nowObj
.
isPay
=
0
;
nowObj
.
businessmenType
=
this
.
trim
(
_apply
.
businessmenType
);
nowObj
.
ruleCode
=
this
.
trim
(
_apply
.
ruleCode
);
nowObj
.
ruleParams
=
this
.
trim
(
_apply
.
ruleParams
);
let
res
=
await
this
.
db
.
transaction
(
async
(
t
)
=>
{
// 插入发票申请单
let
_nowObj
=
await
this
.
dao
.
create
(
nowObj
,
t
);
...
...
@@ -378,6 +380,9 @@ class ApplyService extends ServiceBase {
applyNo
:
_nowObj
.
applyNo
,
merchantId
:
_nowObj
.
merchantId
,
red_status
:
'1'
,
businessmenType
=
nowObj
.
businessmenType
,
ruleCode
=
nowObj
.
ruleCode
,
ruleParams
=
nowObj
.
ruleParams
},
t
);
// 源发票改为红冲办理中
...
...
xggsve-invoice/app/base/service/impl/invoice/delivererSve.js
View file @
3a630dbe
...
...
@@ -53,6 +53,7 @@ class DelivererService extends ServiceBase {
/**
* 申请列表(交付商)
* 注意:当前只有一个交付商,如果有多个交付商,则需要传入id 并且修改当前接口sql
* @param {*} params
*/
async
apiDelivererApplyInvoices
(
params
)
{
...
...
xggsve-invoice/app/base/utils/invoiceRule/invoiceConfig.js
View file @
3a630dbe
...
...
@@ -12,11 +12,11 @@ module.exports={
"10"
:{
MAX_AMOUNT
:
500000000
,
WARNING_AMOUNT
:
400000000
,
algorithm
Code
:
"10"
rule
Code
:
"10"
},
"20"
:{
MAX_AMOUNT
:
400000000
,
WARNING_AMOUNT
:
300000000
,
algorithm
Code
:
"10"
rule
Code
:
"10"
}
}
\ No newline at end of file
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