|
|
|
|
@@ -2114,7 +2114,8 @@
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<section-card title="基本信息">
|
|
|
|
|
<div class="business-crud-page__dispatch-summary">
|
|
|
|
|
<section-card title="基本信息" class="business-crud-page__dispatch-summary-card">
|
|
|
|
|
<div class="business-crud-page__dispatch-summary-grid">
|
|
|
|
|
<div class="business-crud-page__dispatch-summary-item">
|
|
|
|
|
<div class="business-crud-page__dispatch-summary-label">客户</div>
|
|
|
|
|
@@ -2172,39 +2173,35 @@
|
|
|
|
|
</div>
|
|
|
|
|
</section-card>
|
|
|
|
|
|
|
|
|
|
<section-card title="收发货路线">
|
|
|
|
|
<section-card title="收发货路线" class="business-crud-page__dispatch-route-card">
|
|
|
|
|
<div class="business-crud-page__dispatch-route">
|
|
|
|
|
<div class="business-crud-page__dispatch-route-main">
|
|
|
|
|
<div class="business-crud-page__dispatch-route-node">
|
|
|
|
|
<div class="business-crud-page__dispatch-route-item">
|
|
|
|
|
<span class="business-crud-page__dispatch-route-badge is-start">起</span>
|
|
|
|
|
<div class="business-crud-page__dispatch-route-body">
|
|
|
|
|
<div class="business-crud-page__dispatch-route-title">
|
|
|
|
|
{{ parseDispatchRoutePoint(dispatchRow, 'start').name || '-' }}
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="business-crud-page__dispatch-route-line" />
|
|
|
|
|
<div class="business-crud-page__dispatch-route-node">
|
|
|
|
|
<span class="business-crud-page__dispatch-route-badge is-end">终</span>
|
|
|
|
|
<div class="business-crud-page__dispatch-route-title">
|
|
|
|
|
{{ parseDispatchRoutePoint(dispatchRow, 'end').name || '-' }}
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="business-crud-page__dispatch-route-detail">
|
|
|
|
|
<div class="business-crud-page__dispatch-route-detail-item">
|
|
|
|
|
<div class="business-crud-page__dispatch-route-detail-label">发货地址</div>
|
|
|
|
|
<div class="business-crud-page__dispatch-route-detail-value">
|
|
|
|
|
<div class="business-crud-page__dispatch-route-address">
|
|
|
|
|
{{ parseDispatchRoutePoint(dispatchRow, 'start').address || '-' }}
|
|
|
|
|
</div>
|
|
|
|
|
<div class="business-crud-page__dispatch-route-detail-contact">
|
|
|
|
|
<div class="business-crud-page__dispatch-route-contact">
|
|
|
|
|
{{ parseDispatchRoutePoint(dispatchRow, 'start').contact || '-' }}
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="business-crud-page__dispatch-route-detail-item">
|
|
|
|
|
<div class="business-crud-page__dispatch-route-detail-label">收货地址</div>
|
|
|
|
|
<div class="business-crud-page__dispatch-route-detail-value">
|
|
|
|
|
</div>
|
|
|
|
|
<div class="business-crud-page__dispatch-route-vehicle">
|
|
|
|
|
<el-icon><Van /></el-icon>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="business-crud-page__dispatch-route-item">
|
|
|
|
|
<span class="business-crud-page__dispatch-route-badge is-end">终</span>
|
|
|
|
|
<div class="business-crud-page__dispatch-route-body">
|
|
|
|
|
<div class="business-crud-page__dispatch-route-title">
|
|
|
|
|
{{ parseDispatchRoutePoint(dispatchRow, 'end').name || '-' }}
|
|
|
|
|
</div>
|
|
|
|
|
<div class="business-crud-page__dispatch-route-address">
|
|
|
|
|
{{ parseDispatchRoutePoint(dispatchRow, 'end').address || '-' }}
|
|
|
|
|
</div>
|
|
|
|
|
<div class="business-crud-page__dispatch-route-detail-contact">
|
|
|
|
|
<div class="business-crud-page__dispatch-route-contact">
|
|
|
|
|
{{ parseDispatchRoutePoint(dispatchRow, 'end').contact || '-' }}
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
@@ -2212,6 +2209,7 @@
|
|
|
|
|
</div>
|
|
|
|
|
</section-card>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<section-card title="待调度列表">
|
|
|
|
|
<template #extra>
|
|
|
|
|
@@ -9359,13 +9357,27 @@ export default {
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
&__dispatch-summary {
|
|
|
|
|
display: grid;
|
|
|
|
|
grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
|
|
|
|
|
gap: 16px;
|
|
|
|
|
align-items: stretch;
|
|
|
|
|
margin-bottom: 12px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
&__dispatch-summary-card,
|
|
|
|
|
&__dispatch-route-card {
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
|
|
|
|
|
:deep(.section-card__body) {
|
|
|
|
|
flex: 1;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
&__dispatch-summary-grid {
|
|
|
|
|
display: grid;
|
|
|
|
|
grid-template-columns: repeat(4, minmax(0, 1fr));
|
|
|
|
|
gap: 12px 24px;
|
|
|
|
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
|
|
|
gap: 12px 16px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
&__dispatch-summary-item {
|
|
|
|
|
@@ -9386,7 +9398,7 @@ export default {
|
|
|
|
|
&__dispatch-summary-value {
|
|
|
|
|
min-height: 20px;
|
|
|
|
|
font-size: 14px;
|
|
|
|
|
line-height: 1.4;
|
|
|
|
|
line-height: 1.45;
|
|
|
|
|
color: #303133;
|
|
|
|
|
word-break: break-word;
|
|
|
|
|
}
|
|
|
|
|
@@ -9403,23 +9415,24 @@ export default {
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
&__dispatch-route {
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
gap: 16px;
|
|
|
|
|
position: relative;
|
|
|
|
|
display: grid;
|
|
|
|
|
grid-template-columns: minmax(0, 1fr) 56px minmax(0, 1fr);
|
|
|
|
|
gap: 40px;
|
|
|
|
|
align-items: center;
|
|
|
|
|
//height: 100%;
|
|
|
|
|
margin: 20px 0;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
&__dispatch-route-main {
|
|
|
|
|
&__dispatch-route-item {
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
justify-content: center;
|
|
|
|
|
gap: 16px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
&__dispatch-route-node {
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
gap: 10px;
|
|
|
|
|
min-width: 0;
|
|
|
|
|
gap: 12px;
|
|
|
|
|
max-width: 90%;
|
|
|
|
|
padding: 16px;
|
|
|
|
|
min-height: 80px;
|
|
|
|
|
border: 1px dashed #e3e4ec;
|
|
|
|
|
border-radius: 12px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
&__dispatch-route-badge {
|
|
|
|
|
@@ -9427,12 +9440,13 @@ export default {
|
|
|
|
|
flex: 0 0 auto;
|
|
|
|
|
align-items: center;
|
|
|
|
|
justify-content: center;
|
|
|
|
|
width: 32px;
|
|
|
|
|
height: 32px;
|
|
|
|
|
border-radius: 4px;
|
|
|
|
|
width: 40px;
|
|
|
|
|
height: 40px;
|
|
|
|
|
border-radius: 50%;
|
|
|
|
|
color: #fff;
|
|
|
|
|
font-size: 13px;
|
|
|
|
|
font-size: 16px;
|
|
|
|
|
font-weight: 600;
|
|
|
|
|
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
|
|
|
|
|
|
|
|
|
|
&.is-start {
|
|
|
|
|
background: #2a92ff;
|
|
|
|
|
@@ -9443,9 +9457,14 @@ export default {
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
&__dispatch-route-body {
|
|
|
|
|
min-width: 0;
|
|
|
|
|
text-align: left;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
&__dispatch-route-title {
|
|
|
|
|
font-size: 16px;
|
|
|
|
|
line-height: 1.3;
|
|
|
|
|
font-size: 18px;
|
|
|
|
|
line-height: 1.35;
|
|
|
|
|
color: #303133;
|
|
|
|
|
font-weight: 600;
|
|
|
|
|
white-space: nowrap;
|
|
|
|
|
@@ -9453,56 +9472,54 @@ export default {
|
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
&__dispatch-route-line {
|
|
|
|
|
position: relative;
|
|
|
|
|
flex: 0 0 80px;
|
|
|
|
|
height: 2px;
|
|
|
|
|
max-width: 120px;
|
|
|
|
|
background-image: linear-gradient(
|
|
|
|
|
to right,
|
|
|
|
|
var(--el-color-primary) 0,
|
|
|
|
|
var(--el-color-primary) 6px,
|
|
|
|
|
transparent 6px,
|
|
|
|
|
transparent 10px
|
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
&::after {
|
|
|
|
|
content: '';
|
|
|
|
|
position: absolute;
|
|
|
|
|
right: -1px;
|
|
|
|
|
top: -4px;
|
|
|
|
|
border: 5px solid transparent;
|
|
|
|
|
border-left-color: var(--el-color-primary);
|
|
|
|
|
}
|
|
|
|
|
&__dispatch-route-address {
|
|
|
|
|
margin-top: 4px;
|
|
|
|
|
font-size: 13px;
|
|
|
|
|
line-height: 1.5;
|
|
|
|
|
color: #606266;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
&__dispatch-route-detail {
|
|
|
|
|
display: grid;
|
|
|
|
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
|
|
|
gap: 12px 24px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
&__dispatch-route-detail-item {
|
|
|
|
|
min-width: 0;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
&__dispatch-route-detail-label {
|
|
|
|
|
margin-bottom: 4px;
|
|
|
|
|
font-size: 12px;
|
|
|
|
|
&__dispatch-route-contact {
|
|
|
|
|
margin-top: 2px;
|
|
|
|
|
font-size: 13px;
|
|
|
|
|
color: #909399;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
&__dispatch-route-detail-value {
|
|
|
|
|
font-size: 14px;
|
|
|
|
|
line-height: 1.4;
|
|
|
|
|
color: #303133;
|
|
|
|
|
word-break: break-word;
|
|
|
|
|
&__dispatch-route-vehicle {
|
|
|
|
|
position: relative;
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
justify-content: center;
|
|
|
|
|
width: 44px;
|
|
|
|
|
height: 44px;
|
|
|
|
|
margin: 0 auto;
|
|
|
|
|
border-radius: 50%;
|
|
|
|
|
background: #fff;
|
|
|
|
|
border: 2px solid var(--el-color-primary);
|
|
|
|
|
color: var(--el-color-primary);
|
|
|
|
|
font-size: 22px;
|
|
|
|
|
box-shadow: 0 2px 8px rgba(64, 158, 255, 0.18);
|
|
|
|
|
|
|
|
|
|
&::before,
|
|
|
|
|
&::after {
|
|
|
|
|
content: '';
|
|
|
|
|
position: absolute;
|
|
|
|
|
top: 50%;
|
|
|
|
|
width: 20px;
|
|
|
|
|
height: 0;
|
|
|
|
|
border-top: 2px dashed var(--el-color-primary-light-5);
|
|
|
|
|
transform: translateY(-50%);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
&__dispatch-route-detail-contact {
|
|
|
|
|
margin-top: 4px;
|
|
|
|
|
font-size: 13px;
|
|
|
|
|
color: #606266;
|
|
|
|
|
&::before {
|
|
|
|
|
right: 100%;
|
|
|
|
|
margin-right: 6px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
&::after {
|
|
|
|
|
left: 100%;
|
|
|
|
|
margin-left: 6px;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
&__dispatch-list-head {
|
|
|
|
|
@@ -9554,7 +9571,7 @@ export default {
|
|
|
|
|
&__dispatch-footer {
|
|
|
|
|
display: flex;
|
|
|
|
|
justify-content: flex-end;
|
|
|
|
|
gap: 12px;
|
|
|
|
|
gap: 10px;
|
|
|
|
|
padding-right: 0;
|
|
|
|
|
padding-top: 16px;
|
|
|
|
|
margin-top: 16px;
|
|
|
|
|
@@ -9879,4 +9896,7 @@ export default {
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
.section-card{
|
|
|
|
|
margin-bottom: 0 !important;
|
|
|
|
|
}
|
|
|
|
|
</style>
|
|
|
|
|
|