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 },
];
+50
View File
@@ -0,0 +1,50 @@
export const riskLevelOptions = [
{ label: '低', value: 'low', tagType: 'success' },
{ label: '中', value: 'medium', tagType: 'warning' },
{ label: '高', value: 'high', tagType: 'danger' },
];
export const disposalStatusOptions = [
{ label: '待处理', value: 'pending', tagType: 'warning' },
{ label: '已处理', value: 'processed', tagType: 'success' },
{ label: '已忽略', value: 'ignored', tagType: 'info' },
];
export const disposalMethodOptions = [
{ label: '处理', value: 'process' },
{ label: '忽略', value: 'ignore' },
];
export const searchFields = [
{ label: '规则名称', prop: 'ruleName', type: 'input', placeholder: '请输入' },
{ label: '风险等级', prop: 'riskLevel', type: 'select', placeholder: '全部', options: riskLevelOptions },
{
label: '处理状态',
prop: 'disposalStatus',
type: 'select',
placeholder: '全部',
options: disposalStatusOptions,
},
{ label: '组织', prop: 'deptName', type: 'input', placeholder: '默认展示当前组织,可搜索' },
];
export const tableColumns = [
{ label: '风险编号', prop: 'riskNo', minWidth: 210 },
{ label: '规则名称', prop: 'ruleName', minWidth: 210 },
{ label: '运单号', prop: 'waybillNo', minWidth: 220, link: true },
{ label: '项目名称', prop: 'projectName', minWidth: 160 },
{ label: '风险等级', prop: 'riskLevelName', minWidth: 130, tag: true },
{ label: '运输类型', prop: 'transportType', minWidth: 130 },
{ label: '风险描述', prop: 'riskDescription', minWidth: 310 },
{ label: '处理状态', prop: 'disposalStatusName', minWidth: 130, tag: true },
];
export const detailFields = [
{ label: '风险编号', prop: 'riskNo' },
{ label: '规则名称', prop: 'ruleName' },
{ label: '风险等级', prop: 'riskLevelName', tag: true },
{ label: '运单号', prop: 'waybillNo', link: true },
{ label: '项目名称', prop: 'projectName' },
{ label: '触发时间', prop: 'triggerTime' },
{ label: '风险描述', prop: 'riskDescription', span: 3 },
];
+10
View File
@@ -0,0 +1,10 @@
export const queryTypeOptions = [
{ label: '轨迹查询', value: 'track' },
{ label: '船舶查询', value: 'ship' },
];
export const mapInfoFields = [
{ label: '站点名称', prop: 'siteName' },
{ label: '地址', prop: 'address' },
{ label: '经纬度', prop: 'coordinates' },
];