|
|
@@ -27,7 +27,7 @@ const mockLogisticsData = computed(() => {
|
|
|
trackingNumber: `${expressTypeText[props.data.expressType || '']} ${props.data.expressNo || ''}`,
|
|
|
recipientName: props.data.liaison ? props.data.liaison + ', ' : '',
|
|
|
recipientPhone: props.data.phone ? props.data.phone + ', ' : '',
|
|
|
- recipientAddress: (props.data.provinceName!==null ? props.data.provinceName + ' ' : '') + (props.data.cityName !== null ? props.data.cityName + ' ' : '') + (props.data.areaName !== null ? props.data.areaName + ' ' : '') + (props.data.detailAddress !== null ? props.data.detailAddress : '')
|
|
|
+ recipientAddress: (props.data.provinceName !== null ? props.data.provinceName + ' ' : '') + (props.data.cityName !== null ? props.data.cityName + ' ' : '') + (props.data.areaName !== null ? props.data.areaName + ' ' : '') + (props.data.detailAddress !== null ? props.data.detailAddress : '')
|
|
|
};
|
|
|
});
|
|
|
const expressTypeText: Record<string, string> = {
|
|
|
@@ -147,7 +147,8 @@ const sellTypeText: Record<string, string> = {
|
|
|
<div class="info-section" v-if="data.sellType === '1'">
|
|
|
<!-- receiptType 收货方式 0-快递 1-线下取货 -->
|
|
|
<h3 class="info-title">{{ data.receiptType === '0' ? '物流信息' : data.receiptType === '1' ? '线下取货' : '' }}</h3>
|
|
|
- <div class="info-content-wrapper">
|
|
|
+ <div v-if="data.receiptType !== null">
|
|
|
+ <div class="info-content-wrapper" v-if="data.receiptStatus !== null">
|
|
|
<!-- 物流信息 -->
|
|
|
<div class="logistics-content" v-if="data.receiptType === '0'">
|
|
|
<div class="logistics-tracking">
|
|
|
@@ -190,6 +191,10 @@ const sellTypeText: Record<string, string> = {
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
+ <div class="info-content-wrapper" v-else>
|
|
|
+ 暂无信息
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
</div>
|
|
|
|
|
|
<!-- 服务记录 线下服务才显示 1-实体商品 2-线下服务 3-线上权益-->
|
|
|
@@ -197,7 +202,7 @@ const sellTypeText: Record<string, string> = {
|
|
|
<h3 class="info-title">
|
|
|
服务记录
|
|
|
<span class="title-count">({{ data?.patientConditioningOfflines?.length || 0 }}/{{ data?.totalMeasure || 0
|
|
|
- }})</span>
|
|
|
+ }})</span>
|
|
|
</h3>
|
|
|
<vxe-table :data="data?.patientConditioningOfflines" border>
|
|
|
<vxe-column type="seq" title="序号" width="60" align="center" />
|
|
|
@@ -215,12 +220,12 @@ const sellTypeText: Record<string, string> = {
|
|
|
<vxe-column field="operateTime" title="核销时间" align="center" />
|
|
|
<vxe-column field="startTime" title="操作开始时间" align="center" />
|
|
|
<vxe-column field="endTime" title="操作结束时间" align="center" />
|
|
|
- <vxe-column field="operateDuration" title="治疗时长" align="center" >
|
|
|
+ <vxe-column field="operateDuration" title="治疗时长" align="center">
|
|
|
<template #default="{ row }">
|
|
|
{{ row.operateDuration ? row.operateDuration + '分钟' : '' }}
|
|
|
</template>
|
|
|
</vxe-column>
|
|
|
- <vxe-column field="arrangeDuration" title="预定服务时长" align="center" >
|
|
|
+ <vxe-column field="arrangeDuration" title="预定服务时长" align="center">
|
|
|
<template #default="{ row }">
|
|
|
{{ row.arrangeDuration ? row.arrangeDuration + '分钟' : '' }}
|
|
|
</template>
|
|
|
@@ -256,10 +261,11 @@ const sellTypeText: Record<string, string> = {
|
|
|
justify-content: center;
|
|
|
flex-shrink: 0;
|
|
|
}
|
|
|
+
|
|
|
.placeholder-icon {
|
|
|
- font-size: 40rpx;
|
|
|
- opacity: 0.3;
|
|
|
-}
|
|
|
+ font-size: 40rpx;
|
|
|
+ opacity: 0.3;
|
|
|
+ }
|
|
|
|
|
|
.info-title {
|
|
|
font-size: 16px;
|
|
|
@@ -462,6 +468,7 @@ const sellTypeText: Record<string, string> = {
|
|
|
.package-item-image {
|
|
|
flex-shrink: 0;
|
|
|
}
|
|
|
+
|
|
|
.package-item-placeholder {
|
|
|
flex-shrink: 0;
|
|
|
width: 60px;
|