订单页样式优化

master
zccbbg 1 year ago
parent 0d68eb7a33
commit e19d2dbab1

@ -130,13 +130,6 @@
<el-tag :type="getOrderStatusTag(scope.row.status)" style="margin-right: 10px"> <el-tag :type="getOrderStatusTag(scope.row.status)" style="margin-right: 10px">
{{ getOrderStatusText(scope.row.status) }} {{ getOrderStatusText(scope.row.status) }}
</el-tag> </el-tag>
<el-button
size="mini"
type="text"
@click="handleDelivery(scope.row)"
:disabled="scope.row.status !== 1 && scope.row.status !== 2 && scope.row.status !== 3"
>编辑
</el-button>
</div> </div>
<div v-if="scope.row.deliverySn">{{ scope.row.deliverySn }} <div v-if="scope.row.deliverySn">{{ scope.row.deliverySn }}
<el-link @click="copy(scope.row.deliverySn)" :underline="false"><i <el-link @click="copy(scope.row.deliverySn)" :underline="false"><i
@ -145,9 +138,9 @@
<div v-if="scope.row.deliveryTime">{{ parseTime(scope.row.deliveryTime, '') }}</div> <div v-if="scope.row.deliveryTime">{{ parseTime(scope.row.deliveryTime, '') }}</div>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="订单编号/操作" class-name="small-padding fixed-width" width="220" fixed="right"> <el-table-column label="订单编号/操作" class-name="small-padding fixed-width" width="220" fixed="right" >
<template slot-scope="scope"> <template slot-scope="scope" >
<div> <div style="float: right">
{{ scope.row.orderSn }} {{ scope.row.orderSn }}
<!-- <el-link--> <!-- <el-link-->
<!-- size="mini"--> <!-- size="mini"-->
@ -157,27 +150,30 @@
<el-link @click="copy(scope.row.orderSn)" :underline="false"><i <el-link @click="copy(scope.row.orderSn)" :underline="false"><i
class="el-icon-document-copy el-icon--right"></i></el-link> class="el-icon-document-copy el-icon--right"></i></el-link>
</div> </div>
<el-button <div style="float: right">
size="mini" <el-button
type="text" size="mini"
@click="goDetail(scope.row)" type="text"
v-hasPermi="['oms:order:query']" @click="goDetail(scope.row)"
>详情 v-hasPermi="['oms:order:query']"
</el-button> >详情
<el-button </el-button>
size="mini" <el-button
type="text" size="mini"
@click="showLog(scope.row.id)" type="text"
v-hasPermi="['oms:order:log']" @click="showLog(scope.row.id)"
>日志 v-hasPermi="['oms:order:log']"
</el-button> >日志
<el-button </el-button>
size="mini" <el-button
type="text" size="mini"
@click="handleDelivery(scope.row)" type="text"
:disabled="scope.row.status !== 1 && scope.row.status !== 2 && scope.row.status !== 3" @click="handleDelivery(scope.row)"
>发货 :disabled="scope.row.status !== 1 && scope.row.status !== 2 && scope.row.status !== 3"
</el-button> >发货
</el-button>
</div>
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>

Loading…
Cancel
Save