Commit 069b1535 by Sxy

fix: 平台查询

parent e9566905
...@@ -134,10 +134,10 @@ class BizOptCtl extends CtlBase { ...@@ -134,10 +134,10 @@ class BizOptCtl extends CtlBase {
if (pobj.businessMode && pobj.businessMode != 'undefined') { if (pobj.businessMode && pobj.businessMode != 'undefined') {
const data = await this.service.findOne({ const data = await this.service.findOne({
demand_code: pobj.businessMode, demand_code: pobj.businessMode,
facilitator_id: mobj.company_id, // facilitator_id: mobj.company_id,
}); });
if (!data) { if (!data) {
return system.getResultError('没有权限'); return system.getResultError('查不到此订单');
} }
try { try {
const res = await this.service.findInfoByDemandCode(pobj); const res = await this.service.findInfoByDemandCode(pobj);
......
...@@ -613,7 +613,7 @@ class DeliverybillCtl extends CtlBase { ...@@ -613,7 +613,7 @@ class DeliverybillCtl extends CtlBase {
} }
const data = await this.service.findOne({ const data = await this.service.findOne({
delivery_code: mobj.deliverNumber, delivery_code: mobj.deliverNumber,
facilitator_id: mobj.company_id, // facilitator_id: mobj.company_id,
}); });
if (data) { if (data) {
let result = []; let result = [];
......
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