Commit 9fd1c988 by 孙亚楠

dd

parent 63bc86f9
...@@ -85,6 +85,8 @@ class OrderCtl extends CtlBase { ...@@ -85,6 +85,8 @@ class OrderCtl extends CtlBase {
} }
} }
/** /**
* 分配业务员 * 分配业务员
* @param {*} pobj * @param {*} pobj
...@@ -110,6 +112,28 @@ class OrderCtl extends CtlBase { ...@@ -110,6 +112,28 @@ class OrderCtl extends CtlBase {
} }
} }
/**
* 分配业务员完成
* @param {*} pobj
* @param {*} pobj2
* @param {*} req
*/
async deliverAssignSalesmanComplete(pobj, pobj2, req) {
if (!pobj.id) {
return system.getResult(null, `参数错误 订单ID不能为空`);
}
if (!pobj.status) {
return system.getResult(null, `参数错误 订单状态不能为空`);
}
try {
return await this.orderSve.handleStatus(pobj);
} catch (error) {
console.log(error);
return system.getResult(null, `系统错误 错误信息 ${error}`);
}
}
/** /**
* 工商注册中 * 工商注册中
* @param {*} pobj * @param {*} pobj
......
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