diff --git a/src/app/routes/order-management/components/bulk/bulk.component.ts b/src/app/routes/order-management/components/bulk/bulk.component.ts
index 9ece5560..4a454f33 100644
--- a/src/app/routes/order-management/components/bulk/bulk.component.ts
+++ b/src/app/routes/order-management/components/bulk/bulk.component.ts
@@ -175,7 +175,7 @@ export class OrderManagementBulkComponent implements OnInit {
             },
           }
         },
-        brandId2: {
+        payeeId: {
           title: '车队长',
           type: 'string',
           ui: {
diff --git a/src/app/routes/order-management/components/risk-detail/risk-detail.component.html b/src/app/routes/order-management/components/risk-detail/risk-detail.component.html
index 41ed6cad..095e3ab4 100644
--- a/src/app/routes/order-management/components/risk-detail/risk-detail.component.html
+++ b/src/app/routes/order-management/components/risk-detail/risk-detail.component.html
@@ -1,7 +1,7 @@
 
   
-    
-      
+    
+      
     
   
 
diff --git a/src/app/routes/order-management/components/risk-detail/risk-detail.component.ts b/src/app/routes/order-management/components/risk-detail/risk-detail.component.ts
index 0fc68c86..60a0e4ea 100644
--- a/src/app/routes/order-management/components/risk-detail/risk-detail.component.ts
+++ b/src/app/routes/order-management/components/risk-detail/risk-detail.component.ts
@@ -120,7 +120,9 @@ export class OrderManagementRiskDetailComponent implements OnInit {
       }
     })
   }
-
+  kkk(value: any) {
+    console.log(value)
+  }
   goBack() {
     window.history.go(-1)
   }
diff --git a/src/app/routes/supply-management/components/bulk/bulk.component.ts b/src/app/routes/supply-management/components/bulk/bulk.component.ts
index a8092a16..04d949af 100644
--- a/src/app/routes/supply-management/components/bulk/bulk.component.ts
+++ b/src/app/routes/supply-management/components/bulk/bulk.component.ts
@@ -135,7 +135,7 @@ export class SupplyManagementBulkComponent implements OnInit {
               _$expand: (value: boolean) => value,
             },
             allowClear: true,
-            asyncData: () => this.service2.getEnterpriseProject(),
+            asyncData: () => this.service2.getNetworkFreightForwarder(),
           },
         },
         no4: {
diff --git a/src/app/routes/vehicle/components/audit/audit.component.ts b/src/app/routes/vehicle/components/audit/audit.component.ts
index e3cf01b5..8965a3bb 100644
--- a/src/app/routes/vehicle/components/audit/audit.component.ts
+++ b/src/app/routes/vehicle/components/audit/audit.component.ts
@@ -1,8 +1,10 @@
 import { Component, OnInit, ViewChild } from '@angular/core';
 import { ActivatedRoute, Router } from '@angular/router';
 import { STColumn, STColumnBadge, STComponent, STData } from '@delon/abc/st';
-import { SFComponent, SFSchema, SFUISchema } from '@delon/form';
+import { SFComponent, SFSchema, SFSchemaEnum, SFSelectWidgetSchema, SFUISchema } from '@delon/form';
 import { NzModalService } from 'ng-zorro-antd/modal';
+import { of } from 'rxjs';
+import { map } from 'rxjs/operators';
 import { VehicleService } from '../../../vehicle/services/vehicle.service';
 @Component({
   selector: 'app-Vehicle-components-audit',
@@ -68,7 +70,28 @@ export class VehicleComponentsAuditComponent implements OnInit {
             hidden: true,
           },
         },
-        carNo: { title: '车牌号', type: 'string', ui: { showRequired: false } },
+        carNo: { 
+          title: '车牌号',
+          type: 'string',
+          ui: {
+            widget: 'select',
+            serverSearch: true,
+            searchDebounceTime: 300,
+            searchLoadingText: '搜索中...',
+            onSearch: (q: any) => {
+              if (!!q) {
+                return this.service
+                  .request(this.service.$api_get_getCarLicenseListByCarNo, {
+                    carNo: q
+                  })
+                  .pipe(map((res: any[]) => (res as any[]).map((i) => ({ label: i.carNo, value: i.carNo } as SFSchemaEnum))))
+                  .toPromise();
+              } else {
+                return of([]);
+              }
+            },
+          } as SFSelectWidgetSchema,
+         },
         carNoColor: {
           type: 'string',
           title: '车牌颜色',
@@ -80,9 +103,12 @@ export class VehicleComponentsAuditComponent implements OnInit {
         isSelf: {
           type: 'string',
           title: '是否挂靠',
+          enum: [
+            { label: '是', value: true },
+            { label: '否', value: false },
+          ],
           ui: {
-            widget: 'dict-select',
-            params: { dictKey: 'Whether' },
+            widget: 'select',
           }
         },
         saveUser: {
diff --git a/src/app/routes/vehicle/components/list/list.component.ts b/src/app/routes/vehicle/components/list/list.component.ts
index 50b7697f..014372a7 100644
--- a/src/app/routes/vehicle/components/list/list.component.ts
+++ b/src/app/routes/vehicle/components/list/list.component.ts
@@ -1,9 +1,11 @@
 import { Component, OnInit, ViewChild } from '@angular/core';
 import { ActivatedRoute, Router } from '@angular/router';
 import { STColumn, STColumnBadge, STComponent, STData } from '@delon/abc/st';
-import { SFComponent, SFSchema, SFUISchema } from '@delon/form';
+import { SFComponent, SFSchema, SFSchemaEnum, SFSelectWidgetSchema, SFUISchema } from '@delon/form';
 import { NzModalService } from 'ng-zorro-antd/modal';
 import { format } from 'path';
+import { of } from 'rxjs';
+import { map } from 'rxjs/operators';
 import { VehicleService } from '../../../vehicle/services/vehicle.service';
 @Component({
   selector: 'app-Vehicle-components-list',
@@ -69,7 +71,28 @@ export class VehicleComponentsListComponent implements OnInit {
             hidden: true,
           },
         },
-        carNo: { title: '车牌号', type: 'string', ui: { showRequired: false } },
+        carNo: { 
+          title: '车牌号',
+          type: 'string',
+          ui: {
+            widget: 'select',
+            serverSearch: true,
+            searchDebounceTime: 300,
+            searchLoadingText: '搜索中...',
+            onSearch: (q: any) => {
+              if (!!q) {
+                return this.service
+                  .request(this.service.$api_get_getCarLicenseListByCarNo, {
+                    carNo: q
+                  })
+                  .pipe(map((res: any[]) => (res as any[]).map((i) => ({ label: i.carNo, value: i.carNo } as SFSchemaEnum))))
+                  .toPromise();
+              } else {
+                return of([]);
+              }
+            },
+          } as SFSelectWidgetSchema,
+         },
         carNoColor: {
           type: 'string',
           title: '车牌颜色',
diff --git a/src/app/routes/vehicle/services/vehicle.service.ts b/src/app/routes/vehicle/services/vehicle.service.ts
index f540fa07..ebd8882e 100644
--- a/src/app/routes/vehicle/services/vehicle.service.ts
+++ b/src/app/routes/vehicle/services/vehicle.service.ts
@@ -1,7 +1,7 @@
 /*
  * @Author: your name
  * @Date: 2021-11-29 15:22:34
- * @LastEditTime: 2021-12-16 15:57:25
+ * @LastEditTime: 2021-12-17 09:34:09
  * @LastEditors: Please set LastEditors
  * @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
  * @FilePath: \tms-obc-web\src\app\routes\usercenter\services\usercenter.service.ts
@@ -44,6 +44,9 @@ export class VehicleService extends BaseService {
   // 上传司机挂靠协议
   $api_get_upLoadCarProtocal= `/api/mdc/cuc/carLicenseAudit/operate/upLoadCarProtocal`;
 
+  // 根据车牌号查询车辆信息
+  $api_get_getCarLicenseListByCarNo= `/api/mdc/cuc/carLicenseAudit/operate/getCarLicenseListByCarNo`;
+
 
 
   constructor(public injector: Injector) {
diff --git a/src/app/routes/waybill-management/components/bulk-detail/bulk-detail.component.html b/src/app/routes/waybill-management/components/bulk-detail/bulk-detail.component.html
index 14b57ab4..eb663fcd 100644
--- a/src/app/routes/waybill-management/components/bulk-detail/bulk-detail.component.html
+++ b/src/app/routes/waybill-management/components/bulk-detail/bulk-detail.component.html
@@ -1,7 +1,7 @@
 
           
         
       
@@ -38,45 +35,51 @@
   
   
   
-    {{ i?.owner }}
-    32943898021309809423
-    3321944288191034921
-    18112345678
+    {{ i?.enterpriseProject }}
+    {{ i?.dispatch?.name }}/{{i?.dispatch?.phone}}
+    到货后{{ i?.paymentDays }}天内支付运费
+    {{ i?.serviceTypeLabel }}
   
   
   
     
-      
-        
装卸货信息
-        
装货地:广东省深圳市龙岗区怡亚通大厦
-        
联系人:奥利给/13680058545
-        
卸货地:广东省深圳市福田区岗厦村9巷8号405(新村)
-        
联系人:花花世界/13680058545
-        
发货日期:广东省深圳市福田区岗厦村9巷8号405(新村)
-        
卸货日期:花花世界/13680058545
+      
+        
装卸货信息
+        
+          
装货地:{{item?.detailedAddress}}
+           
联系人:{{item?.appUserName}}/{{item?.contractTelephone}}
+        
发货日期:{{item?.createTime}}
+        
+        
+        
卸货地:{{item?.detailedAddress}}
+        
联系人:{{item?.appUserName}}/{{item?.contractTelephone}}
+        
卸货日期:{{item?.modifyTime}}
+      
       
         货物信息
-        
货物名称:广东省深圳市龙岗区怡亚通大厦
-        
重量/体积:广东省深圳市福田区岗厦村9巷8号405(新村)
-        
车型/车长:花花世界/13680058545
+        
+          
货物名称:{{item?.goodsName}}
+          
重量/体积:{{item?.weight}}吨/{{item?.volume}}立方
+          
用车需求:{{item?.vehicleDemand}}
+          
 
      
     
       
         托运信息
-        
公司名称:广东省深圳市龙岗区怡亚通大厦
-        
联系人:广东省深圳市福田区岗厦村9巷8号405(新村)
+        
公司名称:{{i?.enterpriseInfoName}}
+        
联系人:{{ i?.dispatch?.name }}/{{i?.dispatch?.phone}}
        
      
     
       
         承运信息
-        
司机:广东省深圳市龙岗区怡亚通大厦
-        
车牌号:广东省深圳市福田区岗厦村9巷8号405(新村)
-        
车型/车长/承重:{{'拖车'}} | {{'4.5米'}} | {{'15吨'}}
+        
司机:{{i?.driverVo?.name}}/{{i?.driverVo?.phone}}
+        
车牌号:{{i?.carVO?.carNo}}
+        
车型/车长/承重:{{i?.carVO?.carModel}} | {{i?.carVO?.carLength}} | {{i?.carVO?.carLoad}}
        
      
     
@@ -92,12 +95,12 @@
     
       运费信息
       
-        
{{400 | currency }}
-        
{{400 | currency }}
-        
{{400 | currency }}
-        
{{400 | currency }}
-        
{{400 | currency}}
-        
{{400 | currency }}
+        
{{i?.payee?.name}} /{{i?.payee?.phone}} / {{i?.payee?.phone}}
+        
{{400 | currency: '¥' }}
+        
{{400 | currency: '¥' }}
+        
{{400 | currency: '¥' }}
+        
{{400 | currency: '¥'}}
+        
{{400 | currency: '¥' }}
        
     
@@ -110,18 +113,18 @@
     
-  
-    
+  
 
+    
       
-        
平台支付
+        
平台支付
         司机运输费666
         1000.00
         未支付
        
-    
+    
       
-        
货主支付
+        
货主支付
         司机运输费22
         1000.00
         未支付
@@ -148,6 +151,4 @@
    
 
-
-
-
+
\ No newline at end of file
diff --git a/src/app/routes/waybill-management/components/bulk-detail/bulk-detail.component.ts b/src/app/routes/waybill-management/components/bulk-detail/bulk-detail.component.ts
index ba3933a7..d94eb797 100644
--- a/src/app/routes/waybill-management/components/bulk-detail/bulk-detail.component.ts
+++ b/src/app/routes/waybill-management/components/bulk-detail/bulk-detail.component.ts
@@ -1,7 +1,7 @@
 /*
  * @Author: your name
  * @Date: 2021-12-03 15:31:52
- * @LastEditTime: 2021-12-06 20:34:08
+ * @LastEditTime: 2021-12-17 14:59:03
  * @LastEditors: Please set LastEditors
  * @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
  * @FilePath: \tms-obc-web\src\app\routes\order-management\components\vehicle-detail\vehicle-detail.component.ts
@@ -26,6 +26,7 @@ export class WaybillManagementBulkeDetailComponent implements OnInit {
     { title: '时间', index: 'operationUserPhone' },
     { title: '地点', index: ' createTime' },
   ];
+  unLoadingPlaceVOList: any = [];
 
   constructor(
     private route: ActivatedRoute,
@@ -37,12 +38,21 @@ export class WaybillManagementBulkeDetailComponent implements OnInit {
   }
 
   ngOnInit(): void {
-    this.service.http.get(`/user/${this.id}?_allow_anonymous=true&_allow_badcode=true`).subscribe(res => {
-      console.log(res);
-      this.i = res
-    });
+    this.initData()
+   
+  }
+  initData() {
+    const params = {
+      id: this.id
+    }
+    this.service.request(this.service.$api_get_getBulkDetail, params).subscribe((res) => {
+      console.log(res)
+      this.unLoadingPlaceVOList.push(...res.loadingPlace)
+      this.unLoadingPlaceVOList.push(...res.dischargePlace)
+      console.log(this.unLoadingPlaceVOList)
+      this.i = res;
+    })
   }
-
 
 
   hand() {
diff --git a/src/app/routes/waybill-management/components/bulk/bulk.component.html b/src/app/routes/waybill-management/components/bulk/bulk.component.html
index ef31d45f..3629e2ff 100644
--- a/src/app/routes/waybill-management/components/bulk/bulk.component.html
+++ b/src/app/routes/waybill-management/components/bulk/bulk.component.html
@@ -1,7 +1,7 @@
 
-    
-      
-        {{item.no}}
+    
+      
+        {{item.wayBillCode}}
+        
+          待接单
+          待发车
+          运输中
+          待签收
+          已完成
+          已取消
+        
+      
+      
+        
+          {{i?.costName}}:{{i?.price}}
+        
+      
+      
+        {{item.wayBillCode}}
+      
+      
+        {{item?.goodsInfos?.goodsName}}
+        {{item?.goodsInfos?.goodsResource}}
+      
+      
+        装 | {{item?.loadingTime}}
+        卸 | {{item?.unloadingTime}}
       
-      
       
         {{item.no}}
       
diff --git a/src/app/routes/waybill-management/components/bulk/bulk.component.ts b/src/app/routes/waybill-management/components/bulk/bulk.component.ts
index c11e48c0..d248b40f 100644
--- a/src/app/routes/waybill-management/components/bulk/bulk.component.ts
+++ b/src/app/routes/waybill-management/components/bulk/bulk.component.ts
@@ -1,8 +1,10 @@
 import { Component, OnInit, ViewChild } from '@angular/core';
 import { STColumn, STComponent } from '@delon/abc/st';
-import { SFComponent, SFDateWidgetSchema, SFSchema, SFSelectWidgetSchema, SFUISchema } from '@delon/form';
+import { SFComponent, SFDateWidgetSchema, SFSchema, SFSchemaEnum, SFSelectWidgetSchema, SFUISchema } from '@delon/form';
 import { ModalHelper, _HttpClient } from '@delon/theme';
+import { ShipperBaseService } from '@shared';
 import { NzModalService } from 'ng-zorro-antd/modal';
+import { of } from 'rxjs';
 import { map } from 'rxjs/operators';
 import { SupplyManagementService } from '../../services/waybill-management.service';
 
@@ -13,7 +15,6 @@ import { SupplyManagementService } from '../../services/waybill-management.servi
   styleUrls: ['./bulk.component.less']
 })
 export class WaybillManagementBulkComponent implements OnInit {
-  url = `/user?_allow_anonymous=true`;
   ui: SFUISchema = {};
   uiView: SFUISchema = {};
   schema: SFSchema = {};
@@ -78,7 +79,7 @@ export class WaybillManagementBulkComponent implements OnInit {
     count: 0,
   },
   ];
-  constructor(public service: SupplyManagementService, private modal: NzModalService) { }
+  constructor(public service: SupplyManagementService, private modal: NzModalService, public service2: ShipperBaseService) { }
 
   /**
  * 查询参数
@@ -112,15 +113,15 @@ export class WaybillManagementBulkComponent implements OnInit {
           type: 'string',
           title: '运单号',
         },
-        no2: {
+        resourceCode: {
           type: 'string',
           title: '货源编号'
         },
         no1: {
           type: 'string',
-          title: '托运公司'
+          title: '货主'
         },
-        no3: {
+        loadingPlace: {
           type: 'string',
           title: '装货地',
           ui: {
@@ -129,7 +130,7 @@ export class WaybillManagementBulkComponent implements OnInit {
             },
           }
         },
-        no4: {
+        dischargePlace: {
           type: 'string',
           title: '卸货地',
           ui: {
@@ -138,45 +139,86 @@ export class WaybillManagementBulkComponent implements OnInit {
             },
           }
         },
-        no7: {
-          type: 'string',
+        driverId: {
           title: '承运司机',
-          ui: {
-            visibleIf: {
-              _$expand: (value: boolean) => value,
-            },
-          }
-        },
-        no9: {
           type: 'string',
-          title: '车牌号',
-          ui: {
-            visibleIf: {
-              _$expand: (value: boolean) => value,
-            },
-          }
-        },
-        no10: {
-          type: 'string',
-          title: '收款人',
-          ui: {
-            visibleIf: {
-              _$expand: (value: boolean) => value,
-            },
-          }
-        },
-        sex: {
-          title: '支付状态',
-          type: 'string',
-          default: 0,
-          enum: [
-            { label: '未知', value: 0 },
-            { label: '男', value: 1 },
-            { label: '女', value: 2 },
-            { label: '保密', value: 3 },
-          ],
           ui: {
             widget: 'select',
+            serverSearch: true,
+            searchDebounceTime: 300,
+            searchLoadingText: '搜索中...',
+            onSearch: (q: any) => {
+              if (!!q) {
+                return this.service
+                  .request(this.service.$api_get_getDriverInfo, { keyword: q,
+                  model: 1, type: 1 })
+                  .pipe(map((res) => (res as any[]).map((i) => ({ label: i.name, value: i.id } as SFSchemaEnum))))
+                  .toPromise();
+              } else {
+                return of([]);
+              }
+            },
+            visibleIf: {
+              _$expand: (value: boolean) => value,
+            },
+          } as SFSelectWidgetSchema,
+        },
+        carNo: { 
+          title: '车牌号',
+          type: 'string',
+          ui: {
+            widget: 'select',
+            serverSearch: true,
+            searchDebounceTime: 300,
+            searchLoadingText: '搜索中...',
+            onSearch: (q: any) => {
+              if (!!q) {
+                return this.service
+                  .request(this.service.$api_get_getCarLicenseListByCarNo, {
+                    carNo: q
+                  })
+                  .pipe(map((res: any[]) => (res as any[]).map((i) => ({ label: i.carNo, value: i.carNo } as SFSchemaEnum))))
+                  .toPromise();
+              } else {
+                return of([]);
+              }
+            },
+            visibleIf: {
+              _$expand: (value: boolean) => value,
+            },
+          } as SFSelectWidgetSchema,
+         },
+         payeeId: {
+          title: '车队长',
+          type: 'string',
+          ui: {
+            widget: 'select',
+            serverSearch: true,
+            searchDebounceTime: 300,
+            searchLoadingText: '搜索中...',
+            onSearch: (q: any) => {
+              if (!!q) {
+                return this.service
+                  .request(this.service.$api_get_getDriverInfo, { keyword: q,
+                  model: 1, type: 2 })
+                  .pipe(map((res) => (res as any[]).map((i) => ({ label: i.name, value: i.id } as SFSchemaEnum))))
+                  .toPromise();
+              } else {
+                return of([]);
+              }
+            },
+            visibleIf: {
+              _$expand: (value: boolean) => value,
+            },
+          } as SFSelectWidgetSchema,
+        }, 
+        paymentstatus: {
+          title: '支付状态',
+          type: 'string',
+          ui: {
+            widget: 'dict-select',
+            params: { dictKey: 'payment:status' },
+            containAllLable:true,
             visibleIf: {
               _$expand: (value: boolean) => value,
             },
@@ -194,9 +236,51 @@ export class WaybillManagementBulkComponent implements OnInit {
             },
           } as SFDateWidgetSchema,
         },
-        appId: {
+        isRiskSheet: {
           type: 'string',
           title: '是否风险单',
+          default: '0',
+          enum: [
+            { label: '全部', value: '0' },
+            { label: '是', value: '1' },
+            { label: '否', value: '2' }
+          ],
+          ui: {
+            widget: 'select',
+            placeholder: '请选择',
+            visibleIf: {
+              _$expand: (value: boolean) => value,
+            },
+          },
+        },
+        enterpriseInfoName: {
+          type: 'string',
+          title: '网络货运人',
+          ui: {
+            widget: 'select',
+            placeholder: '请选择',
+            visibleIf: {
+              _$expand: (value: boolean) => value,
+            },
+            allowClear: true,
+            asyncData: () => this.service2.getNetworkFreightForwarder(),
+          },
+        },
+        settlementBasis: {
+          title: '结算依据',
+          type: 'string',
+          ui: {
+            widget: 'dict-select',
+            containsAllLable: true,
+            params: { dictKey: 'goodresource:settlement:type' },
+            visibleIf: {
+              _$expand: (value: boolean) => value,
+            },
+          } as SFSelectWidgetSchema,
+        },
+        goodsName: {
+          type: 'string',
+          title: '货物名称',
           ui: {
             widget: 'select',
             placeholder: '请选择',
@@ -207,6 +291,19 @@ export class WaybillManagementBulkComponent implements OnInit {
             asyncData: () => this.getCatalogueMember(),
           },
         },
+        serviceType: {
+          title: '服务类型',
+          type: 'string',
+          default: '',
+          ui: {
+            widget: 'dict-select',
+            params: { dictKey: 'service:type' },
+            containAllLable:true,
+            visibleIf: {
+              _$expand: (value: boolean) => value,
+            },
+          } as SFSelectWidgetSchema,
+        },
       },
       type: 'object',
     };
@@ -258,109 +355,80 @@ export class WaybillManagementBulkComponent implements OnInit {
   /**
    * 初始化数据列表
    */
-  initST() {
+   initST() {
     this.columns = [
       { title: '', type: 'checkbox', width: '50px', className: 'text-center' },
       {
         title: '运单号',
         width: '100px',
         className: 'text-center',
-        render: 'goodsId'
+        render: 'wayBillCode'
       },
       {
-        title: '货源编号',
+        title: '运费明细',
         width: '100px',
         className: 'text-center',
+        render: 'billExpenseDetailVOList'
       },
-      { title: '托运公司', index: 'externalSn', width: '120px', className: 'text-center' },
-      { title: '装货地', index: 'linkUrl', width: '120px', className: 'text-center' },
+      { title: '网络货运人', index: 'enterpriseInfoName', width: '120px', className: 'text-center' },
+      { title: '货主', index: 'shipperAppUserName', width: '120px', className: 'text-center' },
+      { title: '关联订单号', render: 'wayBill', width: '120px', className: 'text-center' },
+      { title: '货源编号', index: 'resourceCode', width: '120px', className: 'text-center' },
+      { title: '装货地', index: 'loadingPlace', width: '120px', className: 'text-center' },
       {
         title: '卸货地',
         className: 'text-center',
         width: '120px',
+        index: 'dischargePlace'
       },
-      {
-        title: '货物名称',
+     {
+        title: '货物信息',
         className: 'text-center',
-        width: '120px',
-      }, 
-      {
-        title: '承运司机',
-        className: 'text-center',
-        width: '120px',
-      },
-      {
-        title: '车牌号',
-        className: 'text-center',
-        width: '120px',
+        width: '180px',
+        render: 'goodsInfos'
       },
       {
         title: '运费单价',
         className: 'text-center',
         width: '120px',
+        index: 'freightPrice'
       },
       {
-        title: '接单重量',
+        title: '接单数量',
         className: 'text-center',
         width: '120px',
-      },
-      {
-        title: '运费变更记录',
-        className: 'text-center',
-        width: '120px',
-        render: 'feiong'
+        index: 'orderReceivingQuantity'
+
       },
       {
         title: '结算重量',
         className: 'text-center',
-        width: '120px',
+        width: '200px',
+        index: 'settlementWeight'
       },
       {
-        title: '成交金额',
+        title: '承运司机',
         className: 'text-center',
-        width: '120px',
-        render: 'enStatusStr27878'
+        width: '200px',
+        index: 'driverName'
       },
       {
         title: '收款人',
         className: 'text-center',
         width: '120px',
-   
+        index: 'payeeName'
       },
       {
-        title: '支付状态',
+        title: '装卸货时间',
         className: 'text-center',
-        width: '120px',
+        width: '200px',
+        render: 'loadingTime'
       },
       {
         title: '创建时间',
+        width: '130px',
         className: 'text-center',
-        index: 'enStatusStr3',
-        type: 'badge',
-        width: '100px',
-        badge: {
-          正常: { text: '正常', color: 'success' },
-          冻结: { text: '冻结', color: 'warning' },
-          废弃: { text: '废弃', color: 'default' },
-        },
-      },
-      {
-        title: '异常原因',
-        className: 'text-center',
-        index: 'enStatusStr3',
-        width: '100px',
-      },
-      {
-        title: '运单状态',
-        className: 'text-center',
-        index: 'enStatusStr3',
-        type: 'badge',
-        width: '100px',
-        badge: {
-          正常: { text: '正常', color: 'success' },
-          冻结: { text: '冻结', color: 'warning' },
-          废弃: { text: '废弃', color: 'default' },
-        },
+        index: 'createTime',
       },
       {
         title: '操作',
diff --git a/src/app/routes/waybill-management/components/vehicle-detail/vehicle-detail.component.html b/src/app/routes/waybill-management/components/vehicle-detail/vehicle-detail.component.html
index fa81c36a..f823b8ea 100644
--- a/src/app/routes/waybill-management/components/vehicle-detail/vehicle-detail.component.html
+++ b/src/app/routes/waybill-management/components/vehicle-detail/vehicle-detail.component.html
@@ -1,7 +1,7 @@
 
           
         
       
@@ -38,45 +35,51 @@
   
-    {{ i?.owner }}
-    32943898021309809423
-    3321944288191034921
-    18112345678
+    {{ i?.enterpriseProject }}
+    {{ i?.dispatch?.name }}/{{i?.dispatch?.phone}}
+    到货后{{ i?.paymentDays }}天内支付运费
+    {{ i?.serviceTypeLabel }}
   
   
   
     
-      
-        
装卸货信息
-        
装货地:广东省深圳市龙岗区怡亚通大厦
-        
联系人:奥利给/13680058545
-        
卸货地:广东省深圳市福田区岗厦村9巷8号405(新村)
-        
联系人:花花世界/13680058545
-        
发货日期:广东省深圳市福田区岗厦村9巷8号405(新村)
-        
卸货日期:花花世界/13680058545
+      
+        
装卸货信息
+        
+          
装货地:{{item?.detailedAddress}}
+           
联系人:{{item?.appUserName}}/{{item?.contractTelephone}}
+        
发货日期:{{item?.createTime}}
+        
+        
+        
卸货地:{{item?.detailedAddress}}
+        
联系人:{{item?.appUserName}}/{{item?.contractTelephone}}
+        
卸货日期:{{item?.modifyTime}}
+      
       
         货物信息
-        
货物名称:广东省深圳市龙岗区怡亚通大厦
-        
重量/体积:广东省深圳市福田区岗厦村9巷8号405(新村)
-        
车型/车长:花花世界/13680058545
+        
+          
货物名称:{{item?.goodsName}}
+          
重量/体积:{{item?.weight}}吨/{{item?.volume}}立方
+          
用车需求:{{item?.vehicleDemand}}
+          
 
      
     
       
         托运信息
-        
公司名称:广东省深圳市龙岗区怡亚通大厦
-        
联系人:广东省深圳市福田区岗厦村9巷8号405(新村)
+        
公司名称:{{i?.enterpriseInfoName}}
+        
联系人:{{ i?.dispatch?.name }}/{{i?.dispatch?.phone}}
        
      
     
       
         承运信息
-        
司机:广东省深圳市龙岗区怡亚通大厦
-        
车牌号:广东省深圳市福田区岗厦村9巷8号405(新村)
-        
车型/车长/承重:{{'拖车'}} | {{'4.5米'}} | {{'15吨'}}
+        
司机:{{i?.driverVo?.name}}/{{i?.driverVo?.phone}}
+        
车牌号:{{i?.carVO?.carNo}}
+        
车型/车长/承重:{{i?.carVO?.carModel}} | {{i?.carVO?.carLength}} | {{i?.carVO?.carLoad}}
        
      
     
@@ -92,12 +95,12 @@
     
       运费信息
       
-        
{{400 | currency }}
-        
{{400 | currency }}
-        
{{400 | currency }}
-        
{{400 | currency }}
-        
{{400 | currency}}
-        
{{400 | currency }}
+        
{{i?.payee?.name}} /{{i?.payee?.phone}} / {{i?.payee?.phone}}
+        
{{400 | currency: '¥' }}
+        
{{400 | currency: '¥' }}
+        
{{400 | currency: '¥' }}
+        
{{400 | currency: '¥'}}
+        
{{400 | currency: '¥' }}
        
     
@@ -110,17 +113,19 @@
     
-  
-    
-      
-        
司机运输费
+  
 
+    
+      
+        
平台支付
+        
司机运输费666
         1000.00
         未支付
       
-    
-      
-        
司机运输费
+    
+      
+        
货主支付
+        
司机运输费22
         1000.00
         未支付
       
diff --git a/src/app/routes/waybill-management/components/vehicle-detail/vehicle-detail.component.ts b/src/app/routes/waybill-management/components/vehicle-detail/vehicle-detail.component.ts
index 1412d8ca..4d433df5 100644
--- a/src/app/routes/waybill-management/components/vehicle-detail/vehicle-detail.component.ts
+++ b/src/app/routes/waybill-management/components/vehicle-detail/vehicle-detail.component.ts
@@ -1,7 +1,7 @@
 /*
  * @Author: your name
  * @Date: 2021-12-03 15:31:52
- * @LastEditTime: 2021-12-07 14:55:57
+ * @LastEditTime: 2021-12-17 14:38:14
  * @LastEditors: Please set LastEditors
  * @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
  * @FilePath: \tms-obc-web\src\app\routes\order-management\components\vehicle-detail\vehicle-detail.component.ts
@@ -26,6 +26,7 @@ export class WaybillManagementVehicleDetailComponent implements OnInit {
     { title: '时间', index: 'operationUserPhone' },
     { title: '地点', index: ' createTime' },
   ];
+  unLoadingPlaceVOList: any = [];
 
   constructor(
     private route: ActivatedRoute,
@@ -37,12 +38,20 @@ export class WaybillManagementVehicleDetailComponent implements OnInit {
   }
 
   ngOnInit(): void {
-    this.service.http.get(`/user/${this.id}?_allow_anonymous=true&_allow_badcode=true`).subscribe(res => {
-      console.log(res);
-      this.i = res
-    });
+    this.initData()
+  }
+  initData() {
+    const params = {
+      id: this.id
+    }
+    this.service.request(this.service.$api_get_getWholeDetail, params).subscribe((res) => {
+      console.log(res)
+      this.unLoadingPlaceVOList.push(...res.loadingPlace)
+      this.unLoadingPlaceVOList.push(...res.dischargePlace)
+      console.log(this.unLoadingPlaceVOList)
+      this.i = res;
+    })
   }
-
 
 
   hand() {
diff --git a/src/app/routes/waybill-management/components/vehicle/vehicle.component.html b/src/app/routes/waybill-management/components/vehicle/vehicle.component.html
index d4be3881..22358818 100644
--- a/src/app/routes/waybill-management/components/vehicle/vehicle.component.html
+++ b/src/app/routes/waybill-management/components/vehicle/vehicle.component.html
@@ -1,7 +1,7 @@
 
-    
-      
-        {{item.no}}
+    
+      
+        {{item.wayBillCode}}
+        
+          待接单
+          待发车
+          运输中
+          待签收
+          已完成
+          已取消
+        
+      
+      
+        {{item.wayBillCode}}
+      
+      
+        {{item?.goodsInfos?.goodsName}}
+        {{item?.goodsInfos?.goodsResource}}
+      
+      
+        装 | {{item?.loadingTime}}
+        卸 | {{item?.unloadingTime}}
       
-      
       
         {{item.no}}
       
diff --git a/src/app/routes/waybill-management/components/vehicle/vehicle.component.ts b/src/app/routes/waybill-management/components/vehicle/vehicle.component.ts
index 5b465d96..f2007f4b 100644
--- a/src/app/routes/waybill-management/components/vehicle/vehicle.component.ts
+++ b/src/app/routes/waybill-management/components/vehicle/vehicle.component.ts
@@ -2,6 +2,7 @@ import { Component, OnInit, ViewChild } from '@angular/core';
 import { STColumn, STComponent } from '@delon/abc/st';
 import { SFComponent, SFDateWidgetSchema, SFSchema, SFSchemaEnum, SFSelectWidgetSchema, SFUISchema } from '@delon/form';
 import { ModalHelper, _HttpClient } from '@delon/theme';
+import { ShipperBaseService } from '@shared';
 import { NzModalService } from 'ng-zorro-antd/modal';
 import { of } from 'rxjs';
 import { map } from 'rxjs/operators';
@@ -48,11 +49,6 @@ export class WaybillManagementVehicleComponent implements OnInit {
     type: 5,
     count: 0,
   },
-  {
-    name: '待接单',
-    type: 5,
-    count: 0,
-  },
   {
     name: '待发车',
     type: 5,
@@ -79,7 +75,7 @@ export class WaybillManagementVehicleComponent implements OnInit {
     count: 0,
   },
   ];
-  constructor(public service: SupplyManagementService, private modal: NzModalService) { }
+  constructor(public service: SupplyManagementService, private modal: NzModalService, public service2: ShipperBaseService) { }
 
   /**
  * 查询参数
@@ -104,7 +100,7 @@ export class WaybillManagementVehicleComponent implements OnInit {
   /**
  * 初始化查询表单
  */
-  initSF() {
+   initSF() {
     this.schema = {
       properties: {
         _$expand: { type: 'boolean', ui: { hidden: true } },
@@ -112,7 +108,7 @@ export class WaybillManagementVehicleComponent implements OnInit {
           type: 'string',
           title: '运单号',
         },
-        no2: {
+        resourceCode: {
           type: 'string',
           title: '货源编号'
         },
@@ -120,7 +116,7 @@ export class WaybillManagementVehicleComponent implements OnInit {
           type: 'string',
           title: '货主'
         },
-        no3: {
+        loadingPlace: {
           type: 'string',
           title: '装货地',
           ui: {
@@ -129,7 +125,7 @@ export class WaybillManagementVehicleComponent implements OnInit {
             },
           }
         },
-        no4: {
+        dischargePlace: {
           type: 'string',
           title: '卸货地',
           ui: {
@@ -138,25 +134,56 @@ export class WaybillManagementVehicleComponent implements OnInit {
             },
           }
         },
-        no7: {
-          type: 'string',
+        driverId: {
           title: '承运司机',
-          ui: {
-            visibleIf: {
-              _$expand: (value: boolean) => value,
-            },
-          }
-        },
-        no9: {
           type: 'string',
-          title: '车牌号',
           ui: {
+            widget: 'select',
+            serverSearch: true,
+            searchDebounceTime: 300,
+            searchLoadingText: '搜索中...',
+            onSearch: (q: any) => {
+              if (!!q) {
+                return this.service
+                  .request(this.service.$api_get_getDriverInfo, { keyword: q,
+                  model: 1, type: 1 })
+                  .pipe(map((res) => (res as any[]).map((i) => ({ label: i.name, value: i.id } as SFSchemaEnum))))
+                  .toPromise();
+              } else {
+                return of([]);
+              }
+            },
             visibleIf: {
               _$expand: (value: boolean) => value,
             },
-          }
+          } as SFSelectWidgetSchema,
         },
-        brandId2: {
+        carNo: { 
+          title: '车牌号',
+          type: 'string',
+          ui: {
+            widget: 'select',
+            serverSearch: true,
+            searchDebounceTime: 300,
+            searchLoadingText: '搜索中...',
+            onSearch: (q: any) => {
+              if (!!q) {
+                return this.service
+                  .request(this.service.$api_get_getCarLicenseListByCarNo, {
+                    carNo: q
+                  })
+                  .pipe(map((res: any[]) => (res as any[]).map((i) => ({ label: i.carNo, value: i.carNo } as SFSchemaEnum))))
+                  .toPromise();
+              } else {
+                return of([]);
+              }
+            },
+            visibleIf: {
+              _$expand: (value: boolean) => value,
+            },
+          } as SFSelectWidgetSchema,
+         },
+         payeeId: {
           title: '车队长',
           type: 'string',
           ui: {
@@ -180,18 +207,13 @@ export class WaybillManagementVehicleComponent implements OnInit {
             },
           } as SFSelectWidgetSchema,
         }, 
-        sex: {
+        paymentstatus: {
           title: '支付状态',
           type: 'string',
-          default: 0,
-          enum: [
-            { label: '未知', value: 0 },
-            { label: '男', value: 1 },
-            { label: '女', value: 2 },
-            { label: '保密', value: 3 },
-          ],
           ui: {
-            widget: 'select',
+            widget: 'dict-select',
+            params: { dictKey: 'payment:status' },
+            containAllLable:true,
             visibleIf: {
               _$expand: (value: boolean) => value,
             },
@@ -209,20 +231,24 @@ export class WaybillManagementVehicleComponent implements OnInit {
             },
           } as SFDateWidgetSchema,
         },
-        appId: {
+        isRiskSheet: {
           type: 'string',
           title: '是否风险单',
+          default: '0',
+          enum: [
+            { label: '全部', value: '0' },
+            { label: '是', value: '1' },
+            { label: '否', value: '2' }
+          ],
           ui: {
             widget: 'select',
             placeholder: '请选择',
             visibleIf: {
               _$expand: (value: boolean) => value,
             },
-            allowClear: true,
-            asyncData: () => this.getCatalogueMember(),
           },
         },
-        appId2: {
+        enterpriseInfoName: {
           type: 'string',
           title: '网络货运人',
           ui: {
@@ -232,10 +258,10 @@ export class WaybillManagementVehicleComponent implements OnInit {
               _$expand: (value: boolean) => value,
             },
             allowClear: true,
-            asyncData: () => this.getCatalogueMember(),
+            asyncData: () => this.service2.getNetworkFreightForwarder(),
           },
         },
-        appId4: {
+        goodsName: {
           type: 'string',
           title: '货物名称',
           ui: {
@@ -248,7 +274,6 @@ export class WaybillManagementVehicleComponent implements OnInit {
             asyncData: () => this.getCatalogueMember(),
           },
         },
-
       },
       type: 'object',
     };
@@ -265,108 +290,56 @@ export class WaybillManagementVehicleComponent implements OnInit {
         title: '运单号',
         width: '100px',
         className: 'text-center',
-        render: 'goodsId'
+        render: 'wayBillCode'
       },
       {
         title: '货源编号',
         width: '100px',
         className: 'text-center',
+        index: 'resourceCode'
       },
-      { title: '托运公司', index: 'externalSn', width: '120px', className: 'text-center' },
-      { title: '装货地', index: 'linkUrl', width: '120px', className: 'text-center' },
+      { title: '网络货运人', index: 'enterpriseInfoName', width: '120px', className: 'text-center' },
+      { title: '货主', index: 'shipperAppUserName', width: '120px', className: 'text-center' },
+      { title: '关联订单号', render: 'wayBill', width: '120px', className: 'text-center' },
+      { title: '装货地', index: 'loadingAddressArr', width: '120px', className: 'text-center' },
       {
         title: '卸货地',
         className: 'text-center',
         width: '120px',
+        index: 'unloadingAddressArr'
       },
-      {
-        title: '货物名称',
+     {
+        title: '货物信息',
         className: 'text-center',
-        width: '120px',
-      }, {
-        title: '重量/体积',
-        className: 'text-center',
-        width: '120px',
+        width: '180px',
+        render: 'goodsInfos'
+
       },
       {
         title: '承运司机',
         className: 'text-center',
         width: '120px',
-      },
-      {
-        title: '车牌号',
-        className: 'text-center',
-        width: '120px',
-      },
-      {
-        title: '出价',
-        className: 'text-center',
-        width: '120px',
-        render: 'enStatusStr27878'
-      },
-      {
-        title: '浮动费用',
-        className: 'text-center',
-        width: '120px',
-        render: 'feiong'
-      },
-      {
-        title: '成交金额',
-        className: 'text-center',
-        width: '120px',
+        index: 'driverName'
+
       },
       {
         title: '收款人',
         className: 'text-center',
-        index: 'enStatusStr2',
-        type: 'badge',
-        width: '100px',
-        badge: {
-          正常: { text: '正常', color: 'success' },
-          冻结: { text: '冻结', color: 'warning' },
-          废弃: { text: '废弃', color: 'default' },
-        },
+        width: '120px',
+        index: 'payeeName'
+
       },
       {
-        title: '支付状态',
-        width: '170px',
+        title: '装卸货时间',
         className: 'text-center',
+        width: '200px',
+        render: 'loadingTime'
       },
       {
         title: '创建时间',
+        width: '130px',
         className: 'text-center',
-        index: 'enStatusStr3',
-        type: 'badge',
-        width: '100px',
-        badge: {
-          正常: { text: '正常', color: 'success' },
-          冻结: { text: '冻结', color: 'warning' },
-          废弃: { text: '废弃', color: 'default' },
-        },
-      },
-      {
-        title: '异常原因',
-        className: 'text-center',
-        index: 'enStatusStr3',
-        type: 'badge',
-        width: '100px',
-        badge: {
-          正常: { text: '正常', color: 'success' },
-          冻结: { text: '冻结', color: 'warning' },
-          废弃: { text: '废弃', color: 'default' },
-        },
-      },
-      {
-        title: '运单状态',
-        className: 'text-center',
-        index: 'enStatusStr3',
-        type: 'badge',
-        width: '100px',
-        badge: {
-          正常: { text: '正常', color: 'success' },
-          冻结: { text: '冻结', color: 'warning' },
-          废弃: { text: '废弃', color: 'default' },
-        },
+        index: 'createTime',
       },
       {
         title: '操作',
diff --git a/src/app/routes/waybill-management/services/waybill-management.service.ts b/src/app/routes/waybill-management/services/waybill-management.service.ts
index 97f9b789..743490b8 100644
--- a/src/app/routes/waybill-management/services/waybill-management.service.ts
+++ b/src/app/routes/waybill-management/services/waybill-management.service.ts
@@ -1,8 +1,8 @@
 /*
  * @Author: your name
  * @Date: 2021-12-07 14:52:29
- * @LastEditTime: 2021-12-16 19:46:55
- * @LastEditors: your name
+ * @LastEditTime: 2021-12-17 14:15:09
+ * @LastEditors: Please set LastEditors
  * @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
  * @FilePath: \tms-obc-web\src\app\routes\waybill-management\services\waybill-management.service.ts
  */
@@ -18,6 +18,18 @@ export class SupplyManagementService extends BaseService {
   $api_del_driver = ``;
     // 据 手机号/姓名 查询 车队长/司机
     $api_get_getDriverInfo = `/api/mdc/cuc/user/getDriverInfo`;
+    // 查询整车运单-运营后台
+    $api_get_wholePage = `/api/sdc/wayBillOperate/list/wholePage`;
+    // 查询整车运单详情-运营后台
+    $api_get_getWholeDetail = `/api/sdc/wayBillOperate/getWholeDetail`;
+
+     // 查询大宗运单-运营后台
+     $api_get_Bulkpage = `/api/sdc/wayBillOperate/list/Bulkpage`;
+    // 查询大宗运单详情-运营后台
+    $api_get_getBulkDetail = `/api/sdc/wayBillOperate/getBulkDetail`;
+
+      // 根据车牌号查询车辆信息
+  $api_get_getCarLicenseListByCarNo= `/api/mdc/cuc/carLicenseAudit/operate/getCarLicenseListByCarNo`;
   constructor(public injector: Injector) {
     super(injector)
   }