1、新增应付明细

2、新增应收明细
3、新增异常处置
4、新增风险处置
5、新增在途追踪
6、修复业务模块bug
This commit is contained in:
2026-08-13 00:01:23 +08:00
parent 748dd80d4a
commit 6554ad80dd
33 changed files with 7868 additions and 1657 deletions
+91
View File
@@ -0,0 +1,91 @@
export const exceptionCategoryOptions = [
{
label: '交通异常',
value: 'traffic',
children: [
{ label: '道路拥堵', value: '道路拥堵' },
{ label: '交通事故', value: '交通事故' },
{ label: '道路封闭', value: '道路封闭' },
{ label: '天气影响', value: '天气影响' },
{ label: '其他', value: '交通异常-其他' },
],
},
{
label: '车辆异常',
value: 'vehicle',
children: [
{ label: '车辆故障维修', value: '车辆故障维修' },
{ label: '车辆事故', value: '车辆事故' },
{ label: '爆胎', value: '爆胎' },
{ label: '设备异常', value: '设备异常' },
{ label: '缺油缺电', value: '缺油缺电' },
{ label: '其他', value: '车辆异常-其他' },
],
},
{
label: '货物异常',
value: 'cargo',
children: [
{ label: '货损', value: '货损' },
{ label: '货差', value: '货差' },
{ label: '货物丢失', value: '货物丢失' },
{ label: '包装异常', value: '包装异常' },
{ label: '其他', value: '货物异常-其他' },
],
},
{
label: '其他异常',
value: 'other',
children: [
{ label: '变更路线地址', value: '变更路线地址' },
{ label: '其他', value: '其他异常-其他' },
],
},
];
export const disposalStatusOptions = [
{ label: '待处理', value: 'pending' },
{ label: '处理中', value: 'processing' },
{ label: '已完成', value: 'completed' },
];
export const searchFields = [
{ label: '运单号', prop: 'waybillNo', type: 'input' },
{ label: '车辆', prop: 'vehicleNo', type: 'input' },
{ label: '上报人', prop: 'reporterName', type: 'input' },
{ label: '上报时间', prop: 'reportTimeRange', type: 'daterange' },
{ label: '项目', prop: 'projectName', type: 'input' },
{ label: '承运商', prop: 'carrierName', type: 'input' },
{ label: '异常类型', prop: 'exceptionType', type: 'select', options: exceptionCategoryOptions },
{ label: '状态', prop: 'disposalStatus', type: 'select', options: disposalStatusOptions },
];
export const tableColumns = [
{ label: '运单号', prop: 'waybillNo', minWidth: 160, link: true },
{ label: '项目', prop: 'projectName', minWidth: 160 },
{ label: '车辆', prop: 'vehicleNo', minWidth: 150, link: true },
{ label: '上报人', prop: 'reporterName', minWidth: 120 },
{ label: '异常类型', prop: 'exceptionTypeName', minWidth: 160 },
{ label: '上报说明', prop: 'reportDescription', minWidth: 180 },
{ label: '承运商', prop: 'carrierName', minWidth: 160 },
{ label: '最新跟进说明', prop: 'latestFollowContent', minWidth: 200 },
{ label: '状态', prop: 'disposalStatusName', minWidth: 120 },
];
export const detailFields = [
{ label: '配载单号/总单号', prop: 'loadingOrMasterNo', link: true },
{ label: '运单号', prop: 'waybillNo', link: true },
{ label: '项目', prop: 'projectName', link: true },
{ label: '车牌号', prop: 'vehicleNo', link: true },
{ label: '上报人', prop: 'reporterName' },
{ label: '承运商', prop: 'carrierName' },
{ label: '异常类型', prop: 'exceptionTypeName' },
{ label: '异常原因', prop: 'exceptionReason' },
{ label: '上报说明', prop: 'reportDescription', span: 2 },
];
export const followColumns = [
{ label: '跟进说明', prop: 'followContent', minWidth: 260 },
{ label: '跟进人', prop: 'followUserName', minWidth: 130 },
{ label: '跟进时间', prop: 'followTime', minWidth: 170 },
];