Commit e865b70e by Sxy

fix: ic商机 过滤产品

parent e94c6858
...@@ -20,7 +20,7 @@ class BizoptDao extends Dao { ...@@ -20,7 +20,7 @@ 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.notIn]: ["ICP", "EDI", "bookkeeping"]
} }
if (qobj.bizpath && qobj.bizpath != "") { if (qobj.bizpath && qobj.bizpath != "") {
if (qobj.bizpath.indexOf("myChance") > 0) {//说明是从商机列表过来的 if (qobj.bizpath.indexOf("myChance") > 0) {//说明是从商机列表过来的
...@@ -53,7 +53,7 @@ class BizoptDao extends Dao { ...@@ -53,7 +53,7 @@ class BizoptDao extends Dao {
} }
/*更新业务员信息*/ /*更新业务员信息*/
async updateSalesmanInfoByDemandCode(qobj,t){ async updateSalesmanInfoByDemandCode(qobj, t) {
var setobj = {}; var setobj = {};
if (qobj.salesmanId && qobj.salesmanId != 'undefined') { if (qobj.salesmanId && qobj.salesmanId != 'undefined') {
setobj.salesman_id = qobj.salesmanId; setobj.salesman_id = qobj.salesmanId;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment