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
28502314
Commit
28502314
authored
Nov 04, 2020
by
宋毅
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tj
parent
80d78692
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
8 deletions
+8
-8
center-channel/app/base/service/impl/utilsSve/utilsOrderSve.js
+8
-8
No files found.
center-channel/app/base/service/impl/utilsSve/utilsOrderSve.js
View file @
28502314
...
...
@@ -58,7 +58,7 @@ class UtilsOrderService extends AppServiceBase {
pobj
.
actionBody
.
product_info
.
price_additions_item
=
price_list
[
additionsIndex
];
tmpPriceList
.
push
(
pobj
.
actionBody
.
product_info
.
price_additions_item
);
}
pobj
.
actionBody
.
price_list
=
tmpPriceList
;
pobj
.
actionBody
.
pr
oduct_info
.
pr
ice_list
=
tmpPriceList
;
return
system
.
getResultSuccess
();
}
/**
...
...
@@ -958,7 +958,7 @@ class UtilsOrderService extends AppServiceBase {
if
([
'icpsq'
,
'edisq'
].
includes
(
opOrderResult
.
data
.
product_info
.
channel_item_code
))
{
//创建方案
let
pushRet
=
await
this
.
packagingPushData
(
pobj
);
if
(
pushRet
.
status
!=
0
)
{
if
(
pushRet
.
status
!=
0
)
{
throw
new
Error
(
'推送失败'
)
}
pobj
.
actionBody
=
pushRet
.
data
;
...
...
@@ -979,18 +979,18 @@ class UtilsOrderService extends AppServiceBase {
}
//组装推送交付系统数据
async
packagingPushData
(
pobj
){
async
packagingPushData
(
pobj
)
{
let
ab
=
pobj
.
actionBody
;
pobj
.
actionType
=
'createSolution'
;
ab
.
bizId
=
ab
.
orderNo
;
let
channelSolutionNo
=
await
this
.
getBusUid
(
"NS"
);
ab
.
channelSolutionNo
=
channelSolutionNo
;
let
url
=
this
.
centerOrderUrl
+
"action/need/springBoard"
let
solutionRet
=
await
this
.
restPostUrl
(
pobj
,
url
);
if
(
solutionRet
.
status
!=
0
)
{
return
system
.
getResultFail
(
-
1
,
'创建方案失败'
)
let
solutionRet
=
await
this
.
restPostUrl
(
pobj
,
url
);
if
(
solutionRet
.
status
!=
0
)
{
return
system
.
getResultFail
(
-
1
,
'创建方案失败'
)
}
let
solution
=
{
let
solution
=
{
"source"
:
ab
.
appInfo
.
app_name
,
"IcpType"
:
ab
.
product_info
.
channel_item_code
,
"actionType"
:
"新办"
,
...
...
@@ -1001,7 +1001,7 @@ class UtilsOrderService extends AppServiceBase {
"channelTypeCode"
:
ab
.
product_info
.
service_business_code
,
"companyLocation"
:
ab
.
product_info
.
price_item
.
price_desc
}
let
needSolution
=
{
let
needSolution
=
{
"status"
:
"USER_PAY_PRODUCE"
,
"bizType"
:
ab
.
product_info
.
channel_item_code
,
"solution"
:
solution
,
...
...
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