This commit is contained in:
wangshiming
2021-12-07 13:24:09 +08:00
parent 74f7526984
commit 0ab4631163
4 changed files with 41 additions and 38 deletions

View File

@ -49,17 +49,27 @@ export class OrderManagementCarManageComponent implements OnInit {
count: 0, count: 0,
}, },
{ {
name: '待审核', name: '检测中',
type: 5, type: 5,
count: 0, count: 0,
}, },
{ {
name: '已审核', name: '不合格',
type: 5, type: 5,
count: 0, count: 0,
}, },
{ {
name: '驳回', name: '合格',
type: 5,
count: 0,
},
{
name: '申诉中',
type: 5,
count: 0,
},
{
name: '已取消',
type: 5, type: 5,
count: 0, count: 0,
} }
@ -93,9 +103,13 @@ export class OrderManagementCarManageComponent implements OnInit {
properties: { properties: {
no: { no: {
type: 'string', type: 'string',
title: '公司名称', title: '运单号',
}, },
no2: { no2: {
type: 'string',
title: '托运公司'
},
no3: {
type: 'string', type: 'string',
title: '车牌号' title: '车牌号'
}, },
@ -127,56 +141,61 @@ export class OrderManagementCarManageComponent implements OnInit {
initST() { initST() {
this.columns = [ this.columns = [
{ {
title: '公司名称', title: '运单号',
width: '100px', width: '100px',
className: 'text-center', className: 'text-center',
render: 'goodsId' render: 'goodsId'
}, },
{ {
title: '车牌号', title: '检测状态',
width: '100px', width: '100px',
className: 'text-center', className: 'text-center',
}, },
{ title: '车型', index: 'externalSn', width: '120px', className: 'text-center' }, { title: '异常原因', index: 'externalSn', width: '120px', className: 'text-center' },
{ title: '车长(m)', index: 'linkUrl', width: '120px', className: 'text-center' }, { title: '驳回原因', index: 'linkUrl', width: '120px', className: 'text-center' },
{ {
title: '载重(吨)', title: '托运公司',
className: 'text-center', className: 'text-center',
width: '120px', width: '120px',
}, },
{ {
title: '行驶证', title: '发货省/市/区',
className: 'text-center', className: 'text-center',
width: '120px', width: '120px',
}, },
{ {
title: '道运证', title: '收货省/市/区',
className: 'text-center', className: 'text-center',
width: '120px', width: '120px',
}, },
{ {
title: '审核状态', title: '运单费用',
className: 'text-center', className: 'text-center',
width: '120px', width: '120px',
}, },
{ {
title: '驳回原因', title: '司机手机号',
className: 'text-center', className: 'text-center',
width: '120px', width: '120px',
}, },
{ {
title: '添加时间', title: '车牌号',
className: 'text-center', className: 'text-center',
width: '120px', width: '120px',
}, },
{ {
title: '驳回原因', title: '交易时间',
className: 'text-center', className: 'text-center',
width: '120px', width: '120px',
render: 'feiong' render: 'feiong'
}, },
{ {
title: '添加人', title: '创建时间',
className: 'text-center',
width: '120px',
},
{
title: '创建人',
className: 'text-center', className: 'text-center',
width: '120px', width: '120px',
}, },
@ -190,10 +209,6 @@ export class OrderManagementCarManageComponent implements OnInit {
text: '审核', text: '审核',
click: (_record) => this.viewAudit(_record), click: (_record) => this.viewAudit(_record),
}, },
{
text: '查看详情',
click: (_record) => this.viewDetail(_record),
},
], ],
}, },
]; ];
@ -266,24 +281,12 @@ export class OrderManagementCarManageComponent implements OnInit {
*/ */
handleOK() { handleOK() {
}
/**
*查看评价
*/
viewDetail(item: any) {
console.log(item)
this.auditstatus = true;
this.isVisibleView = true
} }
viewAudit(item: any) { viewAudit(item: any) {
console.log(item) console.log(item)
this.auditstatus = false;
this.isVisibleView = true
}
/**
*驳回
*/
Reject() {
this.isVisibleRE = true; this.isVisibleRE = true;
} }
Reject() {
}
} }

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.4 KiB

After

Width:  |  Height:  |  Size: 44 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 15 KiB

After

Width:  |  Height:  |  Size: 4.2 KiB

View File

@ -1,8 +1,8 @@
<!-- <!--
* @Author: your name * @Author: your name
* @Date: 2021-11-29 10:04:12 * @Date: 2021-11-29 10:04:12
* @LastEditTime: 2021-12-06 15:29:11 * @LastEditTime: 2021-12-07 13:23:49
* @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\index.html * @FilePath: \tms-obc-web\src\index.html
--> -->
@ -15,7 +15,7 @@
<base href="/" /> <base href="/" />
<meta name="viewport" content="width=device-width, initial-scale=1" /> <meta name="viewport" content="width=device-width, initial-scale=1" />
<meta http-equiv="x-ua-compatible" content="ie=edge" /> <meta http-equiv="x-ua-compatible" content="ie=edge" />
<link rel="icon" type="image/x-icon" href="favicon.ico" /> <link rel="icon" type="image/x-icon" href="./favicon.ico" />
<!-- Apple Touch Icon --> <!-- Apple Touch Icon -->
<!-- <link rel="apple-touch-icon" href="custom-icon.png"> --> <!-- <link rel="apple-touch-icon" href="custom-icon.png"> -->
<style type="text/css"> <style type="text/css">