feat:优化

This commit is contained in:
一休哥哥6666
2026-06-27 23:49:24 +08:00
parent 98aa066ae4
commit 9be6fd6ec9

View File

@@ -22,32 +22,32 @@
</el-form-item> </el-form-item>
</el-form> </el-form>
<el-table v-loading="loading" :data="orderList"> <el-table v-loading="loading" :data="orderList" class="factory-order-table">
<el-table-column label="订单编号" align="center" prop="orderNo" min-width="180" show-overflow-tooltip /> <el-table-column label="订单编号" align="center" prop="orderNo" min-width="200" show-overflow-tooltip />
<el-table-column label="通用镜片" align="center" min-width="120"> <el-table-column label="通用镜片" align="center" min-width="200" show-overflow-tooltip>
<template slot-scope="scope"> <template slot-scope="scope">
<span>{{ formatLens(scope.row) }}</span> <span>{{ formatLens(scope.row) }}</span>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="总价" align="center" width="90"> <el-table-column label="总价" align="center" width="100">
<template slot-scope="scope"> <template slot-scope="scope">
<span>{{ formatPriceAmount(formatDetailPriceTotal(scope.row, 'priceC')) }}</span> <span>{{ formatPriceAmount(formatDetailPriceTotal(scope.row, 'priceC')) }}</span>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="订单状态" align="center" prop="orderStatus" width="100"> <el-table-column label="订单状态" align="center" prop="orderStatus" width="112">
<template slot-scope="scope"> <template slot-scope="scope">
<dict-tag :options="dict.type.jy_order_status" :value="scope.row.orderStatus"/> <dict-tag :options="dict.type.jy_order_status" :value="scope.row.orderStatus"/>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="结算" align="center" prop="purchaseSettleStatus" width="80"> <el-table-column label="结算" align="center" prop="purchaseSettleStatus" width="88">
<template slot-scope="scope"> <template slot-scope="scope">
<dict-tag :options="dict.type.jy_purchase_settle_status" :value="scope.row.purchaseSettleStatus"/> <dict-tag :options="dict.type.jy_purchase_settle_status" :value="scope.row.purchaseSettleStatus"/>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="收货人" align="center" prop="receiverName" width="80" /> <el-table-column label="收货人" align="center" prop="receiverName" width="100" show-overflow-tooltip />
<el-table-column label="手机号" align="center" prop="receiverPhone" width="110" /> <el-table-column label="手机号" align="center" prop="receiverPhone" width="126" />
<el-table-column label="创建时间" align="center" prop="createTime" width="150" /> <el-table-column label="创建时间" align="center" prop="createTime" width="168" />
<el-table-column label="操作" align="center" min-width="280"> <el-table-column label="操作" align="center" min-width="300" fixed="right">
<template slot-scope="scope"> <template slot-scope="scope">
<el-button size="mini" type="text" @click="handleDetail(scope.row)">详情</el-button> <el-button size="mini" type="text" @click="handleDetail(scope.row)">详情</el-button>
<el-button <el-button
@@ -1080,6 +1080,10 @@ export default {
box-sizing: border-box; box-sizing: border-box;
} }
.factory-order-table {
width: 100%;
}
.logistics-basic { .logistics-basic {
margin-bottom: 16px; margin-bottom: 16px;
color: #606266; color: #606266;