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
f1a899c4
Commit
f1a899c4
authored
Jun 24, 2020
by
王勇飞
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gyq
parent
5f2dba7b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
center-manage/app/base/service/impl/common/channelhandlers/tx.js
+6
-0
No files found.
center-manage/app/base/service/impl/common/channelhandlers/tx.js
View file @
f1a899c4
...
@@ -150,9 +150,11 @@ class TxHandler {
...
@@ -150,9 +150,11 @@ class TxHandler {
else
{
else
{
//获取分配的业务员信息
//获取分配的业务员信息
var
ConsultTypeName
=
""
;
var
ConsultTypeName
=
""
;
console
.
log
(
"productTypeName-----------------------------"
+
datajson
.
actionBody
.
productTypeName
);
if
(
datajson
.
actionBody
.
productTypeName
&&
datajson
.
actionBody
.
productTypeName
!=
'undefined'
){
if
(
datajson
.
actionBody
.
productTypeName
&&
datajson
.
actionBody
.
productTypeName
!=
'undefined'
){
ConsultTypeName
=
datajson
.
actionBody
.
productTypeName
.
split
(
"/"
)[
2
];
ConsultTypeName
=
datajson
.
actionBody
.
productTypeName
.
split
(
"/"
)[
2
];
}
}
console
.
log
(
"ConsultTypeName-----------------------------"
+
ConsultTypeName
);
var
salesmanInfo
=
await
this
.
userService
.
getBizUserForDelivery
(
datajson
.
actionBody
.
orderSnapshot
.
contactsPhone
,
datajson
.
actionBody
.
servicerName
,
ConsultTypeName
,
datajson
.
actionBody
.
txPriceCode
,
datajson
.
actionBody
.
regionName
);
var
salesmanInfo
=
await
this
.
userService
.
getBizUserForDelivery
(
datajson
.
actionBody
.
orderSnapshot
.
contactsPhone
,
datajson
.
actionBody
.
servicerName
,
ConsultTypeName
,
datajson
.
actionBody
.
txPriceCode
,
datajson
.
actionBody
.
regionName
);
requrl
=
this
.
icUrl
+
"/deliverybillCtl/insertInfo"
;
requrl
=
this
.
icUrl
+
"/deliverybillCtl/insertInfo"
;
var
params
=
{
var
params
=
{
...
@@ -163,6 +165,7 @@ class TxHandler {
...
@@ -163,6 +165,7 @@ class TxHandler {
"businessType"
:
datajson
.
actionBody
.
productType
,
"businessType"
:
datajson
.
actionBody
.
productType
,
"businessName"
:
ConsultTypeName
,
"businessName"
:
ConsultTypeName
,
"skuCode"
:
datajson
.
actionBody
.
txPriceCode
,
"skuCode"
:
datajson
.
actionBody
.
txPriceCode
,
"txOrderNum"
:
datajson
.
actionBody
.
txOrderNum
,
"deliveryInfo"
:
{
"deliveryInfo"
:
{
"txOrderNum"
:
datajson
.
actionBody
.
txOrderNum
,
"txOrderNum"
:
datajson
.
actionBody
.
txOrderNum
,
"isAdviser"
:
"已分配"
,
//是否分配顾问
"isAdviser"
:
"已分配"
,
//是否分配顾问
...
@@ -231,6 +234,9 @@ class TxHandler {
...
@@ -231,6 +234,9 @@ class TxHandler {
if
(
datajson
.
actionBody
.
orderSnapshot
.
whetherType
&&
datajson
.
actionBody
.
orderSnapshot
.
whetherType
!=
'undefined'
)
{
if
(
datajson
.
actionBody
.
orderSnapshot
.
whetherType
&&
datajson
.
actionBody
.
orderSnapshot
.
whetherType
!=
'undefined'
)
{
params
.
deliveryInfo
.
whetherType
=
datajson
.
actionBody
.
orderSnapshot
.
whetherType
;
//刻章类型
params
.
deliveryInfo
.
whetherType
=
datajson
.
actionBody
.
orderSnapshot
.
whetherType
;
//刻章类型
}
}
if
(
datajson
.
actionBody
.
orderSnapshot
.
hasOwnProperty
(
"annualReport"
)){
//年报信息
params
.
deliveryInfo
.
annualReport
=
datajson
.
actionBody
.
orderSnapshot
.
annualReport
;
}
if
(
datajson
.
actionBody
.
orderSnapshot
.
hasOwnProperty
(
"addressType"
))
{
//注册地址类型
if
(
datajson
.
actionBody
.
orderSnapshot
.
hasOwnProperty
(
"addressType"
))
{
//注册地址类型
if
(
datajson
.
actionBody
.
orderSnapshot
.
addressType
)
{
if
(
datajson
.
actionBody
.
orderSnapshot
.
addressType
)
{
params
.
deliveryInfo
.
addressType
=
"practical"
;
params
.
deliveryInfo
.
addressType
=
"practical"
;
...
...
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