lrf402788946 hace 4 años
padre
commit
ac90d049ec
Se han modificado 2 ficheros con 2 adiciones y 3 borrados
  1. 2 2
      app/controller/order/.transport.js
  2. 0 1
      app/model/bill.js

+ 2 - 2
app/controller/order/.transport.js

@@ -48,7 +48,7 @@ module.exports = {
         no: "%no%",
         owner: "owner",
         supply_type: "supply_type",
-        client: "client",
+        client: "supplier.client",
         "send_time@start": "send_time@start",
         "send_time@end": "send_time@end",
         "sign_time@start": "sign_time@start",
@@ -73,7 +73,7 @@ module.exports = {
         owner: "owner",
         principal: "principal",
         client: "supplier.client",
-        car_no:"supplier.car_no",
+        car_no: "supplier.car_no",
         "date@start": "create_time@start",
         "date@end": "create_time@end",
         is_js: "is_js",

+ 0 - 1
app/model/bill.js

@@ -27,7 +27,6 @@ const Bill = {
 
 const schema = new Schema(Bill, { toJSON: { virtuals: true } });
 schema.index({ id: 1 });
-
 schema.plugin(metaPlugin);
 
 module.exports = app => {