lrf402788946 hace 4 años
padre
commit
134cb0d7d1
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      app/service/order/transport.js

+ 1 - 1
app/service/order/transport.js

@@ -477,6 +477,7 @@ class TransportService extends CrudService {
     // console.log(lastData);
     const res = await this.ctx.service.util.excel.toExcel({ data: lastData });
     console.log(res);
+    return res;
 
   }
 
@@ -640,7 +641,6 @@ class TransportService extends CrudService {
         });
         if (r) return { key: r, value: _.get(i, r) };
       });
-      console.log(col);
       // 同一列满足以下条件可以合并:
       // 1,值相同;2数字连贯;3指定范围内
       // 先查范围