update
This commit is contained in:
parent
bd9e1e90ab
commit
03e4a9d3e3
@ -44,6 +44,14 @@
|
||||
/>
|
||||
<span v-else>-</span>
|
||||
</template>
|
||||
<template v-if="column.key === 'delivery_price'">
|
||||
<div class="delivery-price-info">
|
||||
<div>基础费:<span style="color: #1890ff; font-weight: bold;">{{ record.base_price }}</span> 元/单</div>
|
||||
<div>
|
||||
超 <span style="color: #1890ff; font-weight: bold;">{{ record.extra_package_threshold }}</span> 件,加收 <span style="color: #1890ff; font-weight: bold;">{{ record.extra_package_price }}</span> 元/件
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
<template v-if="column.key === 'action'">
|
||||
<a-space>
|
||||
<a @click="handleEdit(record)">编辑</a>
|
||||
@ -289,7 +297,12 @@ export default defineComponent({
|
||||
title: '小区名称',
|
||||
dataIndex: 'name',
|
||||
key: 'name',
|
||||
width: 150,
|
||||
width: 200,
|
||||
},
|
||||
{
|
||||
title: '配送定价',
|
||||
key: 'delivery_price',
|
||||
width: 200,
|
||||
},
|
||||
{
|
||||
title: '地址',
|
||||
@ -1066,4 +1079,19 @@ export default defineComponent({
|
||||
font-size: 12px;
|
||||
margin-top: 4px;
|
||||
}
|
||||
|
||||
.delivery-price-info {
|
||||
line-height: 1.5;
|
||||
font-size: 13px;
|
||||
|
||||
> div {
|
||||
margin-bottom: 2px;
|
||||
|
||||
&:last-child {
|
||||
margin-bottom: 0;
|
||||
color: rgba(0, 0, 0, 0.65);
|
||||
font-size: 12px;
|
||||
}
|
||||
}
|
||||
}
|
||||
</style>
|
||||
Loading…
Reference in New Issue
Block a user