合同
This commit is contained in:
@ -7,19 +7,19 @@
|
||||
</page-header-wrapper>
|
||||
<nz-card>
|
||||
<div nz-row>
|
||||
<div nz-col nzSpan="4">
|
||||
<div nz-col nzSpan="6">
|
||||
<sv-container class="bdr">
|
||||
<sv label="货源编号" col="1">{{ dataList?.resourceCode }}</sv>
|
||||
<sv-title class="text-center text-lg">
|
||||
<span *ngIf="dataList?.resourceStatus === 1">待接单</span>
|
||||
<span *ngIf="dataList?.resourceStatus === 2">已接单</span>
|
||||
<span *ngIf="dataList?.resourceStatus === 3">已取消</span>
|
||||
<span *ngIf="dataList?.resourceType === 1">待接单</span>
|
||||
<span *ngIf="dataList?.resourceType === 2">已接单</span>
|
||||
<span *ngIf="dataList?.resourceType === 3">已取消</span>
|
||||
</sv-title>
|
||||
<sv-title>
|
||||
<div class="">
|
||||
<a class="btn-size">修改单价</a>
|
||||
<a class="btn-size" (click)="modification()">修改货源</a>
|
||||
<a class="btn-size m-lg mr-lg">取消货源</a>
|
||||
<a class="btn-size">再下一单</a>
|
||||
<a class="btn-size" (click)="nextOrder()">再下一单</a>
|
||||
</div>
|
||||
</sv-title>
|
||||
</sv-container>
|
||||
@ -99,17 +99,18 @@
|
||||
<div class="freight-info-box">
|
||||
<h3 style="font-weight: 700;">运费信息</h3>
|
||||
<div class="text-right">
|
||||
<div *ngFor="let item of dataList?.expenseList; let i = index">
|
||||
<p *ngIf="i === 0"><label class="freigth-label"></label><span style="color: #fad786;">{{'到货后15天内支付运费' }}</span></p>
|
||||
<p><label class="freigth-label">{{item?.expenseName}}:</label><span>{{item.price | currency:'¥' }}</span></p>
|
||||
<p><label class="freigth-label">附加费:</label><span>{{400 | currency:'¥' }}</span></p>
|
||||
</div>
|
||||
<p>预付:{{dataList?.expenseList?.prePay | currency: '¥' }}</p>
|
||||
<p>油卡:{{dataList?.expenseList?.oilCardPay | currency: '¥'}}</p>
|
||||
<p>到付:{{dataList?.expenseList?.toPay | currency: '¥'}}</p>
|
||||
<p>回单付:{{dataList?.expenseList?.receiptPay | currency: '¥'}}</p>
|
||||
<p>保险费:{{dataList?.expenseList?.insuranceFee | currency: '¥'}}</p>
|
||||
<p>附加费保险费:{{dataList?.expenseList?.appendFee | currency: '¥'}}</p>
|
||||
</div>
|
||||
</div>
|
||||
<nz-divider></nz-divider>
|
||||
<div class="freight-info-box" nz-row>
|
||||
<div nz-col nzSpan="24">
|
||||
<h3 class="text-right"><label>总计 :</label> <span class="text-error-dark text-xl">{{400 | currency }}</span></h3>
|
||||
<h3 class="text-right"><label>总计 :</label> <span class="text-error-dark text-xl">{{dataList?.expenseList?.totalFee | currency: '¥' }}</span></h3>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
@ -1,13 +1,13 @@
|
||||
/*
|
||||
* @Author: your name
|
||||
* @Date: 2021-12-03 11:10:14
|
||||
* @LastEditTime: 2021-12-08 10:21:11
|
||||
* @LastEditTime: 2021-12-08 14:35:47
|
||||
* @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\supply-management\components\vehicle-detail\vehicle-detail.component.ts
|
||||
*/
|
||||
import { Component, OnInit } from '@angular/core';
|
||||
import { ActivatedRoute } from '@angular/router';
|
||||
import { ActivatedRoute, Router } from '@angular/router';
|
||||
import { STColumn } from '@delon/abc/st';
|
||||
import { _HttpClient } from '@delon/theme';
|
||||
import { NzMessageService } from 'ng-zorro-antd/message';
|
||||
@ -33,6 +33,7 @@ export class SupplyManagementVehicleDetailComponent implements OnInit {
|
||||
private route: ActivatedRoute,
|
||||
private msgSrv: NzMessageService,
|
||||
private service: SupplyManagementService,
|
||||
private router: Router,private ar: ActivatedRoute
|
||||
) {
|
||||
|
||||
}
|
||||
@ -54,7 +55,18 @@ export class SupplyManagementVehicleDetailComponent implements OnInit {
|
||||
this.dataList = res
|
||||
})
|
||||
}
|
||||
|
||||
// 修改货源
|
||||
modification() {
|
||||
this.router.navigate(['/supply-management/vehicle-amend', this.id], {
|
||||
relativeTo: this.ar
|
||||
})
|
||||
}
|
||||
// 再下一单
|
||||
nextOrder() {
|
||||
this.router.navigate(['/supply-management/vehicle-amend', this.id], {
|
||||
relativeTo: this.ar
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user