超市订单

This commit is contained in:
zzyuan 2025-06-19 11:20:53 +08:00
parent 332e497188
commit a86e9823ca
1 changed files with 7 additions and 7 deletions

View File

@ -123,14 +123,14 @@
<dict-tag :options="dict.type.sm_order_type" :value="scope.row.orderType"/>
</template>
</el-table-column>
<el-table-column label="订单金额" align="center" prop="payableAmount" :show-overflow-tooltip="true" width="80">
<el-table-column label="订单金额" align="center" prop="realAmount" :show-overflow-tooltip="true" width="80">
<template slot-scope="scope">
<span>{{ (scope.row.payableAmount/100).toFixed(2) }}</span>
<span>{{ (scope.row.realAmount/100).toFixed(2) }}</span>
</template>
</el-table-column>
<el-table-column label="实付金额" align="center" prop="realAmount" :show-overflow-tooltip="true" width="80">
<template slot-scope="scope">
<span>{{ ((scope.row.payableAmount-scope.row.refundAmount)/100).toFixed(2) }}</span>
<span>{{ ((scope.row.realAmount-scope.row.refundAmount)/100).toFixed(2) }}</span>
</template>
</el-table-column>
<el-table-column label="支付方式" align="center" prop="payType" :show-overflow-tooltip="true" width="100">
@ -228,11 +228,11 @@
<el-descriptions-item>
<template slot="label"> 订单金额</template>
{{ (orderInfoData.payableAmount/100).toFixed(2) }}
{{ (orderInfoData.realAmount/100).toFixed(2) }}
</el-descriptions-item>
<el-descriptions-item>
<template slot="label"> 实付金额</template>
{{ ((orderInfoData.payableAmount-orderInfoData.refundAmount)/100).toFixed(2) }}
{{ ((orderInfoData.realAmount-orderInfoData.refundAmount)/100).toFixed(2) }}
</el-descriptions-item>
<el-descriptions-item>
<template slot="label"> 退款金额</template>
@ -351,10 +351,10 @@
<el-dialog :title="handleType+'提醒'" :visible.sync="openRemind" width="40%" append-to-body>
<div class="remind-question">请问是否对以下可{{handleType}}订单进行{{handleType}}操作</div>
<div class="remind-title">{{handleType}}订单 {{ableList.length}} </div>
<div v-for="(item,index) in ableList" :key="item.orderId">{{ (index+1) }}. 订单编号:{{item.orderId}}用户姓名:{{item.nickName}}用户编号:{{item.userId}}订单金额:{{(item.payableAmount/100).toFixed(2)}}</div>
<div v-for="(item,index) in ableList" :key="item.orderId">{{ (index+1) }}. 订单编号:{{item.orderId}}用户姓名:{{item.nickName}}用户编号:{{item.userId}}订单金额:{{(item.realAmount/100).toFixed(2)}}</div>
<div class="remind-title">不可{{handleType}}订单 {{unableList.length}} </div>
<div v-for="(item,index) in unableList" :key="item.orderId">{{ (index+1) }}. 订单编号:{{item.orderId}}用户姓名:{{item.nickName}}:{{item.userId}}订单金额:{{(item.payableAmount/100).toFixed(2)}}</div>
<div v-for="(item,index) in unableList" :key="item.orderId">{{ (index+1) }}. 订单编号:{{item.orderId}}用户姓名:{{item.nickName}}:{{item.userId}}订单金额:{{(item.realAmount/100).toFixed(2)}}</div>
<div slot="footer" class="dialog-footer">
<el-button type="primary" @click="confirmRemind" :disabled="ableList.length==0"> </el-button>