影藏订单信息中总金额那个接口和列表
This commit is contained in:
parent
d704253591
commit
4a62f56c96
|
|
@ -68,7 +68,7 @@
|
||||||
<div class="t">总金额</div>
|
<div class="t">总金额</div>
|
||||||
</div>
|
</div>
|
||||||
</div> -->
|
</div> -->
|
||||||
<div class="item" v-for="item in payCountList" :key="item.payType">
|
<!-- <div class="item" v-for="item in payCountList" :key="item.payType">
|
||||||
<div class="icon_wrap" style="--bg-color:#fff">
|
<div class="icon_wrap" style="--bg-color:#fff">
|
||||||
<el-image class="img" :src="item.icon"></el-image>
|
<el-image class="img" :src="item.icon"></el-image>
|
||||||
</div>
|
</div>
|
||||||
|
|
@ -76,7 +76,7 @@
|
||||||
<div class="m">¥{{ item.payAmount || 0 }}</div>
|
<div class="m">¥{{ item.payAmount || 0 }}</div>
|
||||||
<div class="t">{{ item.payType }}</div>
|
<div class="t">{{ item.payType }}</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div> -->
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="head-container">
|
<div class="head-container">
|
||||||
|
|
@ -150,7 +150,8 @@
|
||||||
<template v-slot="scope">
|
<template v-slot="scope">
|
||||||
<div class="u-flex gap-10">
|
<div class="u-flex gap-10">
|
||||||
<el-button type="text" @click="$refs.orderDetail.show(scope.row)">详情</el-button>
|
<el-button type="text" @click="$refs.orderDetail.show(scope.row)">详情</el-button>
|
||||||
<el-button v-if="scope.row.status == 'unpaid'" type="primary" size="mini" @click="payOrder(scope.row)">结账</el-button>
|
<el-button v-if="scope.row.status == 'unpaid'" type="primary" size="mini"
|
||||||
|
@click="payOrder(scope.row)">结账</el-button>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
|
|
@ -245,7 +246,7 @@ export default {
|
||||||
this.query.orderNo = this.$route.query.orderNo
|
this.query.orderNo = this.$route.query.orderNo
|
||||||
}
|
}
|
||||||
this.resetQuery = { ...this.query };
|
this.resetQuery = { ...this.query };
|
||||||
this.tbShopPayTypeGet();
|
// this.tbShopPayTypeGet();
|
||||||
this.getTableData();
|
this.getTableData();
|
||||||
// 从商品库存-库存记录-点击订单号跳转过来
|
// 从商品库存-库存记录-点击订单号跳转过来
|
||||||
if (this.$route.query.orderNo) {
|
if (this.$route.query.orderNo) {
|
||||||
|
|
@ -324,7 +325,7 @@ export default {
|
||||||
async getTableData(switchs = false) {
|
async getTableData(switchs = false) {
|
||||||
this.tableData.loading = true;
|
this.tableData.loading = true;
|
||||||
try {
|
try {
|
||||||
this.payCount();
|
// this.payCount();
|
||||||
const productName = this.query.productName.replace(/\s+/g, '')
|
const productName = this.query.productName.replace(/\s+/g, '')
|
||||||
const res = await tbOrderInfoData({
|
const res = await tbOrderInfoData({
|
||||||
page: this.tableData.page,
|
page: this.tableData.page,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue