车辆对接
This commit is contained in:
@ -12,7 +12,7 @@ import { STColumn } from '@delon/abc/st';
|
|||||||
import { _HttpClient } from '@delon/theme';
|
import { _HttpClient } from '@delon/theme';
|
||||||
import { NzMessageService } from 'ng-zorro-antd/message';
|
import { NzMessageService } from 'ng-zorro-antd/message';
|
||||||
import { NzModalService } from 'ng-zorro-antd/modal';
|
import { NzModalService } from 'ng-zorro-antd/modal';
|
||||||
import { SupplyManagementService } from '../../services/order-management.service';
|
import { OrderManagementService } from '../../services/order-management.service';
|
||||||
@Component({
|
@Component({
|
||||||
selector: 'app-supply-management-additionalc-detail',
|
selector: 'app-supply-management-additionalc-detail',
|
||||||
templateUrl: './additionalc-detail.component.html',
|
templateUrl: './additionalc-detail.component.html',
|
||||||
@ -30,7 +30,7 @@ export class OrderManagementAdditionalcDetailComponent implements OnInit {
|
|||||||
constructor(
|
constructor(
|
||||||
private route: ActivatedRoute,
|
private route: ActivatedRoute,
|
||||||
private msgSrv: NzMessageService,
|
private msgSrv: NzMessageService,
|
||||||
private service: SupplyManagementService,
|
private service: OrderManagementService,
|
||||||
private modalService: NzModalService
|
private modalService: NzModalService
|
||||||
) {
|
) {
|
||||||
|
|
||||||
|
|||||||
@ -4,7 +4,7 @@ import { SFComponent, SFDateWidgetSchema, SFSchema, SFSelectWidgetSchema, SFUISc
|
|||||||
import { ModalHelper, _HttpClient } from '@delon/theme';
|
import { ModalHelper, _HttpClient } from '@delon/theme';
|
||||||
import { NzModalService } from 'ng-zorro-antd/modal';
|
import { NzModalService } from 'ng-zorro-antd/modal';
|
||||||
import { map } from 'rxjs/operators';
|
import { map } from 'rxjs/operators';
|
||||||
import { SupplyManagementService } from '../../services/order-management.service';
|
import { OrderManagementService } from '../../services/order-management.service';
|
||||||
|
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
@ -74,7 +74,7 @@ export class OrderManagementAdditionalcComponent implements OnInit {
|
|||||||
count: 0,
|
count: 0,
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
constructor(public service: SupplyManagementService, private modal: NzModalService) { }
|
constructor(public service: OrderManagementService, private modal: NzModalService) { }
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 查询参数
|
* 查询参数
|
||||||
|
|||||||
@ -1,7 +1,7 @@
|
|||||||
/*
|
/*
|
||||||
* @Author: your name
|
* @Author: your name
|
||||||
* @Date: 2021-12-03 15:31:52
|
* @Date: 2021-12-03 15:31:52
|
||||||
* @LastEditTime: 2021-12-06 20:34:08
|
* @LastEditTime: 2021-12-20 09:36:26
|
||||||
* @LastEditors: Please set LastEditors
|
* @LastEditors: Please set LastEditors
|
||||||
* @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
|
* @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
|
* @FilePath: \tms-obc-web\src\app\routes\order-management\components\vehicle-detail\vehicle-detail.component.ts
|
||||||
@ -12,7 +12,7 @@ import { STColumn } from '@delon/abc/st';
|
|||||||
import { _HttpClient } from '@delon/theme';
|
import { _HttpClient } from '@delon/theme';
|
||||||
import { NzMessageService } from 'ng-zorro-antd/message';
|
import { NzMessageService } from 'ng-zorro-antd/message';
|
||||||
import { NzModalService } from 'ng-zorro-antd/modal';
|
import { NzModalService } from 'ng-zorro-antd/modal';
|
||||||
import { SupplyManagementService } from '../../services/order-management.service';
|
import { OrderManagementService } from '../../services/order-management.service';
|
||||||
@Component({
|
@Component({
|
||||||
selector: 'app-supply-management-bulk-detail',
|
selector: 'app-supply-management-bulk-detail',
|
||||||
templateUrl: './bulk-detail.component.html',
|
templateUrl: './bulk-detail.component.html',
|
||||||
@ -30,7 +30,7 @@ export class OrderManagementBulkeDetailComponent implements OnInit {
|
|||||||
constructor(
|
constructor(
|
||||||
private route: ActivatedRoute,
|
private route: ActivatedRoute,
|
||||||
private msgSrv: NzMessageService,
|
private msgSrv: NzMessageService,
|
||||||
private service: SupplyManagementService,
|
private service: OrderManagementService,
|
||||||
private modalService: NzModalService
|
private modalService: NzModalService
|
||||||
) {
|
) {
|
||||||
|
|
||||||
|
|||||||
@ -4,7 +4,7 @@ import { SFComponent, SFDateWidgetSchema, SFSchema, SFSchemaEnum, SFSelectWidget
|
|||||||
import { ModalHelper, _HttpClient } from '@delon/theme';
|
import { ModalHelper, _HttpClient } from '@delon/theme';
|
||||||
import { NzModalService } from 'ng-zorro-antd/modal';
|
import { NzModalService } from 'ng-zorro-antd/modal';
|
||||||
import { map } from 'rxjs/operators';
|
import { map } from 'rxjs/operators';
|
||||||
import { SupplyManagementService } from '../../services/order-management.service';
|
import { OrderManagementService } from '../../services/order-management.service';
|
||||||
import { UpdateFreightComponent } from '../../modal/bulk/update-freight/update-freight.component';
|
import { UpdateFreightComponent } from '../../modal/bulk/update-freight/update-freight.component';
|
||||||
import { ConfirReceiptComponent } from '../../modal/bulk/confir-receipt/confir-receipt.component';
|
import { ConfirReceiptComponent } from '../../modal/bulk/confir-receipt/confir-receipt.component';
|
||||||
import { SureDepartComponent } from '../../modal/bulk/sure-depart/sure-depart.component';
|
import { SureDepartComponent } from '../../modal/bulk/sure-depart/sure-depart.component';
|
||||||
@ -82,7 +82,7 @@ export class OrderManagementBulkComponent implements OnInit {
|
|||||||
count: 0,
|
count: 0,
|
||||||
},
|
},
|
||||||
];
|
];
|
||||||
constructor(public service: SupplyManagementService, private modal: NzModalService) { }
|
constructor(public service: OrderManagementService, private modal: NzModalService) { }
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 查询参数
|
* 查询参数
|
||||||
|
|||||||
@ -4,7 +4,7 @@ import { SFComponent, SFDateWidgetSchema, SFSchema, SFSelectWidgetSchema, SFUISc
|
|||||||
import { ModalHelper, _HttpClient } from '@delon/theme';
|
import { ModalHelper, _HttpClient } from '@delon/theme';
|
||||||
import { NzModalService } from 'ng-zorro-antd/modal';
|
import { NzModalService } from 'ng-zorro-antd/modal';
|
||||||
import { map } from 'rxjs/operators';
|
import { map } from 'rxjs/operators';
|
||||||
import { SupplyManagementService } from '../../services/order-management.service';
|
import { OrderManagementService } from '../../services/order-management.service';
|
||||||
|
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
@ -64,7 +64,7 @@ export class OrderManagementCarManageComponent implements OnInit {
|
|||||||
count: 0,
|
count: 0,
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
constructor(public service: SupplyManagementService, private modal: NzModalService) { }
|
constructor(public service: OrderManagementService, private modal: NzModalService) { }
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 查询参数
|
* 查询参数
|
||||||
|
|||||||
@ -4,7 +4,7 @@ import { SFComponent, SFDateWidgetSchema, SFSchema, SFSelectWidgetSchema, SFUISc
|
|||||||
import { ModalHelper, _HttpClient } from '@delon/theme';
|
import { ModalHelper, _HttpClient } from '@delon/theme';
|
||||||
import { NzModalService } from 'ng-zorro-antd/modal';
|
import { NzModalService } from 'ng-zorro-antd/modal';
|
||||||
import { map } from 'rxjs/operators';
|
import { map } from 'rxjs/operators';
|
||||||
import { SupplyManagementService } from '../../services/order-management.service';
|
import { OrderManagementService } from '../../services/order-management.service';
|
||||||
|
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
@ -60,7 +60,7 @@ export class OrderManagementComplaintComponent implements OnInit {
|
|||||||
count: 0,
|
count: 0,
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
constructor(public service: SupplyManagementService, private modal: NzModalService) { }
|
constructor(public service: OrderManagementService, private modal: NzModalService) { }
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 查询参数
|
* 查询参数
|
||||||
|
|||||||
@ -4,7 +4,7 @@ import { SFComponent, SFDateWidgetSchema, SFSchema, SFSelectWidgetSchema, SFUISc
|
|||||||
import { ModalHelper, _HttpClient } from '@delon/theme';
|
import { ModalHelper, _HttpClient } from '@delon/theme';
|
||||||
import { NzModalService } from 'ng-zorro-antd/modal';
|
import { NzModalService } from 'ng-zorro-antd/modal';
|
||||||
import { map } from 'rxjs/operators';
|
import { map } from 'rxjs/operators';
|
||||||
import { SupplyManagementService } from '../../services/order-management.service';
|
import { OrderManagementService } from '../../services/order-management.service';
|
||||||
|
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
@ -64,7 +64,7 @@ export class OrderManagementDriverManageComponent implements OnInit {
|
|||||||
count: 0,
|
count: 0,
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
constructor(public service: SupplyManagementService, private modal: NzModalService) { }
|
constructor(public service: OrderManagementService, private modal: NzModalService) { }
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 查询参数
|
* 查询参数
|
||||||
|
|||||||
@ -1,3 +1,11 @@
|
|||||||
|
/*
|
||||||
|
* @Author: your name
|
||||||
|
* @Date: 2021-12-06 20:30:17
|
||||||
|
* @LastEditTime: 2021-12-20 09:36:56
|
||||||
|
* @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\gaode-map\gaode-map.component.ts
|
||||||
|
*/
|
||||||
import { Component, Input, OnInit, Output, EventEmitter, OnDestroy } from '@angular/core';
|
import { Component, Input, OnInit, Output, EventEmitter, OnDestroy } from '@angular/core';
|
||||||
import { _HttpClient } from '@delon/theme';
|
import { _HttpClient } from '@delon/theme';
|
||||||
import { load } from '@amap/amap-jsapi-loader';
|
import { load } from '@amap/amap-jsapi-loader';
|
||||||
|
|||||||
@ -3,7 +3,7 @@ import { ActivatedRoute } from '@angular/router';
|
|||||||
import { SFComponent, SFSchema, SFSelectWidgetSchema, SFTextareaWidgetSchema, SFUISchema } from '@delon/form';
|
import { SFComponent, SFSchema, SFSelectWidgetSchema, SFTextareaWidgetSchema, SFUISchema } from '@delon/form';
|
||||||
import { _HttpClient } from '@delon/theme';
|
import { _HttpClient } from '@delon/theme';
|
||||||
import { NzModalService } from 'ng-zorro-antd/modal';
|
import { NzModalService } from 'ng-zorro-antd/modal';
|
||||||
import { SupplyManagementService } from '../../services/order-management.service';
|
import { OrderManagementService } from '../../services/order-management.service';
|
||||||
// import { RiskOrderService } from '../../services/risk-order.service';
|
// import { RiskOrderService } from '../../services/risk-order.service';
|
||||||
// import { CtcAppealComponent } from '../appeal/appeal.component';
|
// import { CtcAppealComponent } from '../appeal/appeal.component';
|
||||||
|
|
||||||
@ -26,7 +26,7 @@ export class OrderManagementRiskDetailComponent implements OnInit {
|
|||||||
i: any;
|
i: any;
|
||||||
datailList: any;
|
datailList: any;
|
||||||
id: string = '';
|
id: string = '';
|
||||||
constructor(private modal: NzModalService, public service: SupplyManagementService, public ar: ActivatedRoute) {
|
constructor(private modal: NzModalService, public service: OrderManagementService, public ar: ActivatedRoute) {
|
||||||
this.id = this.ar.snapshot.params.id;
|
this.id = this.ar.snapshot.params.id;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -1,7 +1,7 @@
|
|||||||
<!--
|
<!--
|
||||||
* @Author: your name
|
* @Author: your name
|
||||||
* @Date: 2021-12-03 11:10:14
|
* @Date: 2021-12-03 11:10:14
|
||||||
* @LastEditTime: 2021-12-16 17:22:31
|
* @LastEditTime: 2021-12-20 09:29:11
|
||||||
* @LastEditors: Please set LastEditors
|
* @LastEditors: Please set LastEditors
|
||||||
* @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
|
* @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
|
||||||
* @FilePath: \tms-obc-web\src\app\routes\supply-management\components\vehicle\vehicle.component.html
|
* @FilePath: \tms-obc-web\src\app\routes\supply-management\components\vehicle\vehicle.component.html
|
||||||
|
|||||||
@ -7,7 +7,7 @@ import { ShipperBaseService } from '@shared';
|
|||||||
import { NzModalService } from 'ng-zorro-antd/modal';
|
import { NzModalService } from 'ng-zorro-antd/modal';
|
||||||
import { of } from 'rxjs';
|
import { of } from 'rxjs';
|
||||||
import { map } from 'rxjs/operators';
|
import { map } from 'rxjs/operators';
|
||||||
import { SupplyManagementService } from '../../services/order-management.service';
|
import { OrderManagementService } from '../../services/order-management.service';
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
selector: 'app-supply-management-risk',
|
selector: 'app-supply-management-risk',
|
||||||
@ -36,7 +36,7 @@ export class OrderManagementRiskComponent implements OnInit {
|
|||||||
stayQuantity: 0
|
stayQuantity: 0
|
||||||
};
|
};
|
||||||
constructor(
|
constructor(
|
||||||
public service: SupplyManagementService,
|
public service: OrderManagementService,
|
||||||
public service2: ShipperBaseService,
|
public service2: ShipperBaseService,
|
||||||
private modal: NzModalService,
|
private modal: NzModalService,
|
||||||
public router: Router
|
public router: Router
|
||||||
|
|||||||
@ -1,7 +1,7 @@
|
|||||||
/*
|
/*
|
||||||
* @Author: your name
|
* @Author: your name
|
||||||
* @Date: 2021-12-03 15:31:52
|
* @Date: 2021-12-03 15:31:52
|
||||||
* @LastEditTime: 2021-12-06 20:34:43
|
* @LastEditTime: 2021-12-20 09:35:33
|
||||||
* @LastEditors: Please set LastEditors
|
* @LastEditors: Please set LastEditors
|
||||||
* @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
|
* @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
|
* @FilePath: \tms-obc-web\src\app\routes\order-management\components\vehicle-detail\vehicle-detail.component.ts
|
||||||
@ -12,7 +12,7 @@ import { STColumn } from '@delon/abc/st';
|
|||||||
import { _HttpClient } from '@delon/theme';
|
import { _HttpClient } from '@delon/theme';
|
||||||
import { NzMessageService } from 'ng-zorro-antd/message';
|
import { NzMessageService } from 'ng-zorro-antd/message';
|
||||||
import { NzModalService } from 'ng-zorro-antd/modal';
|
import { NzModalService } from 'ng-zorro-antd/modal';
|
||||||
import { SupplyManagementService } from '../../services/order-management.service';
|
import { OrderManagementService } from '../../services/order-management.service';
|
||||||
@Component({
|
@Component({
|
||||||
selector: 'app-supply-management-vehicle-detail',
|
selector: 'app-supply-management-vehicle-detail',
|
||||||
templateUrl: './vehicle-detail.component.html',
|
templateUrl: './vehicle-detail.component.html',
|
||||||
@ -30,7 +30,7 @@ export class OrderManagementVehicleDetailComponent implements OnInit {
|
|||||||
constructor(
|
constructor(
|
||||||
private route: ActivatedRoute,
|
private route: ActivatedRoute,
|
||||||
private msgSrv: NzMessageService,
|
private msgSrv: NzMessageService,
|
||||||
private service: SupplyManagementService,
|
private service: OrderManagementService,
|
||||||
private modalService: NzModalService
|
private modalService: NzModalService
|
||||||
) {
|
) {
|
||||||
|
|
||||||
|
|||||||
@ -1,7 +1,7 @@
|
|||||||
<!--
|
<!--
|
||||||
* @Author: your name
|
* @Author: your name
|
||||||
* @Date: 2021-12-03 11:10:14
|
* @Date: 2021-12-03 11:10:14
|
||||||
* @LastEditTime: 2021-12-14 10:21:33
|
* @LastEditTime: 2021-12-20 09:56:30
|
||||||
* @LastEditors: Please set LastEditors
|
* @LastEditors: Please set LastEditors
|
||||||
* @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
|
* @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
|
||||||
* @FilePath: \tms-obc-web\src\app\routes\supply-management\components\vehicle\vehicle.component.html
|
* @FilePath: \tms-obc-web\src\app\routes\supply-management\components\vehicle\vehicle.component.html
|
||||||
@ -47,7 +47,7 @@
|
|||||||
#st
|
#st
|
||||||
[bordered]="true"
|
[bordered]="true"
|
||||||
[scroll]="{ x: '2000px' }"
|
[scroll]="{ x: '2000px' }"
|
||||||
[data]="service.$api_get_bulkPage_list"
|
[data]="service.$api_get_getWholeBillDetail"
|
||||||
[columns]="columns"
|
[columns]="columns"
|
||||||
[req]="{ method: 'POST', allInBody: true, reName: { pi: 'pageIndex', ps: 'pageSize' }, params: reqParams }"
|
[req]="{ method: 'POST', allInBody: true, reName: { pi: 'pageIndex', ps: 'pageSize' }, params: reqParams }"
|
||||||
[res]="{ reName: { list: 'data.records', total: 'data.total' } }"
|
[res]="{ reName: { list: 'data.records', total: 'data.total' } }"
|
||||||
@ -55,8 +55,25 @@
|
|||||||
[loadingDelay]="500"
|
[loadingDelay]="500"
|
||||||
[loading]="service.http.loading"
|
[loading]="service.http.loading"
|
||||||
>
|
>
|
||||||
<ng-template st-row="goodsId" let-item let-index="index">
|
<ng-template st-row="billCode" let-item let-index="index">
|
||||||
<a [routerLink]="'/order-management/vehicle-detail/'+item.id">{{item.id}}</a>
|
<a [routerLink]="'/waybill-management/vehicle-detail/'+item.id">{{item.wayBillCode}}</a>
|
||||||
|
<div>
|
||||||
|
<span *ngIf="item?.wayBillStatus == 1">待接单</span>
|
||||||
|
<span *ngIf="item?.wayBillStatus == 2">待发车</span>
|
||||||
|
<span *ngIf="item?.wayBillStatus == 3">运输中</span>
|
||||||
|
<span *ngIf="item?.wayBillStatus == 4">待签收</span>
|
||||||
|
<span *ngIf="item?.wayBillStatus == 5">已完成</span>
|
||||||
|
<span *ngIf="item?.wayBillStatus == 6">已取消</span>
|
||||||
|
</div>
|
||||||
|
</ng-template>
|
||||||
|
<ng-template st-row="billExpenseDetailVOList" let-item let-index="index">
|
||||||
|
<div *ngFor="let i of item?.billExpenseDetailVOList; let ii = index">
|
||||||
|
<span >{{i?.costName}}:{{i?.price}}</span>
|
||||||
|
</div>
|
||||||
|
</ng-template>
|
||||||
|
<ng-template st-row="loadingTime" let-item let-index="index">
|
||||||
|
<div *ngIf="item?.loadingTime">装 | {{item?.loadingTime}}</div>
|
||||||
|
<div *ngIf="item?.unloadingTime">卸 | {{item?.unloadingTime}}</div>
|
||||||
</ng-template>
|
</ng-template>
|
||||||
<!-- <ng-template st-row="externalSn" let-item let-index="index">
|
<!-- <ng-template st-row="externalSn" let-item let-index="index">
|
||||||
<span class="mr-xs">{{111111}}</span>
|
<span class="mr-xs">{{111111}}</span>
|
||||||
@ -92,13 +109,14 @@
|
|||||||
multiSort
|
multiSort
|
||||||
size="small"
|
size="small"
|
||||||
[bordered]="true"
|
[bordered]="true"
|
||||||
[data]="datass"
|
[data]="service.$api_get_getWholeBillDetail"
|
||||||
[columns]="columnsFloat"
|
[columns]="columnsFloat"
|
||||||
[req]="{ method: 'POST', allInBody: true, reName: { pi: 'pageIndex', ps: 'pageSize' }, params: reqParams }"
|
[req]="{ method: 'POST', allInBody: true, reName: { pi: 'pageIndex', ps: 'pageSize' }, params: reqParams }"
|
||||||
[res]="{ reName: { list: 'data.records', total: 'data.total' } }"
|
[res]="{ reName: { list: 'data.records', total: 'data.total' } }"
|
||||||
[page]="{ show: true, showSize: true, pageSizes: [10, 20, 30, 50, 100, 200, 300, 500, 1000] }"
|
[page]="{ show: true, showSize: true, pageSizes: [10, 20, 30, 50, 100, 200, 300, 500, 1000] }"
|
||||||
[loadingDelay]="500"
|
[loadingDelay]="500"
|
||||||
>
|
>
|
||||||
|
|
||||||
</st>
|
</st>
|
||||||
</ng-container>
|
</ng-container>
|
||||||
<ng-template #nzModalFooter>
|
<ng-template #nzModalFooter>
|
||||||
|
|||||||
@ -10,7 +10,7 @@ import { VehicleConfirReceiptComponent } from '../../modal/vehicle/confir-receip
|
|||||||
import { VehicleSureArriveComponent } from '../../modal/vehicle/sure-arrive/sure-arrive.component';
|
import { VehicleSureArriveComponent } from '../../modal/vehicle/sure-arrive/sure-arrive.component';
|
||||||
import { VehicleSureDepartComponent } from '../../modal/vehicle/sure-depart/sure-depart.component';
|
import { VehicleSureDepartComponent } from '../../modal/vehicle/sure-depart/sure-depart.component';
|
||||||
import { VehicleUpdateFreightComponent } from '../../modal/vehicle/update-freight/update-freight.component';
|
import { VehicleUpdateFreightComponent } from '../../modal/vehicle/update-freight/update-freight.component';
|
||||||
import { SupplyManagementService } from '../../services/order-management.service';
|
import { OrderManagementService } from '../../services/order-management.service';
|
||||||
|
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
@ -80,7 +80,7 @@ export class OrderManagementVehicleComponent implements OnInit {
|
|||||||
count: 0,
|
count: 0,
|
||||||
},
|
},
|
||||||
];
|
];
|
||||||
constructor(public service: SupplyManagementService, private modal: NzModalService,public service2: ShipperBaseService,) { }
|
constructor(public service: OrderManagementService, private modal: NzModalService,public service2: ShipperBaseService,) { }
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 查询参数
|
* 查询参数
|
||||||
@ -117,9 +117,9 @@ export class OrderManagementVehicleComponent implements OnInit {
|
|||||||
type: 'string',
|
type: 'string',
|
||||||
title: '货源编号'
|
title: '货源编号'
|
||||||
},
|
},
|
||||||
externalResourceCode: {
|
shipperAppUserId: {
|
||||||
type: 'string',
|
type: 'string',
|
||||||
title: '外部订单号'
|
title: '货主'
|
||||||
},
|
},
|
||||||
loadingPlace: {
|
loadingPlace: {
|
||||||
type: 'string',
|
type: 'string',
|
||||||
@ -139,15 +139,6 @@ export class OrderManagementVehicleComponent implements OnInit {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
// driverName: {
|
|
||||||
// type: 'string',
|
|
||||||
// title: '承运司机',
|
|
||||||
// ui: {
|
|
||||||
// visibleIf: {
|
|
||||||
// _$expand: (value: boolean) => value,
|
|
||||||
// },
|
|
||||||
// }
|
|
||||||
// },
|
|
||||||
driverId: {
|
driverId: {
|
||||||
title: '承运司机',
|
title: '承运司机',
|
||||||
type: 'string',
|
type: 'string',
|
||||||
@ -171,61 +162,68 @@ export class OrderManagementVehicleComponent implements OnInit {
|
|||||||
}
|
}
|
||||||
} as SFSelectWidgetSchema
|
} as SFSelectWidgetSchema
|
||||||
},
|
},
|
||||||
no9: {
|
|
||||||
type: 'string',
|
carNo: {
|
||||||
title: '车牌号',
|
title: '车牌号',
|
||||||
ui: {
|
|
||||||
visibleIf: {
|
|
||||||
_$expand: (value: boolean) => value
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
no10: {
|
|
||||||
type: 'string',
|
type: 'string',
|
||||||
title: '收款人',
|
|
||||||
ui: {
|
|
||||||
visibleIf: {
|
|
||||||
_$expand: (value: boolean) => value
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
wayBillType: {
|
|
||||||
title: '运单类型',
|
|
||||||
type: 'string',
|
|
||||||
ui: {
|
|
||||||
widget: 'dict-select',
|
|
||||||
params: { dictKey: 'goodresourceType' },
|
|
||||||
containAllLable: true,
|
|
||||||
visibleIf: {
|
|
||||||
_$expand: (value: boolean) => value
|
|
||||||
}
|
|
||||||
} as SFSelectWidgetSchema
|
|
||||||
},
|
|
||||||
shipperId: {
|
|
||||||
title: '托运人',
|
|
||||||
type: 'string',
|
|
||||||
ui: {
|
|
||||||
widget: 'dict-select',
|
|
||||||
params: { dictKey: 'BulkFreightUnitPriceType' },
|
|
||||||
containAllLable: true,
|
|
||||||
visibleIf: {
|
|
||||||
_$expand: (value: boolean) => value
|
|
||||||
}
|
|
||||||
} as SFSelectWidgetSchema
|
|
||||||
},
|
|
||||||
enterpriseInfoName: {
|
|
||||||
type: 'string',
|
|
||||||
title: '网络货运人',
|
|
||||||
ui: {
|
ui: {
|
||||||
widget: 'select',
|
widget: 'select',
|
||||||
placeholder: '请选择',
|
serverSearch: true,
|
||||||
visibleIf: {
|
searchDebounceTime: 300,
|
||||||
_$expand: (value: boolean) => value
|
searchLoadingText: '搜索中...',
|
||||||
},
|
onSearch: (q: any) => {
|
||||||
allowClear: true,
|
if (!!q) {
|
||||||
asyncData: () => this.service2.getNetworkFreightForwarder()
|
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,
|
||||||
|
},
|
||||||
|
} as SFSelectWidgetSchema,
|
||||||
|
},
|
||||||
createTime: {
|
createTime: {
|
||||||
title: '创建时间',
|
title: '创建时间',
|
||||||
type: 'string',
|
type: 'string',
|
||||||
@ -237,7 +235,63 @@ export class OrderManagementVehicleComponent implements OnInit {
|
|||||||
_$expand: (value: boolean) => value
|
_$expand: (value: boolean) => value
|
||||||
}
|
}
|
||||||
} as SFDateWidgetSchema
|
} as SFDateWidgetSchema
|
||||||
}
|
},
|
||||||
|
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(),
|
||||||
|
},
|
||||||
|
},
|
||||||
|
goodsName: {
|
||||||
|
type: 'string',
|
||||||
|
title: '货物名称',
|
||||||
|
ui: {
|
||||||
|
widget: 'select',
|
||||||
|
placeholder: '请选择',
|
||||||
|
visibleIf: {
|
||||||
|
_$expand: (value: boolean) => value,
|
||||||
|
},
|
||||||
|
allowClear: true,
|
||||||
|
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'
|
type: 'object'
|
||||||
};
|
};
|
||||||
@ -260,17 +314,18 @@ export class OrderManagementVehicleComponent implements OnInit {
|
|||||||
title: '运费明细',
|
title: '运费明细',
|
||||||
width: '100px',
|
width: '100px',
|
||||||
className: 'text-center',
|
className: 'text-center',
|
||||||
index: 'externalSn',
|
render: 'billExpenseDetailVOList',
|
||||||
},
|
},
|
||||||
{ title: '网络货运人', index: 'externalSn', width: '120px', className: 'text-center' },
|
{ title: '网络货运人', index: 'enterpriseInfoId', width: '120px', className: 'text-center' },
|
||||||
{ title: '货主', index: 'externalSn', width: '120px', className: 'text-center' },
|
{ title: '货主', index: 'shipperAppUserId', width: '120px', className: 'text-center' },
|
||||||
{ title: '关联运单号', index: 'linkUrl', width: '120px', className: 'text-center' },
|
{ title: '关联运单号', index: 'linkUrl', width: '120px', className: 'text-center' },
|
||||||
{ title: '货源编号', index: 'linkUrl', width: '120px', className: 'text-center' },
|
{ title: '货源编号', index: 'resourceCode', width: '120px', className: 'text-center' },
|
||||||
{ title: '装货地', index: 'linkUrl', width: '120px', className: 'text-center' },
|
{ title: '装货地', index: 'loadingPlace', width: '120px', className: 'text-center' },
|
||||||
{
|
{
|
||||||
title: '卸货地',
|
title: '卸货地',
|
||||||
className: 'text-center',
|
className: 'text-center',
|
||||||
width: '120px',
|
width: '120px',
|
||||||
|
index: 'dischargePlace'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '货物信息',
|
title: '货物信息',
|
||||||
@ -280,33 +335,24 @@ export class OrderManagementVehicleComponent implements OnInit {
|
|||||||
title: '承运司机',
|
title: '承运司机',
|
||||||
className: 'text-center',
|
className: 'text-center',
|
||||||
width: '120px',
|
width: '120px',
|
||||||
},
|
index: 'driverId'
|
||||||
{
|
|
||||||
title: '承运司机',
|
|
||||||
className: 'text-center',
|
|
||||||
width: '120px',
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '收款人',
|
title: '收款人',
|
||||||
className: 'text-center',
|
className: 'text-center',
|
||||||
index: 'enStatusStr2',
|
index: 'payeeId',
|
||||||
type: 'badge',
|
|
||||||
width: '100px',
|
width: '100px',
|
||||||
badge: {
|
|
||||||
正常: { text: '正常', color: 'success' },
|
|
||||||
冻结: { text: '冻结', color: 'warning' },
|
|
||||||
废弃: { text: '废弃', color: 'default' },
|
|
||||||
},
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '装卸货时间',
|
title: '装卸货时间',
|
||||||
width: '170px',
|
width: '170px',
|
||||||
className: 'text-center',
|
className: 'text-center',
|
||||||
|
render: 'loadingTime'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '创建时间',
|
title: '创建时间',
|
||||||
className: 'text-center',
|
className: 'text-center',
|
||||||
index: 'enStatusStr3',
|
index: 'createTime',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '操作',
|
title: '操作',
|
||||||
|
|||||||
@ -1,7 +1,7 @@
|
|||||||
/*
|
/*
|
||||||
* @Author: your name
|
* @Author: your name
|
||||||
* @Date: 2021-12-03 15:31:52
|
* @Date: 2021-12-03 15:31:52
|
||||||
* @LastEditTime: 2021-12-16 16:54:25
|
* @LastEditTime: 2021-12-20 10:00:25
|
||||||
* @LastEditors: Please set LastEditors
|
* @LastEditors: Please set LastEditors
|
||||||
* @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
|
* @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
|
||||||
* @FilePath: \tms-obc-web\src\app\routes\order-management\services\order-management.service.ts
|
* @FilePath: \tms-obc-web\src\app\routes\order-management\services\order-management.service.ts
|
||||||
@ -12,7 +12,7 @@ import { BaseService } from 'src/app/shared/services';
|
|||||||
@Injectable({
|
@Injectable({
|
||||||
providedIn: 'root'
|
providedIn: 'root'
|
||||||
})
|
})
|
||||||
export class SupplyManagementService extends BaseService {
|
export class OrderManagementService extends BaseService {
|
||||||
|
|
||||||
$api_get_catalogue_member = `/user?_allow_anonymous=true`;
|
$api_get_catalogue_member = `/user?_allow_anonymous=true`;
|
||||||
$api_get_bulkPage_list = `/api/sdc/goodsResourceOperate/listBulkPage`;
|
$api_get_bulkPage_list = `/api/sdc/goodsResourceOperate/listBulkPage`;
|
||||||
@ -28,6 +28,12 @@ export class SupplyManagementService extends BaseService {
|
|||||||
$api_get_getRiskDetail = `/api/sdc/billRiskOperate/getRiskDetail`;
|
$api_get_getRiskDetail = `/api/sdc/billRiskOperate/getRiskDetail`;
|
||||||
// 风险单审核
|
// 风险单审核
|
||||||
$api_get_listRisk_audit = `/api/sdc/billRiskOperate/audit`;
|
$api_get_listRisk_audit = `/api/sdc/billRiskOperate/audit`;
|
||||||
|
// 查询整车订单列表
|
||||||
|
$api_get_listWholePage = `/api/sdc/billOperate/listWholePage`;
|
||||||
|
// 整车详情
|
||||||
|
$api_get_getWholeBillDetail = `/api/sdc/billOperate/getWholeBillDetail`;
|
||||||
|
// 根据车牌号查询车辆信息
|
||||||
|
$api_get_getCarLicenseListByCarNo= `/api/mdc/cuc/carLicenseAudit/operate/getCarLicenseListByCarNo`;
|
||||||
constructor(public injector: Injector) {
|
constructor(public injector: Injector) {
|
||||||
super(injector)
|
super(injector)
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,8 +1,8 @@
|
|||||||
/*
|
/*
|
||||||
* @Author: your name
|
* @Author: your name
|
||||||
* @Date: 2021-12-14 20:08:17
|
* @Date: 2021-12-14 20:08:17
|
||||||
* @LastEditTime: 2021-12-14 20:08:55
|
* @LastEditTime: 2021-12-20 09:35:13
|
||||||
* @LastEditors: your name
|
* @LastEditors: Please set LastEditors
|
||||||
* @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
|
* @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
|
||||||
* @FilePath: \tms-obc-web\src\app\routes\supply-management\components\onecar-publish\address-list\address-list.component.ts
|
* @FilePath: \tms-obc-web\src\app\routes\supply-management\components\onecar-publish\address-list\address-list.component.ts
|
||||||
*/
|
*/
|
||||||
@ -12,7 +12,7 @@ import { STChange, STColumn, STComponent, STRequestOptions } from '@delon/abc/st
|
|||||||
import { processSingleSort } from '@shared';
|
import { processSingleSort } from '@shared';
|
||||||
import { NzDrawerService } from 'ng-zorro-antd/drawer';
|
import { NzDrawerService } from 'ng-zorro-antd/drawer';
|
||||||
import { NzModalService } from 'ng-zorro-antd/modal';
|
import { NzModalService } from 'ng-zorro-antd/modal';
|
||||||
import { SupplyManagementService } from 'src/app/routes/order-management/services/order-management.service';
|
import { OrderManagementService } from 'src/app/routes/order-management/services/order-management.service';
|
||||||
|
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
@ -32,7 +32,7 @@ export class PublishAddressListComponent implements OnInit {
|
|||||||
public router: Router,
|
public router: Router,
|
||||||
public ar: ActivatedRoute,
|
public ar: ActivatedRoute,
|
||||||
private drawerService: NzDrawerService,
|
private drawerService: NzDrawerService,
|
||||||
public service: SupplyManagementService,
|
public service: OrderManagementService,
|
||||||
private modalService: NzModalService
|
private modalService: NzModalService
|
||||||
) {}
|
) {}
|
||||||
|
|
||||||
|
|||||||
@ -1,7 +1,7 @@
|
|||||||
<!--
|
<!--
|
||||||
* @Author: your name
|
* @Author: your name
|
||||||
* @Date: 2021-12-03 11:10:14
|
* @Date: 2021-12-03 11:10:14
|
||||||
* @LastEditTime: 2021-12-17 16:41:28
|
* @LastEditTime: 2021-12-18 16:20:23
|
||||||
* @LastEditors: Please set LastEditors
|
* @LastEditors: Please set LastEditors
|
||||||
* @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
|
* @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
|
||||||
* @FilePath: \tms-obc-web\src\app\routes\supply-management\components\vehicle\vehicle.component.html
|
* @FilePath: \tms-obc-web\src\app\routes\supply-management\components\vehicle\vehicle.component.html
|
||||||
@ -41,7 +41,7 @@
|
|||||||
<nz-tab [nzTitle]="'全部'"></nz-tab>
|
<nz-tab [nzTitle]="'全部'"></nz-tab>
|
||||||
<nz-tab [nzTitle]="'待发车('+tabs?.receivedQuantity+')'"></nz-tab>
|
<nz-tab [nzTitle]="'待发车('+tabs?.receivedQuantity+')'"></nz-tab>
|
||||||
<nz-tab [nzTitle]="'运输中('+tabs?.cancelQuantity+')'"></nz-tab>
|
<nz-tab [nzTitle]="'运输中('+tabs?.cancelQuantity+')'"></nz-tab>
|
||||||
<nz-tab [nzTitle]="'待签收('+tabs?.cancelQuantity+')'"></nz-tab>
|
<nz-tab [nzTitle]="'待签收('+tabs?.signQuantity+')'"></nz-tab>
|
||||||
<nz-tab [nzTitle]="'已完成'"></nz-tab>
|
<nz-tab [nzTitle]="'已完成'"></nz-tab>
|
||||||
<nz-tab [nzTitle]="'已取消'"></nz-tab>
|
<nz-tab [nzTitle]="'已取消'"></nz-tab>
|
||||||
</nz-tabset>
|
</nz-tabset>
|
||||||
|
|||||||
@ -50,7 +50,7 @@ export class WaybillManagementBulkComponent implements OnInit {
|
|||||||
},
|
},
|
||||||
];
|
];
|
||||||
tabs = {
|
tabs = {
|
||||||
totalQuantity: 0,
|
signQuantity: 0,
|
||||||
cancelQuantity: 0,
|
cancelQuantity: 0,
|
||||||
receivedQuantity: 0,
|
receivedQuantity: 0,
|
||||||
stayQuantity: 0
|
stayQuantity: 0
|
||||||
@ -76,6 +76,7 @@ tabs = {
|
|||||||
ngOnInit(): void {
|
ngOnInit(): void {
|
||||||
this.initSF();
|
this.initSF();
|
||||||
this.initST();
|
this.initST();
|
||||||
|
this.getGoodsSourceStatistical()
|
||||||
this.initSTFloat();
|
this.initSTFloat();
|
||||||
this.initSTFloatView();
|
this.initSTFloatView();
|
||||||
this.initSFView();
|
this.initSFView();
|
||||||
@ -90,7 +91,7 @@ tabs = {
|
|||||||
this.schema = {
|
this.schema = {
|
||||||
properties: {
|
properties: {
|
||||||
_$expand: { type: 'boolean', ui: { hidden: true } },
|
_$expand: { type: 'boolean', ui: { hidden: true } },
|
||||||
no: {
|
wayBillCode: {
|
||||||
type: 'string',
|
type: 'string',
|
||||||
title: '运单号',
|
title: '运单号',
|
||||||
},
|
},
|
||||||
@ -577,4 +578,28 @@ tabs = {
|
|||||||
console.log(item)
|
console.log(item)
|
||||||
this.isVisibleEvaluate = true
|
this.isVisibleEvaluate = true
|
||||||
}
|
}
|
||||||
|
getGoodsSourceStatistical() {
|
||||||
|
this.service.request(this.service.$api_get_getBulkStatistics).subscribe(res => {
|
||||||
|
if (res) {
|
||||||
|
res.forEach((ele: any) => {
|
||||||
|
switch(ele.wayBillStatus) {
|
||||||
|
case '1':
|
||||||
|
this.tabs.stayQuantity = ele?.count;
|
||||||
|
break;
|
||||||
|
case '2':
|
||||||
|
this.tabs.receivedQuantity = ele?.count;
|
||||||
|
break;
|
||||||
|
case '3':
|
||||||
|
this.tabs.cancelQuantity = ele?.count;
|
||||||
|
break;
|
||||||
|
case '4':
|
||||||
|
this.tabs.signQuantity = ele?.count;
|
||||||
|
break;
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
});
|
||||||
|
}
|
||||||
|
})
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,7 +1,7 @@
|
|||||||
<!--
|
<!--
|
||||||
* @Author: your name
|
* @Author: your name
|
||||||
* @Date: 2021-12-03 15:31:52
|
* @Date: 2021-12-03 15:31:52
|
||||||
* @LastEditTime: 2021-12-17 14:56:09
|
* @LastEditTime: 2021-12-20 10:12:37
|
||||||
* @LastEditors: Please set LastEditors
|
* @LastEditors: Please set LastEditors
|
||||||
* @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
|
* @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.html
|
* @FilePath: \tms-obc-web\src\app\routes\order-management\components\vehicle-detail\vehicle-detail.component.html
|
||||||
@ -96,11 +96,9 @@
|
|||||||
<h3>运费信息</h3>
|
<h3>运费信息</h3>
|
||||||
<div class="text-right">
|
<div class="text-right">
|
||||||
<p><label class="freigth-label">收款人:</label><span>{{i?.payee?.name}} /{{i?.payee?.phone}} / {{i?.payee?.phone}}</span></p>
|
<p><label class="freigth-label">收款人:</label><span>{{i?.payee?.name}} /{{i?.payee?.phone}} / {{i?.payee?.phone}}</span></p>
|
||||||
<p><label class="freigth-label">预付:</label><span>{{400 | currency: '¥' }}</span></p>
|
<div *ngFor="let item of i?.billExpenseDetailVOList">
|
||||||
<p><label class="freigth-label">油卡:</label><span>{{400 | currency: '¥' }}</span></p>
|
<p><label class="freigth-label">{{item?.costName}}:</label><span>{{ item?.price| currency: '¥' }}</span></p>
|
||||||
<p><label class="freigth-label">到付:</label><span>{{400 | currency: '¥' }}</span></p>
|
</div>
|
||||||
<p><label class="freigth-label">回单付:</label><span>{{400 | currency: '¥'}}</span></p>
|
|
||||||
<p><label class="freigth-label">附加费:</label><span>{{400 | currency: '¥' }}</span></p>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<nz-divider></nz-divider>
|
<nz-divider></nz-divider>
|
||||||
|
|||||||
@ -1,7 +1,7 @@
|
|||||||
<!--
|
<!--
|
||||||
* @Author: your name
|
* @Author: your name
|
||||||
* @Date: 2021-12-03 11:10:14
|
* @Date: 2021-12-03 11:10:14
|
||||||
* @LastEditTime: 2021-12-17 14:16:57
|
* @LastEditTime: 2021-12-18 16:17:40
|
||||||
* @LastEditors: Please set LastEditors
|
* @LastEditors: Please set LastEditors
|
||||||
* @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
|
* @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
|
||||||
* @FilePath: \tms-obc-web\src\app\routes\supply-management\components\vehicle\vehicle.component.html
|
* @FilePath: \tms-obc-web\src\app\routes\supply-management\components\vehicle\vehicle.component.html
|
||||||
@ -42,7 +42,7 @@
|
|||||||
<nz-tab [nzTitle]="'待接单('+tabs?.stayQuantity+')'"></nz-tab>
|
<nz-tab [nzTitle]="'待接单('+tabs?.stayQuantity+')'"></nz-tab>
|
||||||
<nz-tab [nzTitle]="'待发车('+tabs?.receivedQuantity+')'"></nz-tab>
|
<nz-tab [nzTitle]="'待发车('+tabs?.receivedQuantity+')'"></nz-tab>
|
||||||
<nz-tab [nzTitle]="'运输中('+tabs?.cancelQuantity+')'"></nz-tab>
|
<nz-tab [nzTitle]="'运输中('+tabs?.cancelQuantity+')'"></nz-tab>
|
||||||
<nz-tab [nzTitle]="'待签收('+tabs?.cancelQuantity+')'"></nz-tab>
|
<nz-tab [nzTitle]="'待签收('+tabs?.signQuantity+')'"></nz-tab>
|
||||||
<nz-tab [nzTitle]="'已完成'"></nz-tab>
|
<nz-tab [nzTitle]="'已完成'"></nz-tab>
|
||||||
<nz-tab [nzTitle]="'已取消'"></nz-tab>
|
<nz-tab [nzTitle]="'已取消'"></nz-tab>
|
||||||
</nz-tabset>
|
</nz-tabset>
|
||||||
|
|||||||
@ -46,7 +46,7 @@ export class WaybillManagementVehicleComponent implements OnInit {
|
|||||||
},
|
},
|
||||||
];
|
];
|
||||||
tabs = {
|
tabs = {
|
||||||
totalQuantity: 0,
|
signQuantity: 0,
|
||||||
cancelQuantity: 0,
|
cancelQuantity: 0,
|
||||||
receivedQuantity: 0,
|
receivedQuantity: 0,
|
||||||
stayQuantity: 0
|
stayQuantity: 0
|
||||||
@ -72,6 +72,7 @@ tabs = {
|
|||||||
ngOnInit(): void {
|
ngOnInit(): void {
|
||||||
this.initSF();
|
this.initSF();
|
||||||
this.initST();
|
this.initST();
|
||||||
|
this.getGoodsSourceStatistical()
|
||||||
this.initSTFloat();
|
this.initSTFloat();
|
||||||
this.initSTFloatView();
|
this.initSTFloatView();
|
||||||
}
|
}
|
||||||
@ -85,7 +86,7 @@ tabs = {
|
|||||||
this.schema = {
|
this.schema = {
|
||||||
properties: {
|
properties: {
|
||||||
_$expand: { type: 'boolean', ui: { hidden: true } },
|
_$expand: { type: 'boolean', ui: { hidden: true } },
|
||||||
no: {
|
wayBillCodeno: {
|
||||||
type: 'string',
|
type: 'string',
|
||||||
title: '运单号',
|
title: '运单号',
|
||||||
},
|
},
|
||||||
@ -486,4 +487,28 @@ tabs = {
|
|||||||
console.log(item)
|
console.log(item)
|
||||||
this.isVisibleEvaluate = true
|
this.isVisibleEvaluate = true
|
||||||
}
|
}
|
||||||
|
getGoodsSourceStatistical() {
|
||||||
|
this.service.request(this.service.$api_get_getWholeStatistics).subscribe(res => {
|
||||||
|
if (res) {
|
||||||
|
res.forEach((ele: any) => {
|
||||||
|
switch(ele.wayBillStatus) {
|
||||||
|
case '1':
|
||||||
|
this.tabs.stayQuantity = ele?.count;
|
||||||
|
break;
|
||||||
|
case '2':
|
||||||
|
this.tabs.receivedQuantity = ele?.count;
|
||||||
|
break;
|
||||||
|
case '3':
|
||||||
|
this.tabs.cancelQuantity = ele?.count;
|
||||||
|
break;
|
||||||
|
case '4':
|
||||||
|
this.tabs.signQuantity = ele?.count;
|
||||||
|
break;
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
});
|
||||||
|
}
|
||||||
|
})
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,7 +1,7 @@
|
|||||||
/*
|
/*
|
||||||
* @Author: your name
|
* @Author: your name
|
||||||
* @Date: 2021-12-07 14:52:29
|
* @Date: 2021-12-07 14:52:29
|
||||||
* @LastEditTime: 2021-12-17 16:10:46
|
* @LastEditTime: 2021-12-18 16:06:43
|
||||||
* @LastEditors: Please set LastEditors
|
* @LastEditors: Please set LastEditors
|
||||||
* @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
|
* @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
|
* @FilePath: \tms-obc-web\src\app\routes\waybill-management\services\waybill-management.service.ts
|
||||||
@ -28,6 +28,11 @@ export class SupplyManagementService extends BaseService {
|
|||||||
// 查询大宗运单详情-运营后台
|
// 查询大宗运单详情-运营后台
|
||||||
$api_get_getBulkDetail = `/api/sdc/wayBillOperate/getBulkDetail`;
|
$api_get_getBulkDetail = `/api/sdc/wayBillOperate/getBulkDetail`;
|
||||||
|
|
||||||
|
// 整车运单分类统计
|
||||||
|
$api_get_getWholeStatistics = `/api/sdc/wayBillOperate/getWholeStatistics`;
|
||||||
|
// 大宗运单分类统计
|
||||||
|
$api_get_getBulkStatistics = `/api/sdc/wayBillOperate/getBulkStatistics`;
|
||||||
|
|
||||||
// 根据车牌号查询车辆信息
|
// 根据车牌号查询车辆信息
|
||||||
$api_get_getCarLicenseListByCarNo= `/api/mdc/cuc/carLicenseAudit/operate/getCarLicenseListByCarNo`;
|
$api_get_getCarLicenseListByCarNo= `/api/mdc/cuc/carLicenseAudit/operate/getCarLicenseListByCarNo`;
|
||||||
constructor(public injector: Injector) {
|
constructor(public injector: Injector) {
|
||||||
|
|||||||
Reference in New Issue
Block a user