|
@@ -55,7 +55,7 @@ class AfterSaleService extends CrudService {
|
|
|
// 2022-10-17 需求8:标记处理售后的人
|
|
|
if (entity.status === '0' && update.status !== '0') {
|
|
|
// 将状态从 审核中 变为不是 审核中的操作人
|
|
|
- const admin = this.ctx.Admin;
|
|
|
+ const admin = this.ctx.admin;
|
|
|
if (!admin) throw new BusinessError(ErrorCode.DATA_INVALID, '未找到管理人员的信息,无法进行操作');
|
|
|
this.tran.update('AfterSale', entity._id, { deal_person: admin._id });
|
|
|
}
|