lrf 2 år sedan
förälder
incheckning
b6867c1581
1 ändrade filer med 1 tillägg och 1 borttagningar
  1. 1 1
      app/service/trade/afterSale.js

+ 1 - 1
app/service/trade/afterSale.js

@@ -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 });
       }