车辆接口更新
This commit is contained in:
@ -4,7 +4,7 @@
|
||||
* @Author : Shiming
|
||||
* @Date : 2022-01-12 10:52:50
|
||||
* @LastEditors : Shiming
|
||||
* @LastEditTime : 2022-01-21 11:17:05
|
||||
* @LastEditTime : 2022-01-21 16:57:10
|
||||
* @FilePath : \\tms-obc-web\\src\\app\\routes\\order-management\\components\\receipts-audit\\receipts-audit.component.html
|
||||
* Copyright (C) 2022 huzhenhong. All rights reserved.
|
||||
-->
|
||||
@ -61,6 +61,16 @@
|
||||
<ng-template st-row="freightPrice" let-item let-index="index">
|
||||
{{ item.freightPrice | currency}}
|
||||
</ng-template>
|
||||
<ng-template st-row="loadingLadingBillFilePath" let-item let-index="index">
|
||||
<div>
|
||||
<span><img [src]="item.loadingLadingBillFilePath" alt=""></span>
|
||||
<span><img [src]="item.loadingPeopleVehiclesGoodsFilePath" alt=""></span>
|
||||
</div>
|
||||
</ng-template>
|
||||
<ng-template st-row="unloadingLadingBillFilePath" let-item let-index="index">
|
||||
<span><img [src]="item.unloadingLadingBillFilePath" alt=""></span>
|
||||
<span><img [src]="item.unloadingPeopleVehiclesGoodsFilePath" alt=""></span>
|
||||
</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>
|
||||
|
||||
@ -32,12 +32,8 @@ export class OrderManagementReceiptsAuditComponent implements OnInit {
|
||||
columns: STColumn[] = [];
|
||||
resourceStatus: any;
|
||||
tabs = {
|
||||
cancelQuantity: 0,
|
||||
receivedQuantity: 0,
|
||||
stayQuantity: 0,
|
||||
signQuantity: 0,
|
||||
compolatelQuantity: 0,
|
||||
GoingQuantity: 0,
|
||||
totalCount: 0
|
||||
};
|
||||
constructor(
|
||||
@ -75,15 +71,13 @@ export class OrderManagementReceiptsAuditComponent implements OnInit {
|
||||
}
|
||||
getGoodsSourceStatistical() {
|
||||
this.tabs = {
|
||||
cancelQuantity: 0,
|
||||
receivedQuantity: 0,
|
||||
stayQuantity: 0,
|
||||
signQuantity: 0,
|
||||
compolatelQuantity: 0,
|
||||
GoingQuantity: 0,
|
||||
totalCount: 0
|
||||
};
|
||||
this.service.request(this.service.$api_getBulkStatistical, { ...this.reqParams }).subscribe(res => {
|
||||
const params: any = Object.assign({}, this.reqParams || {});
|
||||
delete params.billStatus
|
||||
this.service.request(this.service.$api_get_getAuditStatistical, { ...this.reqParams }).subscribe(res => {
|
||||
if (res) {
|
||||
let totalCount = 0;
|
||||
res.forEach((element: any) => {
|
||||
@ -324,13 +318,13 @@ export class OrderManagementReceiptsAuditComponent implements OnInit {
|
||||
title: '装货凭证',
|
||||
width: '180px',
|
||||
className: 'text-left',
|
||||
index: 'createTime'
|
||||
render: 'loadingLadingBillFilePath'
|
||||
},
|
||||
{
|
||||
title: '卸货凭证',
|
||||
width: '180px',
|
||||
className: 'text-left',
|
||||
index: 'createTime'
|
||||
render: 'unloadingLadingBillFilePath'
|
||||
},
|
||||
{
|
||||
title: '操作',
|
||||
|
||||
Reference in New Issue
Block a user