✨ 异常处置补上司机上报时间
详情/跟进弹窗与编辑弹窗的「异常信息」里都加上上报时间,列表也加一列。 列表原本只有上报时间的筛选条件、没有这一列,筛的是看不到的值。 编辑弹窗里上报人与上报时间同属上报行为,一并放进「异常信息」, 从「运单信息」移出,避免同一个事实显示两遍。
This commit is contained in:
@@ -78,6 +78,7 @@ export const tableColumns = [
|
||||
{ label: '项目', prop: 'projectName', minWidth: 160 },
|
||||
{ label: '车辆', prop: 'vehicleNo', minWidth: 150, link: true },
|
||||
{ label: '上报人', prop: 'reporterName', minWidth: 120 },
|
||||
{ label: '上报时间', prop: 'reportTime', minWidth: 170 },
|
||||
{ label: '异常类型', prop: 'exceptionTypeName', minWidth: 160 },
|
||||
{ label: '上报说明', prop: 'reportDescription', minWidth: 180 },
|
||||
{ label: '承运商', prop: 'carrierName', minWidth: 160 },
|
||||
@@ -91,6 +92,7 @@ export const detailFields = [
|
||||
{ label: '项目', prop: 'projectName', link: true },
|
||||
{ label: '车牌号', prop: 'vehicleNo', link: true },
|
||||
{ label: '上报人', prop: 'reporterName' },
|
||||
{ label: '上报时间', prop: 'reportTime' },
|
||||
{ label: '承运商', prop: 'carrierName' },
|
||||
{ label: '异常类型', prop: 'exceptionTypeName' },
|
||||
{ label: '异常原因', prop: 'exceptionReason' },
|
||||
@@ -111,12 +113,12 @@ export const editFormFields = [
|
||||
{ label: '上报说明', prop: 'reportDescription', type: 'textarea', required: true, span: 2 },
|
||||
];
|
||||
|
||||
// 编辑弹窗顶部的运单信息,只读展示,帮助运管员确认改的是哪一单
|
||||
// 编辑弹窗顶部的运单信息,只读展示,帮助运管员确认改的是哪一单。
|
||||
// 上报人与上报时间属上报行为,放在「异常信息」里,不在此处重复。
|
||||
export const editWaybillFields = [
|
||||
{ label: '运单号', prop: 'waybillNo' },
|
||||
{ label: '配载单号/总单号', prop: 'loadingOrMasterNo' },
|
||||
{ label: '车牌号', prop: 'vehicleNo' },
|
||||
{ label: '项目', prop: 'projectName' },
|
||||
{ label: '承运商', prop: 'carrierName' },
|
||||
{ label: '上报人', prop: 'reporterName' },
|
||||
];
|
||||
|
||||
@@ -201,6 +201,20 @@
|
||||
|
||||
<section-card title="异常信息">
|
||||
<el-row :gutter="18">
|
||||
<el-col :span="12">
|
||||
<el-form-item label="上报人">
|
||||
<span class="exception-disposal-page__readonly">{{
|
||||
detailValue('reporterName')
|
||||
}}</span>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="12">
|
||||
<el-form-item label="上报时间">
|
||||
<span class="exception-disposal-page__readonly">{{
|
||||
detailValue('reportTime')
|
||||
}}</span>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="12">
|
||||
<el-form-item label="异常类型" prop="exceptionType">
|
||||
<el-select
|
||||
@@ -807,6 +821,11 @@ export default {
|
||||
margin-bottom: 2px;
|
||||
}
|
||||
|
||||
.exception-disposal-page__readonly {
|
||||
color: #606266;
|
||||
word-break: break-all;
|
||||
}
|
||||
|
||||
.exception-disposal-page__detail-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(2, minmax(0, 1fr));
|
||||
|
||||
Reference in New Issue
Block a user