Commit 8fee2980 by 蒋勇

d

parent a80eb7ea
......@@ -46,6 +46,9 @@ class BizOptCtl extends CtlBase {
robj.facilitator_name = element.facilitator_name;
robj.sourceName = element.source_name;//渠道来源
robj.salesman_name=element.salesman_name
robj.salesman_phone=element.salesman_phone
rarr.push(robj);
});
rs.results.rows = rarr;
......
......@@ -29,7 +29,7 @@ class DeliverybillDao extends Dao {
qw["facilitator_id"] = Number(qobj.company_id)
// 为空说明是管理员,不需设置组织结构过滤
if (qobj.opath && qobj.opath != "") {
qw["salesman_opcode"] = { [this.db.Op.like]:'%qobj.opath%'}
qw["salesman_opcode"] = { [this.db.Op.like]:`%${qobj.opath}%`}
}else{//说明是租户管理员,给租户自己核销结算的功能,
if (qobj.bizpath.indexOf("pmxdeliverrequest") > 0) {//说明是结算核销路由过来的
qw["delivery_status"] = "success";
......
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