Commit 63d55fe6 by qinjianhui

fix: 样式修改

parent b50250e2
...@@ -798,10 +798,7 @@ ...@@ -798,10 +798,7 @@
</template> </template>
<template #operate="{ row }"> <template #operate="{ row }">
<div class="operate-box"> <div class="operate-box">
<span <span class="operate-item">
class="operate-item"
style="display: flex; flex-direction: column"
>
<ElButton <ElButton
link link
type="primary" type="primary"
...@@ -809,30 +806,34 @@ ...@@ -809,30 +806,34 @@
> >
操作日志 操作日志
</ElButton> </ElButton>
<ElButton </span>
<span
v-if="!row.expressSheet && row.status === 'TO_BE_CONFIRMED'" v-if="!row.expressSheet && row.status === 'TO_BE_CONFIRMED'"
link class="operate-item"
type="primary"
@click="confirm(row)"
> >
<ElButton link type="primary" @click="confirm(row)">
确认 确认
</ElButton> </ElButton>
<ElButton </span>
<span
v-if=" v-if="
row.shipmentType === 1 && row.shipmentType === 1 &&
['CREATE_LOGISTICS', 'WAIT_SHIPMENT'].includes(status) ['CREATE_LOGISTICS', 'WAIT_SHIPMENT'].includes(status)
" "
link class="operate-item"
type="primary"
@click="handleUpdateAddress(row)"
> >
<ElButton link type="primary" @click="handleUpdateAddress(row)">
修改地址 修改地址
</ElButton> </ElButton>
<ElButton </span>
<span
v-if=" v-if="
row.shipmentType === 0 && row.shipmentType === 0 &&
['CREATE_LOGISTICS', 'WAIT_SHIPMENT'].includes(status) ['CREATE_LOGISTICS', 'WAIT_SHIPMENT'].includes(status)
" "
class="operate-item"
>
<ElButton
link link
type="primary" type="primary"
@click="handleRefreshAddress(row)" @click="handleRefreshAddress(row)"
...@@ -2959,11 +2960,10 @@ const handleExceptionCommand = (command: number) => { ...@@ -2959,11 +2960,10 @@ const handleExceptionCommand = (command: number) => {
} }
} }
.operate-item { .operate-box {
.el-button { display: flex;
margin-left: 0 !important; flex-direction: column;
margin-top: 20px !important; gap: 10px;
}
} }
</style> </style>
<style> <style>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment