车辆对接

This commit is contained in:
wangshiming
2021-12-24 17:50:47 +08:00
parent 3fa2476b52
commit adaaebee99
12 changed files with 1346 additions and 50 deletions

View File

@ -1,7 +1,8 @@
import { Router } from '@angular/router';
/*
* @Author: your name
* @Date: 2021-12-03 15:31:52
* @LastEditTime: 2021-12-22 10:02:00
* @LastEditTime: 2021-12-24 17:40:51
* @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
@ -23,12 +24,12 @@ export class OrderManagementBulkeDetailComponent implements OnInit {
id = this.route.snapshot.params.id;
i: any;
imges: any;
isVisible = false;
logColumns: STColumn[] = [
{ title: '款项', index: 'costName' },
{ title: '总费用(元)', index: 'price' },
{ title: '协议金额(元)', index: 'price' },
{ title: '款项', index: 'expenseName' },
{ title: '运输费(元)', index: 'price' },
{ title: '附加费(元)', index: 'surcharge' },
{ title: '附加费率(%', index: 'paymentMethodRate' },
{ title: '支付时间', index: ' paymentTime' },
{
title: '支付状态',
@ -49,6 +50,7 @@ export class OrderManagementBulkeDetailComponent implements OnInit {
private route: ActivatedRoute,
private msgSrv: NzMessageService,
private service: OrderManagementService,
private router: Router,
) {
}
@ -72,4 +74,23 @@ export class OrderManagementBulkeDetailComponent implements OnInit {
goBack() {
window.history.go(-1);
}
// 修改订单
changeOrder() {
console.log(this.id)
this.router.navigate(['order-management/bulk-detailChange', this.id])
}
agreement(value: any) {
if(value === '1') {
this.imges = this.i?.supplementAgreement
} else if (value === '2') {
this.imges = this.i?.supplementAgreement
}
this.isVisible = true;
}
handleCancel() {
this.isVisible = false
}
handleOK() {
this.isVisible = false
}
}