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
3958de66
Commit
3958de66
authored
Aug 17, 2020
by
王勇飞
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fi-tax bizopt api
parent
f53ad064
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
8 deletions
+11
-8
tx-fi-tax/app/base/controller/impl/bizchance/bizoptCtl.js
+5
-2
tx-fi-tax/app/base/db/impl/bizchance/bizoptDao.js
+6
-6
No files found.
tx-fi-tax/app/base/controller/impl/bizchance/bizoptCtl.js
View file @
3958de66
...
@@ -77,8 +77,11 @@ class BizOptCtl extends CtlBase {
...
@@ -77,8 +77,11 @@ class BizOptCtl extends CtlBase {
* @param req
* @param req
*/
*/
async
distribution
(
mobj
,
qobj
,
req
)
{
async
distribution
(
mobj
,
qobj
,
req
)
{
var
pobj
=
mobj
.
d
;
let
pobj
=
mobj
.
d
;
let
params
=
{
demandCodeList
:
[
"1"
,
"2"
,
"3"
],
//至少一个需求编号
salesman_id
:
"jdlfaj"
//唯一标识
}
}
}
/*根据商机编号获取商机详情*/
/*根据商机编号获取商机详情*/
...
...
tx-fi-tax/app/base/db/impl/bizchance/bizoptDao.js
View file @
3958de66
...
@@ -20,13 +20,13 @@ class BizoptDao extends Dao {
...
@@ -20,13 +20,13 @@ class BizoptDao extends Dao {
//不是来自平台前端查询
//不是来自平台前端查询
if
(
qobj
.
bizpath
&&
qobj
.
bizpath
.
indexOf
(
"pmx"
)
<
0
)
{
if
(
qobj
.
bizpath
&&
qobj
.
bizpath
.
indexOf
(
"pmx"
)
<
0
)
{
qc
.
where
.
business_type
=
qc
.
where
.
business_type
||
{
qc
.
where
.
business_type
=
qc
.
where
.
business_type
||
{
[
this
.
db
.
Op
.
notIn
]:
[
"ICP"
,
"EDI"
]
[
this
.
db
.
Op
.
In
]:
[
"ft"
]
}
if
(
qobj
.
bizpath
&&
qobj
.
bizpath
!=
""
)
{
if
(
qobj
.
bizpath
.
indexOf
(
"myChance"
)
>
0
)
{
//说明是从商机列表过来的
qw
[
"salesman_id"
]
=
qobj
.
userid
;
}
}
}
// if (qobj.bizpath && qobj.bizpath != "") {
// if (qobj.bizpath.indexOf("myChance") > 0) {//说明是从商机列表过来的
// qw["salesman_id"] = qobj.userid;
// }
// }
}
}
}
}
...
...
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