This commit is contained in:
wangshiming
2021-12-07 14:03:37 +08:00
parent 0ab4631163
commit ffbacadff4
5 changed files with 80 additions and 117 deletions

View File

@ -1,7 +1,7 @@
<!--
* @Author: your name
* @Date: 2021-12-03 11:10:14
* @LastEditTime: 2021-12-07 11:16:41
* @LastEditTime: 2021-12-07 14:03:28
* @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\vehicle.component.html
@ -90,7 +90,7 @@
</ng-template>
</nz-modal>
<nz-modal [(nzVisible)]="isVisibleRE" [nzWidth]="600" [nzFooter]="nzModalFooterview2" (nzOnOk)="handleOK()" (nzOnCancel)="handleCancel('1')">
<nz-modal [(nzVisible)]="isVisibleRE" [nzWidth]="600" [nzFooter]="nzModalFooterview2" (nzOnOk)="handleOK()" nzTitle="驳回" (nzOnCancel)="handleCancel('1')">
<ng-container *nzModalContent>
<sf #sfView [schema]="schemaView" [ui]="uiView" [compact]="true" [button]="'none'">
</sf>

View File

@ -43,33 +43,23 @@ export class OrderManagementCarManageComponent implements OnInit {
id: 2
},
];
tabs = [ {
tabs = [ {
name: '全部',
type: 5,
count: 0,
},
{
name: '检测中',
name: '待审核',
type: 5,
count: 0,
},
{
name: '不合格',
name: '已审核',
type: 5,
count: 0,
},
{
name: '合格',
type: 5,
count: 0,
},
{
name: '申诉中',
type: 5,
count: 0,
},
{
name: '已取消',
name: '驳回',
type: 5,
count: 0,
}
@ -103,15 +93,15 @@ export class OrderManagementCarManageComponent implements OnInit {
properties: {
no: {
type: 'string',
title: '运单号',
title: '公司名称',
},
no2: {
type: 'string',
title: '托运公司'
title: '姓名'
},
no3: {
type: 'string',
title: '车牌号'
title: '手机号'
},
},
};
@ -138,64 +128,64 @@ export class OrderManagementCarManageComponent implements OnInit {
/**
* 初始化数据列表
*/
initST() {
initST() {
this.columns = [
{
title: '运单号',
title: '公司名称',
width: '100px',
className: 'text-center',
render: 'goodsId'
},
{
title: '检测状态',
title: '姓名',
width: '100px',
className: 'text-center',
},
{ title: '异常原因', index: 'externalSn', width: '120px', className: 'text-center' },
{ title: '驳回原因', index: 'linkUrl', width: '120px', className: 'text-center' },
{ title: '身份证号', index: 'externalSn', width: '120px', className: 'text-center' },
{ title: '手机号', index: 'linkUrl', width: '120px', className: 'text-center' },
{
title: '托运公司',
title: '身份证',
className: 'text-center',
width: '120px',
},
{
title: '发货省/市/区',
title: '驾驶证',
className: 'text-center',
width: '120px',
},
{
title: '收货省/市/区',
title: '从业资格证',
className: 'text-center',
width: '120px',
},
{
title: '运单费用',
title: '平台认证状态',
className: 'text-center',
width: '120px',
},
{
title: '司机手机号',
title: '银行卡',
className: 'text-center',
width: '120px',
},
{
title: '车牌号',
title: '审核状态',
className: 'text-center',
width: '120px',
},
{
title: '交易时间',
title: '驳回原因',
className: 'text-center',
width: '120px',
render: 'feiong'
},
{
title: '创建时间',
title: '添加时间',
className: 'text-center',
width: '120px',
},
{
title: '创建人',
title: '添加人',
className: 'text-center',
width: '120px',
},
@ -209,11 +199,14 @@ export class OrderManagementCarManageComponent implements OnInit {
text: '审核',
click: (_record) => this.viewAudit(_record),
},
{
text: '查看详情',
click: (_record) => this.viewDetail(_record),
},
],
},
];
}
/**
* 查询字段个数
*/
@ -281,12 +274,24 @@ export class OrderManagementCarManageComponent implements OnInit {
*/
handleOK() {
}
/**
*查看评价
*/
viewDetail(item: any) {
console.log(item)
this.auditstatus = true;
this.isVisibleView = true
}
viewAudit(item: any) {
console.log(item)
this.auditstatus = false;
this.isVisibleView = true
}
/**
*驳回
*/
Reject() {
this.isVisibleRE = true;
}
Reject() {
}
}