lrf402788946 4 years ago
parent
commit
f59a2d902d
1 changed files with 4 additions and 4 deletions
  1. 4 4
      app/service/system/schedule.js

+ 4 - 4
app/service/system/schedule.js

@@ -86,10 +86,10 @@ class ScheduleService extends CrudService {
     const { label } = field;
     let to;
     // 车辆表的信息编辑
-    if (table === 'Car') to = data.car_no;
-    else if (table === 'Driver') to = data.name;
-    else if (table === 'Order') to = data.order_no;
-    else if (table === 'Treaty') to = data.number;
+    if (table === 'Car') to = `车牌号:${data.car_no}`;
+    else if (table === 'Driver') to = `司机:${data.name}`;
+    else if (table === 'Order') to = `订单号:${data.order_no}`;
+    else if (table === 'Treaty') to = `合同编号${data.number}`;
     const res = `${to}---- ${label} 于 ${_.get(
       data,
       colName