订单
This commit is contained in:
@ -43,23 +43,33 @@ export class OrderManagementAdditionalcComponent implements OnInit {
|
||||
id: 2
|
||||
},
|
||||
];
|
||||
tabs = [ {
|
||||
tabs = [ {
|
||||
name: '全部',
|
||||
type: 5,
|
||||
count: 0,
|
||||
},
|
||||
{
|
||||
name: '待审核',
|
||||
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,
|
||||
}
|
||||
@ -107,11 +117,11 @@ export class OrderManagementAdditionalcComponent implements OnInit {
|
||||
this.schemaView = {
|
||||
properties: {
|
||||
roleDescription: {
|
||||
title: '驳回原因',
|
||||
title: '备注',
|
||||
type: 'string',
|
||||
maxLength: 50,
|
||||
ui: {
|
||||
placeholder: '请输入驳回原因,最多不超过50字',
|
||||
placeholder: '请输入备注,最多不超过50字',
|
||||
widget: 'textarea',
|
||||
autosize: { minRows: 2, maxRows: 6 }
|
||||
},
|
||||
@ -124,59 +134,64 @@ export class OrderManagementAdditionalcComponent 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: '车长(m)', 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: '创建人',
|
||||
className: 'text-center',
|
||||
width: '120px',
|
||||
},
|
||||
@ -190,15 +205,10 @@ export class OrderManagementAdditionalcComponent implements OnInit {
|
||||
text: '审核',
|
||||
click: (_record) => this.viewAudit(_record),
|
||||
},
|
||||
{
|
||||
text: '查看详情',
|
||||
click: (_record) => this.viewDetail(_record),
|
||||
},
|
||||
],
|
||||
},
|
||||
];
|
||||
}
|
||||
|
||||
/**
|
||||
* 查询字段个数
|
||||
*/
|
||||
@ -255,11 +265,7 @@ export class OrderManagementAdditionalcComponent implements OnInit {
|
||||
* 审核关闭弹窗
|
||||
*/
|
||||
handleCancel(item: string) {
|
||||
if(item === '0') {
|
||||
this.isVisibleView = false
|
||||
} else{
|
||||
this.isVisibleRE = false
|
||||
}
|
||||
}
|
||||
/**
|
||||
* 审核通过按钮
|
||||
@ -267,23 +273,8 @@ export class OrderManagementAdditionalcComponent 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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user