Commit 29d9f600 by 李宁

1

1 parent 1f176b89
...@@ -105,6 +105,10 @@ ...@@ -105,6 +105,10 @@
<label class="text-neutral-500 text-sm">备注信息</label> <label class="text-neutral-500 text-sm">备注信息</label>
<p class="mt-2 text-neutral-700">{{ orderMemo || '--' }}</p> <p class="mt-2 text-neutral-700">{{ orderMemo || '--' }}</p>
</div> </div>
<div v-if="orderAddress" class="col-span-2">
<label class="text-neutral-500 text-sm">联系地址</label>
<p class="mt-2 text-neutral-700">{{ orderAddress || '--' }}</p>
</div>
</div> </div>
</el-card> </el-card>
...@@ -478,6 +482,15 @@ const orderMemo = computed(() => { ...@@ -478,6 +482,15 @@ const orderMemo = computed(() => {
return JSON.parse(p.orderContent).memo return JSON.parse(p.orderContent).memo
}) })
const orderAddress = computed(() => {
let p = props.order
if(!p.orderContent){
return ''
}
return JSON.parse(p.orderContent).address
})
// 方法 // 方法
// 状态样式映射 - 使用浅色背景样式(与订单监控页保持一致) // 状态样式映射 - 使用浅色背景样式(与订单监控页保持一致)
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!