-
+
{{ currentShop.shopName }}
@@ -196,11 +260,7 @@ onMounted(async () => {
@@ -303,7 +363,7 @@ onMounted(async () => {
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 图片加载失败
+
+
+
+
{{ item.goodsName }}
+
¥{{ item.goodsPrice }}
+
+ {{ item.orderName }}
+ {{ item.orderMobile }}
+
+
+ {{ item.cabinetName }}
+ 格口{{ item.cellNo }}
+
+
+
+
+
+
+
+
+
+ 审批人:
+ {{ item.auditName }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -557,13 +725,13 @@ onMounted(async () => {
.shop-details {
padding-top: 16px;
-
+
.shop-name-container {
display: flex;
align-items: center;
gap: 12px;
margin-bottom: 8px;
-
+
.shop-name {
font-size: 20px;
font-weight: bold;
@@ -571,19 +739,19 @@ onMounted(async () => {
margin: 0;
white-space: nowrap;
}
-
+
.shop-selector {
min-width: 200px;
-
+
:deep(.el-input__wrapper) {
border-radius: 4px;
border: 1px solid var(--el-border-color);
box-shadow: none;
-
+
&:hover {
border-color: var(--el-color-primary);
}
-
+
&.is-focus {
border-color: var(--el-color-primary);
box-shadow: 0 0 0 1px var(--el-color-primary);
@@ -622,5 +790,223 @@ onMounted(async () => {
}
}
}
+
+ // 借还动态样式
+ .dynamic-container {
+ margin-bottom: 0;
+ height: 88vh;
+ overflow-y: auto;
+
+ .dynamic-content {
+ .dynamic-timeline {
+ padding: 0;
+
+ :deep(.el-timeline-item) {
+ .el-timeline-item__timestamp {
+ font-size: 12px;
+ color: var(--el-text-color-secondary);
+ margin-bottom: 8px;
+ }
+
+ .el-timeline-item__node {
+ width: 12px;
+ height: 12px;
+ }
+ }
+ }
+
+ .dynamic-card {
+ margin-bottom: 12px;
+ border: 1px solid var(--el-border-color);
+
+ .dynamic-card-content {
+ .dynamic-header {
+ display: flex;
+ align-items: center;
+ margin-bottom: 8px;
+ padding-bottom: 8px;
+ border-bottom: 1px solid var(--el-border-color-light);
+
+ .dynamic-icon {
+ font-size: 16px;
+ margin-right: 8px;
+ }
+
+ .dynamic-type {
+ font-size: 14px;
+ font-weight: bold;
+ margin-right: 8px;
+ }
+
+ .status-tag {
+ margin-left: auto;
+ color: white;
+ border: none;
+ }
+ }
+
+ .dynamic-info {
+ .goods-info {
+ display: flex;
+ align-items: flex-start;
+ margin-bottom: 8px;
+
+ .goods-image {
+ width: 120px;
+ height: 90px;
+ border-radius: 4px;
+ margin-right: 12px;
+ flex-shrink: 0;
+ cursor: pointer;
+ border: 1px solid var(--el-border-color-light);
+ }
+
+ .goods-details {
+ flex: 1;
+ display: flex;
+ flex-direction: column;
+ justify-content: space-between;
+ min-height: 60px;
+
+ .goods-name {
+ font-size: 14px;
+ font-weight: bold;
+ color: var(--el-text-color-primary);
+ margin-bottom: 4px;
+ line-height: 1.4;
+ display: -webkit-box;
+ -webkit-line-clamp: 2;
+ -webkit-box-orient: vertical;
+ overflow: hidden;
+ }
+
+ .goods-price {
+ font-size: 14px;
+ color: var(--el-color-primary);
+ font-weight: bold;
+ align-self: flex-start;
+ margin-bottom: 6px;
+ }
+
+ .user-info {
+ display: flex;
+ justify-content: space-between;
+ margin-bottom: 4px;
+
+ .user-name,
+ .user-mobile {
+ font-size: 12px;
+ color: var(--el-text-color-secondary);
+ }
+ }
+
+ .location-info {
+ display: flex;
+ justify-content: space-between;
+
+ .cabinet-name,
+ .cell-no {
+ font-size: 12px;
+ color: var(--el-text-color-secondary);
+ }
+ }
+ }
+ }
+
+ .user-info,
+ .location-info {
+ display: none;
+ }
+
+ .approval-info {
+ background-color: var(--el-fill-color-light);
+ border-radius: 4px;
+ padding: 12px;
+ margin-top: 8px;
+
+ .images-row {
+ display: flex;
+ gap: 20px;
+ margin-bottom: 12px;
+ flex-wrap: wrap;
+ }
+
+ .images-section {
+ flex: 1;
+ min-width: 0;
+
+ .images-label {
+ font-size: 12px;
+ font-weight: bold;
+ color: var(--el-text-color-secondary);
+ margin-bottom: 6px;
+ }
+
+ .images-list {
+ display: flex;
+ flex-wrap: wrap;
+ gap: 6px;
+
+ .return-image,
+ .audit-image {
+ width: 110px;
+ height: 70px;
+ border-radius: 4px;
+ cursor: pointer;
+ border: 1px solid var(--el-border-color-light);
+ flex-shrink: 0;
+ }
+ }
+ }
+
+ .audit-info,
+ .remark-info {
+ font-size: 12px;
+ color: var(--el-text-color-secondary);
+
+ .audit-label,
+ .remark-label {
+ font-weight: bold;
+ }
+
+ .audit-name,
+ .audit-remark {
+ color: var(--el-text-color-primary);
+ }
+ }
+
+ .remark-info {
+ margin-top: 4px;
+ }
+ }
+ }
+ }
+ }
+
+ .image-error {
+ width: 100%;
+ height: 100%;
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ background-color: var(--el-fill-color-light);
+ color: var(--el-text-color-secondary);
+ font-size: 12px;
+ border-radius: 4px;
+ }
+
+ .dynamic-empty {
+ text-align: center;
+ padding: 40px 0;
+
+ :deep(.el-empty) {
+ .el-empty__description {
+ font-size: 14px;
+ color: var(--el-text-color-secondary);
+ }
+ }
+ }
+ }
+ }
}
\ No newline at end of file