Commit 48d442aa by 蒋勇

d

parent f373b023
......@@ -271,19 +271,20 @@ class AliHandler {
if (companyFind) {
obj.servicerCode = companyFind.id;
}
var deliveryInfo = await this.userService.getBizUserForAliDelivery(obj.baseInfo.contactsName, obj.servicerName, ConsultTypeName, obj.skuCode, obj.serviceName, companyFind);
//暂时不自动分配
// var deliveryInfo = await this.userService.getBizUserForAliDelivery(obj.baseInfo.contactsName, obj.servicerName, ConsultTypeName, obj.skuCode, obj.serviceName, companyFind);
} catch (error) {
console.log("分配交付员失败.", error);
}
if (deliveryInfo && deliveryInfo != 'undefined') {
obj.clerkOpcode = deliveryInfo.opath;//交付员opcode
obj.clerkId = deliveryInfo.userId;//交付员id
// obj.costPrice = deliveryInfo.cost;//成本
obj.clerkName = deliveryInfo.nickName;//交付员名称
// obj.clerkPhone = deliveryInfo.mobile;//交付人员电话
// obj.servicerCode = deliveryInfo.compId;
}
// if (deliveryInfo && deliveryInfo != 'undefined') {
// obj.clerkOpcode = deliveryInfo.opath;//交付员opcode
// obj.clerkId = deliveryInfo.userId;//交付员id
// // obj.costPrice = deliveryInfo.cost;//成本
// obj.clerkName = deliveryInfo.nickName;//交付员名称
// // obj.clerkPhone = deliveryInfo.mobile;//交付人员电话
// // obj.servicerCode = deliveryInfo.compId;
// }
//设置成本
obj.costPrice = await this.userService.findCostBySkuCode(obj.skuCode)
//异步更新需求状态 channelNeedNo
......
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